Retrieve Security Profiles - Vulnerability Protection via API

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

Retrieve Security Profiles - Vulnerability Protection via API

L1 Bithead

Hi,

 

   We have one of our PA's set to utilize acustom vulnerability protection profile. I would like to retrieve the current configuration into XLS via the API. I am able to pull the Security rules without any issue but cannot find the correct XPpath for the Security Profiles.

 
What is the command\XPath to pull the Security Profiles - Vulnerability Protection - OurCustomProfile ?

https://hostname/esp/restapi.esp?type=config&action=show&key=keyvalue&xpath=devices/entry/vsys/entry...???????????

Thanks,
Chris

2 REPLIES 2

L4 Transporter

It doesn't look like that's an option.

When I run the security rulebase export I do get a column that says which profile is being applied to each rule.

L4 Transporter

Use xpath=devices/entry/vsys/entry[@name='vsys1']/profiles/vulnerability to get all the vulnerability profiles and

xpath=devices/entry/vsys/entry[@name='vsys1']/profiles/vulnerability/entry[@name='xyz'] to get a specific vulnerability profile by name.

  • 2264 Views
  • 2 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!