v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1437208153.9 KB

Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.

post/#X-Amz-Target=InspectorService.ListFindings

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'InspectorService.ListFindings' required

Request body

assessmentRunArnsArn[]

The ARNs of the assessment runs that generate the findings that you want to list.

nextTokenstring

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the <b>ListFindings</b> action. Subsequent calls to the action fill <b>nextToken</b> in the request with the value of <b>NextToken</b> from the previous response to continue listing data.

maxResultsinteger

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

Response

Success

findingArnsArn[] required

A list of ARNs that specifies the findings returned by the action.

nextTokenstring

When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

Example response

{
  "findingArns": [
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4",
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v/finding/0-tyvmqBLy"
  ],
  "nextToken": "1"
}