CmdID

CmdID / aws / aws iot

aws iot create-scheduled-audit

Creates a scheduled audit that is run at a specified time interval. 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 a scheduled audit

The following create-scheduled-audit example creates a scheduled audit that runs weekly, on Wednesday, to check if CA certificates or device certificates are expiring.

aws iot create-scheduled-audit --scheduled-audit-name WednesdayCertCheck --frequency WEEKLY --day-of-week WED --target-check-names CA_CERTIFICATE_EXPIRING_CHECK DEVICE_CERTIFICATE_EXPIRING_CHECKIdentify
--scheduled-audit-nameThe name you want to give to the scheduled audit.
--frequencyHow often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY.
--day-of-weekThe day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT.
--target-check-namesWhich checks are performed during the scheduled audit.
Its output
{
    "scheduledAuditArn": "arn:aws:iot:us-west-2:123456789012:scheduledaudit/WednesdayCertCheck"
}

For more information, see Audit Commands in the AWS IoT Developer Guide.

Options

6 in the AWS CLI reference
--day-of-monthThe day of the month on which the scheduled audit takes place.
--day-of-weekThe day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT.
--frequencyHow often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY.
--scheduled-audit-nameThe name you want to give to the scheduled audit.
--tagsMetadata that can be used to manage the scheduled audit.
--target-check-namesWhich checks are performed during the scheduled audit.