Details

This atomic belongs to the Palo Alto Panorama atomic group.

Adds an address object to an address group with a "Static" type in Palo Alto Panorama. 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 group name was provided:
[]> If so, fetch the full group JSON
[]> If not, extract the group name from the group JSON
[] Build the request payload
[] Check if the address object is already in the group (if so, end the workflow)
[] Update the group 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