Updated on 2024-05-16 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 there are any ECSs configured with security groups that are within the specified scope, the result is noncompliant.

Tag

ecs

Trigger Type

Configuration change

Filter Type

ecs.cloudservers

Configure Rule Parameters

  • specifiedECSTagKey: indicates the tag key of an ECS. The value must be a string.
  • specifiedECSTagValue: indicates the 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: indicates IDs of security groups. The value must be an array with up to 10 IDs.