Skip to content

/AWS1/CL_AAN=>LISTFINDINGSV2()

About ListFindingsV2

Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use access-analyzer:ListFindings in the Action element of an IAM policy statement. You must have permission to perform the access-analyzer:ListFindings action.

To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_ANALYZERARN TYPE /AWS1/AANANALYZERARN /AWS1/AANANALYZERARN

The ARN of the analyzer to retrieve findings from.

Optional arguments:

IT_FILTER TYPE /AWS1/CL_AANCRITERION=>TT_FILTERCRITERIAMAP TT_FILTERCRITERIAMAP

A filter to match for the findings to return.

IV_MAXRESULTS TYPE /AWS1/AANINTEGER /AWS1/AANINTEGER

The maximum number of results to return in the response.

IV_NEXTTOKEN TYPE /AWS1/AANTOKEN /AWS1/AANTOKEN

A token used for pagination of results returned.

IO_SORT TYPE REF TO /AWS1/CL_AANSORTCRITERIA /AWS1/CL_AANSORTCRITERIA

sort

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AANLISTFINDINGSV2RSP /AWS1/CL_AANLISTFINDINGSV2RSP