Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.12 KB

File metadata and controls

38 lines (27 loc) · 1.12 KB

Security Groups

The methodaws securitygroup family of commands provide information about an account's EC2 instances.

Enumerate

The enumerate command will gather information about all of the Security Groups that the provided credentials have access to.

Usage

methodaws securitygroup enumerate --regions us-east-1 --output json
methodaws sg enumerate --regions us-east-1 --output json

Help Text

$ methodaws securitygroup enumerate -h
Enumerate security groups

Usage:
  methodaws securitygroup enumerate [flags]

Flags:
  -h, --help         help for enumerate
      --vpc string   VPC ID to filter security groups by

Global Flags:
  -o, --output string          Output format (signal, json). Default value is signal (default "signal")
  -f, --output-file string     Path to output file. If blank, will output to STDOUT
  -q, --quiet                  Suppress output
  -r, --regions stringArray    AWS Regions to search for resources. You can specify multiple regions by providing the flag multiple times. If blank, will search all regions.
  -v, --verbose                Verbose output