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.
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.
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!