Mondoo Docs

Amazon EC2 security group

aws.ec2.securitygroup MQL resource for querying AWS infrastructure with cnquery and cnspec.

AWSPrivate Resource

Amazon EC2 security group

Min version: 5.15.0Defaults: id name region vpc.id

Relationships

Mini Map
AWS
11 resources · 21 relationshipsClick to select, expand fields to see properties.

Fields (11)

FieldTypeDescription
arnrequired
stringSecurity group ARN
descriptionrequired
stringDescription of the security group
idrequired
stringSecurity group ID
ippermissionprivate
aws.ec2.securitygroup.ippermissionAmazon EC2 security group IP permission
ipPermissions
[]aws.ec2.securitygroup.ippermissionIP permissions (ingress) for the security group
ipPermissionsEgress
[]aws.ec2.securitygroup.ippermissionIP permissions (egress) for the security group
isAttachedToNetworkInterface
intWhether the security group is attached to Amazon Elastic Compute Cloud
namerequired
stringName of the security group
regionrequired
stringRegion associated with the security group
tagsrequired
map[string]stringA map of tags associated with the security group
vpc
aws.vpcVPC associated with the security group