Import Rulebase from CSV

Reply
L4 Transporter

Import Rulebase from CSV

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.?

L4 Transporter

Re: Import Rulebase from CSV

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;

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 Live Community as a whole!

The Live Community thanks you for your participation!