Details

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

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

Target: Platform APIs system target or an HTTP Endpoint for "visibility.amp.cisco.com" with a path of "/iroh"

Account Key: None if using a system-provided target, access token if using an HTTP Endpoint target

Steps:

  • Build the initial URL to request
  • Loop through each page of rules
    • Generate the JSON payload
    • Send the API request to the SSX API proxy
    • Check if the request was successful (if not, return an error)
    • Check if the proxied request was successful:
      • If it wasn't, return an error
    • 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
Integration
Authorship
Cisco Managed