Skip to main content
All CollectionsTemplatesBasic
Collect all Public IP Addresses for an AWS Account - Workflow Template
Collect all Public IP Addresses for an AWS Account - Workflow Template

Collect all public IP addresses for a given AWS account and provide a simple summary list of IPs and a JSON list by region and service.

Updated over 6 months ago

This Torq workflow template automates the process of identifying and summarizing public IP addresses utilized in an AWS account. It is designed to efficiently audit public IP utilization by querying specified AWS services across all regions or a selected subset. The workflow offers a dual output: a straightforward list of IPs and a structured JSON list sorted by region and service. Businesses can leverage this template for compliance checks, security audits, and efficiently managing network access control lists (ACLs) by ensuring a clear understanding of public-facing resources.

Optional Triggers

"Scheduled Trigger"

Use Cases

CSPM

Workflow Breakdown

  1. Set the regions to search across or leave blank to search all AWS regions for the account

  2. Loop over each region and query the services for IP addresses or hostnames

  3. Extract the IP addresses used with each service and create a simple list of IPs

  4. Create a summary list by region and service of each IP address that was found.

Vendors

AWS, Scripting, Utils, HTTP

Did this answer your question?