Details

This atomic belongs to the Cisco Secure Firewall atomic group.

Adds a port/protocol object to a port group.

Note: You may need to use an XDR automation remote to communicate with Cisco Secure Firewall if it's on-premises. See the XDR automation documentation for more information about remotes.

Target: HTTP Endpoint for your Firewall Management Center with a path of "api/"

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 for the updated group
[] Request the group be updated
[] Check if the request was successful:
[]> If it was, set the output variables
[]> If it wasn't, return an error

About
Authorship
Cisco Managed