# Viewing Scan Results

## CLI Screen Output

When a **`safety scan`** is run, output will be displayed in the Terminal window. This output is split into the following sections:

1. **Scan Details:**
   * Version of Safety installed
   * Project repository being scanned
   * Account details of the user performing the scan
   * Confirmation that Python has been detected and the number of requirements files detected in the current location.
2. **Dependency Vulnerabilities Detected**
   * Safety provides details on all dependencies detected during the scan, the number of vulnerabilities present in each, and detailed data about those vulnerabilities, including the Vulnerability ID and relevant CVE IDs.

<figure><img src="/files/VJYwoQrc2qYpWNwSWfPQ" alt=""><figcaption><p>Safety CLI output showing vulnerabiities detected in a requirements file.</p></figcaption></figure>

3. **Recommendations**
   * For each vulnerability that has been detected, Safety will recommend that each be updated to a version in which the vulnerabilities have been fixed.
   * A URL is provided, which can be copied and pasted into your browser to review additional information on each dependency, the vulnerabilities detected, and versions with the fix applied.

<figure><img src="/files/jae375TuynPv5NIXREkl" alt=""><figcaption><p>Recommendations provided for each vulnerability detected in the previous step.</p></figcaption></figure>

<figure><img src="/files/9jjvT6Dj4HI3ZIkb6wAG" alt=""><figcaption><p>Example of detailed changelogs for a package detected in the original scan using the URL provided.</p></figcaption></figure>

## Safety Platform

In addition to viewing output in the Terminal, all scan results are pushed to Safety Platform. Full details on how to view, interpret, and act upon Safety Platform information will be published as part of the Safety Platform documentation.

<figure><img src="/files/FTHLRUiB29VIilHc2ddX" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.safetycli.com/safety-docs/safety-cli/scanning-for-vulnerable-and-malicious-packages/viewing-scan-results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
