Inspector2 / Client / list_connector_scan_configurations
list_connector_scan_configurations¶
- Inspector2.Client.list_connector_scan_configurations(**kwargs)¶
Lists scan configurations for Amazon Web Services Config connectors. Results are paginated. Use the
nextTokenparameter to retrieve the next page of results.See also: AWS API Documentation
Request Syntax
response = client.list_connector_scan_configurations( awsConfigConnectorArns=[ 'string', ], maxResults=123, nextToken='string' )
- Parameters:
awsConfigConnectorArns (list) –
The list of Amazon Web Services Config connector ARNs to filter results.
(string) –
maxResults (integer) – The maximum number of results to return in a single call. Valid range is 1 to 50. To retrieve the remaining results, make another request with the
nextTokenvalue returned from this request.nextToken (string) – A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request.
- Return type:
dict
- Returns:
Response Syntax
{ 'scanConfigurations': [ { 'awsConfigConnectorArn': 'string', 'connectorArns': [ 'string', ], 'scanConfiguration': { 'containerImageScanning': { 'pushDuration': 'LIFETIME'|'DAYS_3'|'DAYS_7'|'DAYS_30'|'DAYS_180'|'DAYS_14'|'DAYS_60'|'DAYS_90', 'pullDuration': 'DAYS_3'|'DAYS_7'|'DAYS_14'|'DAYS_30'|'DAYS_60'|'DAYS_90'|'DAYS_180' } } }, ], 'nextToken': 'string' }
Response Structure
(dict) –
scanConfigurations (list) –
A list of scan configuration items.
(dict) –
Represents a scan configuration and the connectors it applies to. Returned in the results of a
ListConnectorScanConfigurationsrequest.awsConfigConnectorArn (string) –
The ARN of the Amazon Web Services Config connector.
connectorArns (list) –
The list of connector ARNs associated with this Amazon Web Services Config connector.
(string) –
scanConfiguration (dict) –
The scan configuration settings.
containerImageScanning (dict) –
The container image scanning configuration, including push and pull duration settings.
pushDuration (string) –
The amount of time after a container image is pushed to a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are
LIFETIME,DAYS_3,DAYS_7,DAYS_14,DAYS_30,DAYS_60,DAYS_90, andDAYS_180.pullDuration (string) –
The amount of time after a container image is last pulled from a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are
DAYS_3,DAYS_7,DAYS_14,DAYS_30,DAYS_60,DAYS_90, andDAYS_180.
nextToken (string) –
A pagination token. If this value is not null, there are additional results available. Use this token in the
nextTokenparameter of a subsequent request to retrieve the next page of results.
Exceptions
Inspector2.Client.exceptions.ValidationExceptionInspector2.Client.exceptions.AccessDeniedExceptionInspector2.Client.exceptions.ThrottlingExceptionInspector2.Client.exceptions.InternalServerException