Details

This atomic belongs to the Palo Alto Cortex atomic group.

Gets the status of a previously executed agent script from Palo Alto Cortex using an action ID. Please refer to the Cortex documentation for information about required licenses and permissions.

Target: Palo Alto Cortex integration target or HTTP Endpoint for "api-your-instance.xdr.region.paloaltonetworks.com" with a path of "/public_api/v1"

Account Key: None if using an integration-provided target, API key and API key ID if using an HTTP Endpoint target

Steps:
[]> Build the authorization headers and request payload
[]> Request the script status
[]> Check if the request was successful:
[]> If it was, extract the status and set the output variable
[]> If it wasn't, output an error

More information about this API: https://cortex-panw.stoplight.io/docs/cortex-xdr/28073c365903b-get-script-execution-status

About
Authorship
Cisco Managed