Settings I believe adding/updating an Audit comment of a Policy rule is independent from making changes to the policies. Operational command: Audit comment Update (type='op') set audit-comment comment "paul manual edit" xpath Configuration command: Making changes to a Policy rule (type='config') '/api/?type=config&action=get&xpath=/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='paul']/pre-rulebase/security/rules/entry[@name='paul-feb-24']' Questions From Panorama -> Management tab With enabled "Require audit comment on policies", I keep getting this Error message: OrderedDict([('response', OrderedDict([('@status', 'success'), ('@code', '13'), ('msg', \"Audit comments are missing for policy configuration being committed. Please add audit comments and try again.\\nList of xpaths:\\n/config/devices/entry/device-group/entry[@name='paul']/pre-rulebase/security/rules/entry[@name='paul-audit-comment-create-feb-24']\\n/config/devices/entry/device-group/entry[@name='paul']/pre-rulebase/security/rules/entry[@name='paul-feb-24']\")]))]) " Seeing that adding comments and making changes to a Policy rule requires 2 independent API calls, how can we make change both changes in one API call? I believe we just need to do 2 requests: (1) Update Audit comment => (2) Update Policy rule => (3) Commit Despite manually set the Audit comment of a rule to some texts, the Commit operation is still failing with the error message. Has anyone run into this before? Am I doing the updates properly? It's worth noting that I can manually commit via Web Browser though. It looks like committing via Web browser does not care about the Audit comment at all. I tried committing without any comment, and it still passes... Attempts Manually update the Audit comment of the Policy rule before committing, Commit API calls will still fail with the error message I post above. Any help is greatly appreciated.
... View more