Import Rulebase from CSV

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Import Rulebase from CSV

L4 Transporter

I trying to migrate Watchguard to Palo Alto and trying to import the rule base from CSV file.

 

It seem to work well if I have only on value in each field of a policy, e.g. only single zone, single address or service.

 

Is it possible to have multiple field values, let’s say a security policy with multiple source addresses and multiple services, etc.?

1 accepted solution

Accepted Solutions

L5 Sessionator

Yes this is possible, you will need to comma separate the objects within a field mapping. Make sure there are no spaces between the commas also. 

 

See the example below.

 

One point to note is that the referenced objects (address/servcie) must already be created prior to the import.

 

 

access-rule;from;LAN;to;LAN;action;allow;source;src-address;group;SRC-Addresses;service;name;HTTPS-Management;destination;dst-address;group;X-ManagementIP,address2,address3;

View solution in original post

3 REPLIES 3

L5 Sessionator

Yes this is possible, you will need to comma separate the objects within a field mapping. Make sure there are no spaces between the commas also. 

 

See the example below.

 

One point to note is that the referenced objects (address/servcie) must already be created prior to the import.

 

 

access-rule;from;LAN;to;LAN;action;allow;source;src-address;group;SRC-Addresses;service;name;HTTPS-Management;destination;dst-address;group;X-ManagementIP,address2,address3;

I tried use comma separate the objects within a field mapping, but not working.

How to use it?

Hi @huypham95 

I saw your post also in below article next to CSV import guide.

https://live.paloaltonetworks.com/t5/expedition-articles/a-how-to-guide-on-the-import-csv-option/ta-...

Could you elaborate more your issue? Also an example of your CSV file will be helpful, could you send an email to fwmigrate@paloaltonetworks.com with an example of the CSV file you want to import.

Thanks,

David

  • 1 accepted solution
  • 4579 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!