Details

This atomic belongs to the Cisco Secure Firewall (SSE) atomic group.

Adds a port/protocol object to a port group.

Note: This atomic is for use with the SecureX SSE API proxy. For more information about how this works, see: https://ciscosecurity.github.io/sxo-05-security-workflows/workflows/secure-firewall/api-types

Target: HTTP Endpoint for "visibility.amp.cisco.com" with a path of "/iroh"

Account Key: None (uses an access token)

Steps:
[] Make sure the required input was provided
[] Check if a group ID or JSON body was provided:
[]> If a group ID was given, fetch the existing group and store its JSON in a variable
[]> If a JSON body was given, extract the group ID and store it in a variable
[] Generate the JSON payloads
[] Send the API request to the SSE API proxy
[] Check if the request was successful:
[]> If it wasn't, return an error
[] Extract the result of the proxied request
[] Check if the proxied request was successful:
[]> If it was, set the output variables
[]> If it wasn't, return an error

About
Authorship
Cisco Managed