v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481826573.7 KB

Creates a filter resource using specified filter criteria. When the filter action is set to <code>SUPPRESS</code> this action creates a suppression rule.

post/filters/create

Request body

action'NONE' | 'SUPPRESS' required

Defines the action that is to be applied to the findings that match the filter.

descriptionstring

A description of the filter.

namestring required

The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.

tagsobject

A list of tags for the filter.

reasonstring

The reason for creating the filter.

Response

Success

arnstring required

The Amazon Resource Number (ARN) of the successfully created filter.