Secure Firewall - SSX - Get Port Object by Port and Protocol
Details
This atomic belongs to the Cisco Secure Firewall (SSX) atomic group.
Searches for port objects with the given port and protocol.
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 objects
- 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 object was found:
- If it was, 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
- Check for a next page
About
Integration
Authorship
Cisco Managed