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

Image Check by Name

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

allowed-images-by-name

Identifier

allowed-images-by-name

Description

If an ECS does not have one of the specified images attached, this ECS is noncompliant. Images are specified by name.

Tag

ecs

Trigger Type

Configuration change

Filter Type

ecs.cloudservers

Rule Parameter

imageNames: names of images. This rule allows partial match of image names.

Rule Logic

  • If the image of an ECS is fully or partially matched with one of the specified images by name, this ECS is compliant.
  • If the image of an ECS is not fully or partially matched with one of the specified images by name, this ECS is noncompliant.