How can I export my Applications list in a given profile.

Reply
Highlighted
L3 Networker

How can I export my Applications list in a given profile.

I have a rather long list of allowed applications in a profile and want to export them for various reasons.  I need to document them, and as I consolidate policies to a single on I don't want to add each one if I cam import them.  Is there a CLI to just get the applications names in a given profile?

Tags (3)
L7 Applicator

Re: How can I export my Applications list in a given profile.

Hello Sir,

I am not sure about your requirement here. Could you please explain it in details.  Are you looking for below mentioned command:

admin@PAN-FW# show rulebase security rules "Trust-to-Untrust"

"Trust-to-Untrust" {

  from Trust;

  to Untrust;

  source any;

  destination any;

  service application-default;

  application [ ping ssl web-browsing];  >>>>>>>>>>>>>>>>>>>>>>>>> List of applications

  action allow;

  source-user any;

  option;

  negate-source no;

  negate-destination no;

  disabled no;

  log-end yes;

  description "External user access Untrust";

  log-setting log_Default;

}

L3 Networker

Re: How can I export my Applications list in a given profile.

OK I got it.   Had to be in configure mode to use command.   Tailored it to my needs and found what I need.  Thanks

L7 Applicator

Re: How can I export my Applications list in a given profile.

Yes Sir, the above mentioned CLI command has to be run from configuration mode.

Thanks

L2 Linker

Re: How can I export my Applications list in a given profile.

You may want to check this document  Export Palo Alto Security Policies to CSV file

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!