Details

This atomic belongs to the Palo Alto Panorama atomic group.

Updates an existing security policy pre rule in Palo Alto Panorama. Either a rule name or JSON body are required. This atomic uses v11.0 of the Panorama API.

Note: Your Panorama API must be accessible from the public internet or you must deploy an XDR automation remote. See the XDR automation documentation for more information about remotes.

Target: HTTP Endpoint for your Panorama instance with a path of "/restapi/" (and your XDR automation remote selected, if applicable)

Account Key: None (uses an API key)

Steps:
[] Validate the input data (if not correct, output an error)
[] Check if a pre rule name was provided:
[]> If so, fetch the full pre rule JSON
[]> If not, extract the pre rule name from the pre rule JSON
[] Build the request payload
[] Update the pre rule in Panorama
[] Check if the request was successful (if not, output an error)

More information about this API can be found in the Panorama API documentation.

About
Authorship
Cisco Managed