list_code_scanning_alerts
Lists code-scanning alerts for a repository. Filter by ref, state, tool, or sort to identify and address security vulnerabilities in your code.
Instructions
List code-scanning alerts for a repository. Requires security_events PAT scope for private repos, public_repo for public. Docs: https://docs.github.com/en/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref to filter by (branch/tag/SHA). | |
| page | No | ||
| repo | Yes | Repository name | |
| sort | No | ||
| owner | Yes | Repository owner (user or organization login) | |
| state | No | Filter by alert state. | |
| per_page | No | ||
| direction | No | ||
| tool_name | No | Filter by scanning tool name. |