> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/admin-guide/33/vulnerability-management/registry-scanning/scan-acr.md).

# Azure Container Registry

To scan a repository in Azure Container Registry (ACR), create a new registry scan setting.

## Configure an ACR Registry Scan

**Prerequisites:**

* You have [installed a Defender](/admin-guide/33/install/deploy-defender/defender-types.md) somewhere in your environment.
* The Defender can establish a connection with the ACR over port 443. Ensure that the port is open for the image to be accessed successfully.
* The Azure Service Principle is assigned the **Contributor** role. [Azure Credentials](/admin-guide/33/authentication/credentials-store/azure-credentials.md) for details.

1. Log in to Console, and select **Defend > Vulnerabilities > Images > Registry settings**.
2. **Add registry**.
3. In **Add New Registry**, enter the following values:
   1. In **Version**, select **Azure Container Registry**.
   2. Under **Registry**, enter the Fully Qualified Domain Name (FQDN) for the registry’s ACR login server.

      The format for the FQDN is **\<REGISTRY\_NAME>.azurecr.io**, where **\<REGISTRY\_NAME>** is a unique value specified when the registry was created. Example: **example.azurecr.io**.
   3. In **Repository**, enter the name of the repository to scan. Example: **library/alpine**.
   4. Enter **Tag** numbers to scan, leave blank, or enter a wildcard (\*) to scan all the tags.
   5. Optionally, enter **Tags to exclude**, to avoid scanning images with specified tags.
   6. In **Credential**, configure how Prisma Cloud authenticates with ACR.

      Select a credential from the drop-down list.

      If there are no credentials in the list, click **Add new** to [create an Azure credential](/admin-guide/33/authentication/credentials-store/azure-credentials.md) where the service principal authenticates with a password.
   7. In **OS type**, specify whether the repo holds **Linux** or **Windows** images.
   8. In **Scanners scope**, specify the collections of defenders to use for the scan.

      Console selects the available Defenders from the scope to execute the scan job according to the **Number of scanners** setting. For more information, see [deployment patterns](/admin-guide/33/vulnerability-management/registry-scanning/configure-registry-scanning.md#deployment-patterns).
   9. In **Number of scanners**, enter the number of Defenders across which scan jobs can be distributed.
   10. In **Cap**, limit the number of images to scan.

       Set **Cap** to **5** to scan the five most recent images, or enter a different value to increase or decrease the limit. Set **Cap** to **0** to scan all images.
4. Select **Add and scan**.

   Verify that the images in the repository are being [scanned](/admin-guide/33/vulnerability-management/registry-scanning/configure-registry-scanning.md) under **Monitor > Vulnerabilities > Images > Registries**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.prismacloud.io/admin-guide/33/vulnerability-management/registry-scanning/scan-acr.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
