> 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/start-scanning/what-happens-during-a-scan.md).

# What happens during a scan

During a scan, Snyk API & Web goes through the target's URLs and interacts with every element found, filling out forms and clicking buttons, among other actions, to perform extensive tests on your target and identify as many vulnerabilities as possible.

Because of these thorough interactions, expect many requests and an influx of information into the target.

## Scan components

A scan involves three major components, each with a specific job:

* The **fingerprinter** identifies the technologies used on the target.
* The **crawler** goes through the target's URLs and interacts with every element found, clicking buttons and filling in forms, among other things.
* The **scanner** finds vulnerabilities within the target's URLs. The process involves two stages. First, it tests the target and identifies candidate vulnerabilities. Then, it validates these candidates to confirm which ones are genuinely exploitable. Validation processes one candidate at a time and continues after the testing stage completes.

## Scan states

A scan has several possible states:

* As soon as you request a scan, it gets the **Queued** state.
* After a queued scan begins, its state changes to **Started**. During a scan, the scan results page displays a progress bar for each of the three components. You can see which component is active and its progress.
* After the fingerprinter, the crawler, and the scanner complete their jobs, the scan ends with the **Completed** state.

### Additional scan states

A scan can have these additional states:

* If a user stops an ongoing scan, the scan state changes to **Canceled**.
* If the target is unreachable or a connection times out, the scan ends with the **Failed** state and a message indicating the error. Snyk uses the same state if a scan fails during execution.
* If the Snyk team must manually confirm some vulnerabilities, the scan gets the **Under Review** state. After this manual review, the scan changes to **Completed**.

## After the scan completes

After a scan finishes successfully, you can generate its scan reports and coverage reports.


---

# 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/start-scanning/what-happens-during-a-scan.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.
