> ## 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": "/secure-ai-coding/ai-security-review/index",
  "feedback": "Description of the issue"
}
```

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

</AgentInstructions>

# AI Security Review

> Identify potential security issues in your pull requests using AI-powered review.

AI security code review provides automated code review capabilities using artificial intelligence to identify potential security issues in your codebase.

<Note>
  **Availability**

  AI security code review is available only for GitHub. You can set up AI security code review through the [Endor Labs GitHub App](/secure-ai-coding/ai-security-review/ai-security-review-settings) or using [endorctl](/secure-ai-coding/ai-security-review/ai-security-review-endorctl).
</Note>

After you set up AI security code review, creating a pull request triggers an Endor Labs scan on the diff. Endor Labs sends the scan data to an AI model to produce a security analysis and generates a report.

You can view the report in the Endor Labs user interface. You can also enable pull request comments to get a comment on your GitHub pull request with the details of the AI security code review.

The following sections provide information on how to set up AI security code review, customize a scan profile, and view the AI security code review results.

<CardGroup cols={3}>
  <Card title="Prerequisites" icon="circle-check" href="/secure-ai-coding/ai-security-review/ai-security-prerequisites">
    Verify the prerequisites for AI security code review.
  </Card>

  <Card title="Set up AI security code review" icon="gear" href="/secure-ai-coding/ai-security-review/ai-security-review-settings">
    Learn how to set up AI security code review with GitHub App.
  </Card>

  <Card title="View AI security code review results" icon="chart-bar" href="/secure-ai-coding/ai-security-review/ai-security-review-results">
    Learn how to view the AI security code review results.
  </Card>

  <Card title="PR Comments for AI Security Review" icon="comments" href="/secure-ai-coding/ai-security-review/ai-security-review-pr-comments">
    Learn how AI security code review PR comments work and how to interpret them.
  </Card>

  <Card title="AI security code review dashboard" icon="tachometer-alt" href="/inventory-insights/dashboards/ai-security-review">
    Learn how to view AI security code review dashboard.
  </Card>

  <Card title="AI security code review with endorctl" icon="terminal" href="/secure-ai-coding/ai-security-review/ai-security-review-endorctl">
    Use endorctl and GitHub environment variables for AI security code review.
  </Card>
</CardGroup>
