v1

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

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.

Requires permission to access the CreateMitigationAction action.

post/mitigationactions/actions/{actionName}

Path parameters

actionNamestring required

A friendly name for the action. Choose a friendly name that accurately describes the action (for example, <code>EnableLoggingAction</code>).

Request body

roleArnstring required

The ARN of the IAM role that is used to apply the mitigation action.

Response

Success

actionArnstring

The ARN for the new mitigation action.

actionIdstring

A unique identifier for the new mitigation action.