aws iot update-audit-suppression
Updates a Device Defender audit suppression. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To update an audit finding suppression
The following update-audit-suppression example updates an audit finding suppression's expiration date to 2020-09-21.
aws iot update-audit-suppression --check-name DEVICE_CERTIFICATE_EXPIRING_CHECK --resource-identifier deviceCertificateId=c7691e8b4a5f7d9e8c6b3a2f1e0d9c8b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d --no-suppress-indefinitely --expiration-date 2020-09-21Identify--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 expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.This command produces no output.
For more information, see Audit finding suppressions in the AWS IoT Developers Guide.
Options
--check-nameAn audit check name.--descriptionThe description of the audit suppression.--expiration-dateThe expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.--resource-identifierInformation that identifies the noncompliant resource.--suppress-indefinitelyIndicates whether a suppression should exist indefinitely or not.