Cloud Assistant command content check

Updated at:

A Cloud Assistant command is considered compliant if it does not contain the sensitive content that you set.

Scenarios

Prevent risky operations in Cloud Assistant commands that could cause configuration faults or data loss in the operating systems of ECS instances.

Risk level

Default risk level: Low.

You can change the risk level of this rule as needed.

Detection logic

  • If a Cloud Assistant command does not contain the sensitive content that you set, the command is considered compliant.

  • If a Cloud Assistant command contains the sensitive content that you set, the command is considered non-compliant. For more information, see Remediation.

Rule details

Parameter

Description

Rule name

Cloud Assistant command content check

Rule identifier

ecs-command-exclude-sensitive-content

Tag

ECS, Command

Automatic remediation

Not supported

Rule trigger mechanism

Configuration changes

Supported resource types

ECS Cloud Assistant commands

Rule input parameters

content

Remediation

Delete the Cloud Assistant command. For more information, see Delete a command.