> 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/content-collections/application-security/get-started/application-security-settings/exclude-paths.md).

# Exclude Paths

By default, Prisma Cloud conducts scans across all paths in all repositories. You can apply a rule to exclude paths during a scan, and select the repositories to which these exclusions apply.

1. In **Application Security**, select **Settings** > **Application Security**.
2. Scroll-down to **Exclude Paths**.

   <figure><img src="https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-b1f4d967a2feb5ea6b7dc9e341d714e1043b25a4%2Fsettings-config-excludepaths.png?alt=media" alt="settings config excludepaths"><figcaption></figcaption></figure>
3. Add paths to be excluded exclude from scans.

   Use a comma `(,)` to list more than one path or file.

   In this example, the `test, _test, \/test\/` paths were added. During a scan, any path or file that includes the specified values will not be scanned.

   <figure><img src="https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-bf3db764da14a02e4f369984db0ce33b7c839de0%2Fsettings-example.png?alt=media" alt="settings example"><figcaption></figcaption></figure>
4. Select repositories to which you would like to exclude specific paths during scans > **Save**.

## Add Rules

Select **Add Rule** to add exclude additional paths in a repository, and repeat the steps above.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.prismacloud.io/content-collections/application-security/get-started/application-security-settings/exclude-paths.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
