Palo Alto Panorama - Add URL to Custom URL Category
This atomic belongs to the Palo Alto Panorama atomic group.
Adds a URL to a custom URL category 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 category name was provided:
[]> If so, fetch the full category JSON
[]> If not, extract the category name from the URL category JSON
[] Build the request payload
[] Check if the URL is already in the category (if so, end the workflow)
[] Update the category 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.