is it possible to export firewall rule only??

Showing results for 
Show  only  | Search instead for 
Did you mean: 

is it possible to export firewall rule only??

L3 Networker

Hi all.

Is it possible to export security policy with CSV, PDF or txt format?? I can’t find any export menu only for firewall rule.

If it is possible, is it able to modify that exported firewall rule??

And then is it possible to import modified firewall rule to PA device??

Customer wants to review their firewall rule with readable file format.

Of course I know that PA supports export for configuration file on the Device TAB but it is included all of configure information.

I just want to know that how to export firewall policy only with CSV, PDF or etc.




L4 Transporter


This is not possible with the webgui. The only way you can modify and import the configuration from the webgui is the export and import function in the device tab.

What you might try is the CLI.

Within the CLI set the output format to set (set cli config-output-format set) and then go into the configure mode. When you do an 'show rulebase' it will show you the rulebase in a readable format.


Not applicable

Hi Eugene!

I have a utility that will extract most of the configuration of the box into an Excel documnets with multiple sheets.

It will give you rulebase, custom apps, application groups, application filters , services etc.

Email me on and I will send you a copy and you can try it to see if it does what you are looking for.

Best regards Staffan

so, exports of security policies are still not available?

i really hate tring to audit 150+ rules in the web gui.

I think solsens excel-utility can be handy for this.

Otherwise you can export the running-config.xml and run it through sed or such.

The interresting stuff is between <rulebase> and </rulebase> (to get not only the rules but also any profiles or such) and if you want just the security rules you go for the stuff between <security> and </security>.

Another method (already described), specially if you are not friendly to xml, is to use cli and enable set-commands and then just do a "show running-config" (which you then run through sed to only keep the interresting stuff).

so, its roll your own then .. ok, thanks mikand.

btw: i dont see 'solsens excel-utility' on this forum or google.

I think you must email him to get a copy, while you email him - ask if he cant publish he utility online? 🙂

do you have an address?

I just stared my audit via the giu :|, this is going to be painful

His email is posted in the message he posted earlier:

sry, thanks

L4 Transporter


This message is targeted to PA team...

It would be nice to provide an official tools to export firewall rules, NAT rules, Decryption rules in HTML, PDF format.

Checkpoint has an official tools called Web Visualization tools.

PA, please help us...




Did you try this already?




I tried the Excel using XML API method.

It works BUT it's not friendly as the Checkpoint Tools...



Just an FYI to all.  In the instructions for Excel using XML API it references Using the XML API in the paragraph in step 2.  In the instructions on Using the XML API, there is a typo in 01. of Key Generation https://hostname/esp/restapi.esp?type=keygen&user=username&passwordpassword=password.  It should be &password=password.

  • 19 replies
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!