XML API: Panorama: How to Create/Get/Update the field "Audit Comment" of a Security Policy rule?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

XML API: Panorama: How to Create/Get/Update the field "Audit Comment" of a Security Policy rule?

L1 Bithead

Settings

 

What's expected:

  • Similar to how we can edit/read the Description field of a Security Policy rule, we should be able to edit/read the Audit comment field of a rule as well.
  • I believe we should have xpath like "/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='paul']/pre-rulebase/security/rules/entry[@name='paul-feb-24']/audit-comment" to read or update here.

HermanEdwards_1-1645745621315.png

 


What's happening:

  • From viewing Chrome's network tab (see attached), you can see that we should be able to access "audit-comment" for a Policy rule. However, I cannot access that field via XML API browser or manually calling it via curl.
  • Could you tell me if this is something possible on Panorama?
    • If yes, How do I access this Audit Comment field?
    • If yes, Is this feature available from Panorama 8.0 as well?

 

HermanEdwards_0-1645745433474.png

 

Your help is much appreciated.

 

1 REPLY 1

L1 Bithead

Look like this should be posted in the API section instead. I will close this one and open a new one there.

  • 1476 Views
  • 1 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!