Back to library
Defensive Intermediate Free

List security group names.

List security group names.

AWS CLI / Cloud Security

Log in to save

Command

aws ec2 describe-security-groups --query "SecurityGroups[].GroupName"

Syntax

aws ec2 describe-security-groups --query "SecurityGroups[].GroupName"

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

List security group names. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

Example output

SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."

More examples

Expanded library example

aws ec2 describe-security-groups --query "SecurityGroups[].GroupName"

List security group names.

linux macos windows aws-cli cloud-security expanded-library

Related

Defensive Intermediate Free

Review IAM account summary.

Review IAM account summary.

aws iam get-account-summary
aws-cli cloud-security expanded-library
AWS CLI / Cloud Security Open
Defensive Intermediate Free

List IAM users.

List IAM users.

aws iam list-users --query "Users[].UserName"
aws-cli cloud-security expanded-library
AWS CLI / Cloud Security Open
Defensive Intermediate Free

Review access keys for a user.

Review access keys for a user.

aws iam list-access-keys --user-name analyst
aws-cli cloud-security expanded-library
AWS CLI / Cloud Security Open