Policy audit comment in cli

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

Policy audit comment in cli

L4 Transporter

Do you know how can we configure and view Panorama security policy audit comments in the cli or another way for bulk applying comments to policies. 

I will modify policies in bulk using the cli set commands, but also want to add audit comment to all the policies with the change description, but I can't find the cli option for it. 

3 REPLIES 3

Cyber Elite
Cyber Elite

@batd2,

There's not a great way to do this, primarily because the audit-comment itself isn't actually in the entry itself but instead "associated" with the UUID of the rule. You can use the set audit-comment xpath <xpath> comment <comment> command to create an audit-comment in the CLI or type=op&cmd=<set><audit-comment></audit-comment></set> in the API to configure this outside of the GUI.

L4 Transporter

@BPry This is frustrating and kind of defeats some of purpose of the audit comments.  I will probably submit a feature request about it

  • View the audit comment, configuration logs, and rule change history for a selected policy rule.
     
 
  • 3721 Views
  • 3 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!