Updated on 2024-10-15 GMT+08:00

Security Group Check by ID

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

ecs-in-allowed-security-groups

Identifier

ecs-in-allowed-security-groups

Description

If an ECS does not have any of the specified security groups attached, this ECS is noncompliant.

Tag

ecs

Trigger Type

Configuration change

Filter Type

ecs.cloudservers

Configure Rule Parameters

  • specifiedECSTagKey: Tag key of an ECS. The value must be a string.
  • specifiedECSTagValue: Tag value of an ECS tag. If no value is specified, all values are allowed. The value must be an array with up to 10 elements.
  • specifiedSecurityGroupIds: IDs of security groups. The value must be an array with up to 10 elements.