batch_get_repository_scanning_configuration
(**kwargs)¶Gets the scanning configuration for one or more repositories.
See also: AWS API Documentation
Request Syntax
response = client.batch_get_repository_scanning_configuration(
repositoryNames=[
'string',
]
)
[REQUIRED]
One or more repository names to get the scanning configuration for.
{
'scanningConfigurations': [
{
'repositoryArn': 'string',
'repositoryName': 'string',
'scanOnPush': True|False,
'scanFrequency': 'SCAN_ON_PUSH'|'CONTINUOUS_SCAN'|'MANUAL',
'appliedScanFilters': [
{
'filter': 'string',
'filterType': 'WILDCARD'
},
]
},
],
'failures': [
{
'repositoryName': 'string',
'failureCode': 'REPOSITORY_NOT_FOUND',
'failureReason': 'string'
},
]
}
Response Structure
The scanning configuration for the requested repositories.
The details of the scanning configuration for a repository.
The ARN of the repository.
The name of the repository.
Whether or not scan on push is configured for the repository.
The scan frequency for the repository.
The scan filters applied to the repository.
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.
Any failures associated with the call.
The details about any failures associated with the scanning configuration of a repository.
The name of the repository.
The failure code.
The reason for the failure.
Exceptions
ECR.Client.exceptions.ServerException
ECR.Client.exceptions.InvalidParameterException
ECR.Client.exceptions.RepositoryNotFoundException
ECR.Client.exceptions.ValidationException