CmdID

CmdID / aws / aws iot

aws iot create-audit-suppression

Creates a Device Defender audit suppression. AWS CLI reference

1 example 6 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create an audit finding suppression

The following create-audit-suppression example creates an audit finding suppression for a policy named "virtualMachinePolicy" that has been flagged for being overly permissive.

aws iot create-audit-suppression --check-name IOT_POLICY_OVERLY_PERMISSIVE_CHECK --resource-identifier policyVersionIdentifier={"policyName"="virtualMachinePolicy","policyVersionId"="1"} --no-suppress-indefinitely --expiration-date 2020-10-20Identify
--check-nameAn audit check name.
--resource-identifierInformation that identifies the noncompliant resource.
--no-suppress-indefinitelyIndicates whether a suppression should exist indefinitely or not.
--expiration-dateThe epoch timestamp in seconds at which this suppression expires.

This command produces no output.

For more information, see Audit finding suppressions in the AWS IoT Developers Guide.

Options

6 in the AWS CLI reference
--check-nameAn audit check name.
--client-request-tokenEach audit supression must have a unique client request token.
--descriptionThe description of the audit suppression.
--expiration-dateThe epoch timestamp in seconds at which this suppression expires.
--resource-identifierInformation that identifies the noncompliant resource.
--suppress-indefinitelyIndicates whether a suppression should exist indefinitely or not.