list_cis_scan_results_aggregated_by_checks
¶
list_cis_scan_results_aggregated_by_checks(
scan_arn: CisScanArn,
*,
config_overrides: Optional[Inspector2ClientConfig] = None,
filter_criteria: Optional[CisScanResultsAggregatedByChecksFilterCriteria] = None,
sort_by: Optional[CisScanResultsAggregatedByChecksSortBy] = None,
sort_order: Optional[CisSortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[CisScanResultsMaxResults] = None,
) -> ListCisScanResultsAggregatedByChecksResponse
Lists scan results aggregated by checks.
Parameters:
-
scan_arn(CisScanArn) –The scan ARN.
-
filter_criteria(Optional[CisScanResultsAggregatedByChecksFilterCriteria], default:None) –The filter criteria.
-
sort_by(Optional[CisScanResultsAggregatedByChecksSortBy], default:None) –The sort by order.
-
sort_order(Optional[CisSortOrder], default:None) –The sort order.
-
next_token(Optional[NextToken], default:None) –The pagination token from a previous request that's used to retrieve the next page of results.
-
max_results(Optional[CisScanResultsMaxResults], default:None) –The maximum number of scan results aggregated by checks to be returned in a single page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
For
Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. -
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample ListCisScanResultsAggregatedByChecks Call
>>> client.list_cis_scan_results_aggregated_by_checks(scan_arn='arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38')
Source code in docs_src/capo_inspector2/_services/inspector2.py
3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 | |