> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-cloud-posture-management/cortex-cloud-data-sources-and-connectors/cloud-posture-and-runtime-security-data-sources/container-registry-scanning/modify-the-container-registry-scanning-scope.md).

# Modify the container registry scanning scope

Using the Modify Scanning Scope option, you can define conditions to automatically exclude selected scopes from scanning. These conditions can be based on the registry, repository, or tag. After you set the scope, the exclusion conditions are automatically applied to newly discovered images in the account.

To modify the scanning scope, do the following:

1. Navigate to **Settings** → **Data Sources**.
2. In the **Cloud Provider** section, locate the provider where your assets are stored and click **View Details**.
3. On the **Cloud Instances** page, click the instance name for which you want to modify the scope.
4. Under the **Accounts** section, select the account, right-click, and choose **Edit**.
5. Under the **Registry Scanning Scope**, enable **Modify Scanning Scope**.
6. From the list of images, select the image you want to modify.
7. Alternatively, you can also filter for a specific image by clicking the **Filter** icon and selecting **Registry**, **Repository** ,or **Tags** option and then adding the desired value to refine your search.

   The search results are applied automatically, even if you do not select **Save**.
8. Click **Save** to confirm your modifications.

This ensures that the specified scanning scope is customized based on your needs.


---

# 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://cortex-docs.paloaltonetworks.com/cortex-cloud-posture-management/cortex-cloud-data-sources-and-connectors/cloud-posture-and-runtime-security-data-sources/container-registry-scanning/modify-the-container-registry-scanning-scope.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.
