ECR.Client.
get_registry_scanning_configuration
()¶Retrieves the scanning configuration for a registry.
See also: AWS API Documentation
Request Syntax
response = client.get_registry_scanning_configuration()
{
'registryId': 'string',
'scanningConfiguration': {
'scanType': 'BASIC'|'ENHANCED',
'rules': [
{
'scanFrequency': 'SCAN_ON_PUSH'|'CONTINUOUS_SCAN'|'MANUAL',
'repositoryFilters': [
{
'filter': 'string',
'filterType': 'WILDCARD'
},
]
},
]
}
}
Response Structure
The ID of the registry.
The scanning configuration for the registry.
The type of scanning configured for the registry.
The scanning rules associated with the registry.
The details of a scanning rule for a private registry.
The frequency that scans are performed at for a private registry. When the ENHANCED
scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN
and SCAN_ON_PUSH
. When the BASIC
scan type is specified, the SCAN_ON_PUSH
and MANUAL
scan frequencies are supported.
The repository filters associated with the scanning configuration for a private registry.
The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide .
The filter to use when scanning.
The type associated with the filter.
Exceptions
ECR.Client.exceptions.ServerException
ECR.Client.exceptions.InvalidParameterException
ECR.Client.exceptions.ValidationException