Details

This atomic belongs to the Cisco Secure Firewall atomic group.

Searches the access policy provided for a rule with the given name.

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:
[] Set the initial URL to request
[] Loop through each page of access rules
[]> Fetch the rules on this page (if this fails, return an error)
[]> Look for matching rules
[]> Check if a matching rule was found:
[]>> If it was, extract the rule's ID, set the output variables, and end the loop
[]>> If it wasn't:
[]>>> Check for a next page
[]>>>> If there's a next page, update the local URL variable and continue
[]>>>> If there isn't a next page, end the workflow

About
Authorship
Cisco Managed