list_findings_v2
¶
list_findings_v2(
analyzer_arn: AnalyzerArn,
*,
config_overrides: Optional[AccessAnalyzerClientConfig] = None,
filter: Optional[FilterCriteriaMap] = None,
max_results: Optional[int] = None,
next_token: Optional[Token] = None,
sort: Optional[SortCriteria] = None,
) -> ListFindingsV2Response
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.
Parameters:
-
analyzer_arn(AnalyzerArn) –The ARN of the analyzer to retrieve findings from.
-
filter(Optional[FilterCriteriaMap], default:None) –A filter to match for the findings to return.
-
max_results(Optional[int], default:None) –The maximum number of results to return in the response.
-
next_token(Optional[Token], default:None) –A token used for pagination of results returned.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–Internal server error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–Throttling limit exceeded error.
-
ValidationException–Validation exception error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_accessanalyzer/_services/access_analyzer.py
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 | |