Retrieve Security Profiles - Vulnerability Protection via API

L0 Member

Retrieve Security Profiles - Vulnerability Protection via API

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

L4 Transporter

Re: Retrieve Security Profiles - Vulnerability Protection via API

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.

SRA
L4 Transporter

Re: Retrieve Security Profiles - Vulnerability Protection via API

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.

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!