> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.endorlabs.com/feedback

```json
{
  "path": "/scan/sast/viewing-sast-findings/index",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# View SAST Findings

You can view SAST findings in the Findings page.

1. Select **Findings** from the left sidebar.

2. Select **SAST** under **First Party Code**.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/sast-findings.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=b18eb54473719a06ff1392ab06b55f40" alt="View SAST findings" width="2190" height="1212" data-path="images/scan/sast/sast-findings.webp" />

3. You can use the filters to further refine the SAST findings.

4. Select a row to view finding details.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/SAST_findingdetails.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=07853798e4980fda331b8a27d20d8b22" alt="View SAST finding details" style={{width: '50%'}} width="902" height="1816" data-path="images/scan/sast/SAST_findingdetails.webp" />

5. Select **Rule** to view the rule that triggered the finding.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/SAST_findingrule.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=1ed52d1beffd733a998de1d02212d5e1" alt="View SAST finding rules" width="441" height="1208" data-path="images/scan/sast/SAST_findingrule.webp" />

6. To export findings as a CSV file, select the findings, click the vertical three dots, and select **Export Selected** or **Export All**. See [export findings](/inventory-insights/findings#export-findings) to learn more.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/SAST_findingexport.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=41dd616b2eacfc353462465a63c2e1bc" alt="SAST finding export" width="936" height="800" data-path="images/scan/sast/SAST_findingexport.webp" />

## AI-analyzed SAST findings

When you run a SAST scan with `--ai-sast-analysis=agent-fallback`, an AI agent analyzes the findings to determine if they are true security issues or false positives. The AI agent automatically tags verified true positives with `True Positive` and false positives with `False Positive` for easy filtering.

To view AI-analyzed SAST findings:

1. Select **Findings** from the left sidebar.
2. Select **SAST** under **First Party Code**.
3. Use the **Attributes** filter and select **True Positive** or **False Positive** to filter out whatever you want.
4. Select a finding to view the details.

   * **AI Analysis**: Indicates the AI agent's classification and analysis of the finding.
     * **Classification**: Specifies if the finding is categorized as a true positive or false positive, including the associated confidence level.
     * **Analysis Summary**: A brief explanation of the security issue identified, including why the finding was triggered and what type of vulnerability it represents.
     * **Security Impact**: The risk level and potential consequences if the vulnerability is exploited.
     * **Technical Details**: Technical explanation of how the vulnerability can be exploited, including the source and sink points in the code.
     * **Data Flow Analysis**: Traces how untrusted data flows through your code from input to the vulnerable point.
     * **Security Controls**: Displays what security protections exist or are missing in the code.
     * **Risk Assessment**: Detailed reasoning for why the finding is classified as a true positive or false positive, with supporting evidence.
     * **AI Remediation**: Suggested code fix to address the vulnerability.
   * **Info, Rule, Explanation, and Metadata**: Displays the underlying SAST rule information, detailed explanations of the security issue, remediation guidance, and metadata such as CWE classifications and security tags.
     * **Info**: Contains key metadata for the finding, including confidence, impact, first detected time, project, and rule ID.
     * **Rule**: The specific SAST rule that detected the finding, including rule description and code examples.
     * **Explanation**: Analysis summary, security impact, and technical details about why this is a SAST finding.
     * **Remediation**: General remediation guidance for addressing this type of vulnerability.
     * **References**: Links to relevant security references such as CWE definitions.
     * **Metadata**: Contains classification details such as the CWE ID, affected languages, security tags applied to the finding, and detected rule version.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/ai-analyzed-sast-finding.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=22ea094999b25e8d809f41a784560ba1" alt="AI analysis SAST finding" width="2351" height="1232" data-path="images/scan/sast/ai-analyzed-sast-finding.webp" />
