Updated on 2024-05-22 GMT+08:00

Conformance Package for ECS

The following table describes the compliance rules and solutions in the sample template.

Table 1 Conformance package description

Rule

Cloud Service

Description

ecs-instance-key-pair-login

ecs

If no key pairs are configured for an ECS, this ECS is noncompliant.

ecs-instance-no-public-ip

ecs

If there is an ECS that is configured with a public IP, the result is noncompliant.

ecs-multiple-public-ip-check

ecs

If there is an ECS that is configured with a public IP, the result is noncompliant.

stopped-ecs-date-diff

ecs

If there is an ECS that has been stopped for longer than the time allowed, and no operations have been performed on it, the result is noncompliant.

volumes-encrypted-check

ecs, evs

If a mounted EVS disk is not encrypted, this disk is noncompliant.