> 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/32/vulnerability-management/registry-scanning/scan-alibaba-container-registry.md).

# Alibaba Cloud Container Registry

Configure Prisma Cloud to scan your Alibaba Cloud Container Registry. First, create a service account, and then specify the scan parameters.

## Create a Service Account

Create a service account so Prisma Cloud can access your registry. Prisma Cloud needs the **AliyunContainerRegistryReadOnly** permission policy to query, download, and scan the images in your registry.

1. In Alibaba Cloud, create a RAM account.

   Go to **RAM > Users**, and click **Create User**.

   <figure><img src="/files/8oHfmFec4inWnjFewQRf" alt="scan alibaba create user"><figcaption></figcaption></figure>
2. Select **Add Permissions**.

   <figure><img src="/files/tn94YRD89xoFgzVaUF5Z" alt="scan alibaba set perms"><figcaption></figcaption></figure>
3. Search for **registry**, and then select **AliyunContainerRegistryReadOnly**.

## Configure an Alibaba Cloud Container Registry Scan

To scan a repository in Alibaba Cloud Container Registry, create a new registry scan setting.

**Prerequisites:**

* [Install a Defender](/admin-guide/32/install/deploy-defender/defender-types.md) somewhere in your environment.
* Create an Alibaba Cloud Container Registry.
* You have the service account credentials.

1. Open Console, and go to **Defend > Vulnerabilities > Images > Registry settings**.
2. Select **Add registry**.
3. In **Add New Registry Setting Specification**, enter the following values:
   1. In **Version**, select **Docker Registry v2**.
   2. In **Registry**, enter the Fully Qualified Domain Name (FQDN) for the registry. For example, **registry-intl.cn-hangzhou.aliyuncs.com**.
   3. In **Repository**, enter the name of the repository to scan. Example: **library/alpine**.
   4. In **Tag**, enter an image tag. Leave this field blank to scan all images, regardless of their tag.
   5. In **Credential**, configure how Prisma Cloud authenticates with Alibaba Cloud Container Registry.

      Select a credential from the drop-down list. If there are no credentials in the list, click **Add new**, and create a **Basic authentication** credential with the service account username and password.
   6. In **OS type**, specify whether the repo holds **Linux** or **Windows** images.
   7. 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/32/vulnerability-management/registry-scanning/configure-registry-scanning.md#deployment-patterns).
   8. In **Number of scanners**, enter the number of Defenders across which scan jobs can be distributed.
   9. In **Cap**, limit the number of images to scan.

      Set **Cap** to **5** to scan the five most recent images, or enter another 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 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/32/vulnerability-management/registry-scanning/scan-alibaba-container-registry.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.
