---
title: "POST /#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration"
method: POST
path: "/#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration"
---

# POST /#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration

`POST /#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration`

Gets the scanning configuration for one or more repositories.

## Headers

- `X-Amz-Target` 'AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration', required

## Request body

- BatchGetRepositoryScanningConfigurationRequest
  - `repositoryNames` RepositoryName[], required — One or more repository names to get the scanning configuration for.

## Response `200`

Success

- BatchGetRepositoryScanningConfigurationResponse
  - `scanningConfigurations` RepositoryScanningConfiguration[] — The scanning configuration for the requested repositories.
    - `repositoryArn` string — The ARN of the repository.
    - `repositoryName` string — The name of the repository.
    - `scanOnPush` boolean — Whether or not scan on push is configured for the repository.
    - `scanFrequency` 'SCAN_ON_PUSH' | 'CONTINUOUS_SCAN' | 'MANUAL' — The scan frequency for the repository.
    - `appliedScanFilters` ScanningRepositoryFilter[] — The scan filters applied to the repository.
      - `filter` string, required — The filter to use when scanning.
      - `filterType` 'WILDCARD', required — The type associated with the filter.
  - `failures` RepositoryScanningConfigurationFailure[] — Any failures associated with the call.
    - `repositoryName` string — The name of the repository.
    - `failureCode` 'REPOSITORY_NOT_FOUND' — The failure code.
    - `failureReason` string — The reason for the failure.

## Other responses

- `480` — ServerException
- `481` — InvalidParameterException
- `482` — RepositoryNotFoundException
- `483` — ValidationException

---

[API](https://skmtc.net/aws/apis/ecr.md) · [All operations](https://skmtc.net/aws/apis/ecr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/ecr/revisions/965cbb14e137/schema)
