v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Starts an on-demand Device Defender audit.

Requires permission to access the StartOnDemandAuditTask action.

post/audit/tasks

Request body

targetCheckNamesAuditCheckName[] required

Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use <code>DescribeAccountAuditConfiguration</code> to see the list of all checks, including those that are enabled or <code>UpdateAccountAuditConfiguration</code> to select which checks are enabled.

Response

Success

taskIdstring

The ID of the on-demand audit you started.