Inspector2 / Paginator / GetCisScanResultDetails
GetCisScanResultDetails#
- class Inspector2.Paginator.GetCisScanResultDetails#
paginator = client.get_paginator('get_cis_scan_result_details')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
Inspector2.Client.get_cis_scan_result_details()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( accountId='string', filterCriteria={ 'checkIdFilters': [ { 'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS', 'value': 'string' }, ], 'findingArnFilters': [ { 'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS', 'value': 'string' }, ], 'findingStatusFilters': [ { 'comparison': 'EQUALS', 'value': 'PASSED'|'FAILED'|'SKIPPED' }, ], 'securityLevelFilters': [ { 'comparison': 'EQUALS', 'value': 'LEVEL_1'|'LEVEL_2' }, ], 'titleFilters': [ { 'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS', 'value': 'string' }, ] }, scanArn='string', sortBy='CHECK_ID'|'STATUS', sortOrder='ASC'|'DESC', targetResourceId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
accountId (string) –
[REQUIRED]
The account ID.
filterCriteria (dict) –
The filter criteria.
checkIdFilters (list) –
The criteria’s check ID filters.
(dict) –
The CIS string filter.
comparison (string) – [REQUIRED]
The comparison value of the CIS string filter.
value (string) – [REQUIRED]
The value of the CIS string filter.
findingArnFilters (list) –
The criteria’s finding ARN filters.
(dict) –
The CIS string filter.
comparison (string) – [REQUIRED]
The comparison value of the CIS string filter.
value (string) – [REQUIRED]
The value of the CIS string filter.
findingStatusFilters (list) –
The criteria’s finding status filters.
(dict) –
The CIS finding status filter.
comparison (string) – [REQUIRED]
The comparison value of the CIS finding status filter.
value (string) – [REQUIRED]
The value of the CIS finding status filter.
securityLevelFilters (list) –
The criteria’s security level filters. . Security level refers to the Benchmark levels that CIS assigns to a profile.
(dict) –
The CIS security level filter. Security level refers to the Benchmark levels that CIS assigns to a profile.
comparison (string) – [REQUIRED]
The CIS security filter comparison value.
value (string) – [REQUIRED]
The CIS security filter value.
titleFilters (list) –
The criteria’s title filters.
(dict) –
The CIS string filter.
comparison (string) – [REQUIRED]
The comparison value of the CIS string filter.
value (string) – [REQUIRED]
The value of the CIS string filter.
scanArn (string) –
[REQUIRED]
The scan ARN.
sortBy (string) – The sort by order.
sortOrder (string) – The sort order.
targetResourceId (string) –
[REQUIRED]
The target resource ID.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'scanResultDetails': [ { 'accountId': 'string', 'checkDescription': 'string', 'checkId': 'string', 'findingArn': 'string', 'level': 'LEVEL_1'|'LEVEL_2', 'platform': 'string', 'remediation': 'string', 'scanArn': 'string', 'status': 'PASSED'|'FAILED'|'SKIPPED', 'statusReason': 'string', 'targetResourceId': 'string', 'title': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
scanResultDetails (list) –
The scan result details.
(dict) –
The CIS scan result details.
accountId (string) –
The CIS scan result details’ account ID.
checkDescription (string) –
The account ID that’s associated with the CIS scan result details.
checkId (string) –
The CIS scan result details’ check ID.
findingArn (string) –
The CIS scan result details’ finding ARN.
level (string) –
The CIS scan result details’ level.
platform (string) –
The CIS scan result details’ platform.
remediation (string) –
The CIS scan result details’ remediation.
scanArn (string) –
The CIS scan result details’ scan ARN.
status (string) –
The CIS scan result details’ status.
statusReason (string) –
The CIS scan result details’ status reason.
targetResourceId (string) –
The CIS scan result details’ target resource ID.
title (string) –
The CIS scan result details’ title.
NextToken (string) –
A token to resume pagination.