> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/use-seeds-and-reject-lists.md).

# Use seeds and reject lists

How to use seeds and reject lists to control Snyk API and Web crawling

Control scan behavior by including or excluding specific areas of your target using seeds and reject lists.

## Understanding seeds and reject lists

Seeds list: Add areas of the target that would otherwise be hidden and not discovered during scans. This ensures scans cover everything within the target scope. For example, add administrative areas only accessible through direct links. The seeds list applies only to Web targets.

Reject list: Limit what the scanner visits on the target. This is a collection of URLs the crawler avoids. Use this list to exclude unnecessary or sensitive content such as logout options, private user data, or repetitive structures like paginated lists.

{% hint style="info" %}
The reject list takes precedence over the seeds list. Areas in the seeds list are ignored if they match areas in the reject list.
{% endhint %}

## Add paths to the seeds list

1. Navigate to **Targets** and find the target in the list.
2. Click the **gear** icon to edit the target settings.
3. Navigate to the **Scanner** tab.
4. In the **Seeds list** section, enter the path to include in **Add path**.
5. Click **Add**.

You can add multiple paths. Paths must be relative to the target URL.

Scans follow these paths and explore them, expanding the scan reach across the target.

## Add URLs to the reject list

1. Navigate to **Targets** and find the target in the list.
2. Click the **gear** icon to edit the target settings.
3. Navigate to the **Scanner** tab.
4. In the **Reject list** section, enter the area to exclude in **Add URL**.
5. Click **Add**.

URLs must be absolute. You can use `*` as a wildcard.

Scans do not follow these paths, avoiding these areas during target scans.

## Remove entries from lists

To remove an entry from either list, locate the entry and click the trash icon next to it.

This approach ensures Snyk thoroughly tests hidden areas while excluding sensitive or unnecessary areas, optimizing your scanning process.


---

# 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.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/use-seeds-and-reject-lists.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.
