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

Reply
MemphisBrothers
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)

Accepted Solutions
HULK
L7 Applicator

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;

}

View solution in original post


All Replies
HULK
L7 Applicator

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;

}

View solution in original post

MemphisBrothers
L3 Networker

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

HULK
L7 Applicator

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

Thanks

M.Alzahaby
L2 Linker

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

The LIVEcommunity thanks you for your participation!