Skip to content

/AWS1/CL_MA2=>CREATEFINDINGSFILTER()

About CreateFindingsFilter

Creates and defines the criteria and other settings for a findings filter.

Method Signature

IMPORTING

Required arguments:

IV_ACTION TYPE /AWS1/MA2FINDINGSFILTERACTION /AWS1/MA2FINDINGSFILTERACTION

The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

IO_FINDINGCRITERIA TYPE REF TO /AWS1/CL_MA2FINDINGCRITERIA /AWS1/CL_MA2FINDINGCRITERIA

The criteria to use to filter findings.

IV_NAME TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

IV_DESCRIPTION TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING

A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.

IV_POSITION TYPE /AWS1/MA2__INTEGER /AWS1/MA2__INTEGER

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

IT_TAGS TYPE /AWS1/CL_MA2TAGMAP_W=>TT_TAGMAP TT_TAGMAP

A map of key-value pairs that specifies the tags to associate with the filter.

A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MA2CREATEFNDGSFILTRSP /AWS1/CL_MA2CREATEFNDGSFILTRSP