GET
github_code_scanning_get_alert.py
Requires
repo, read:user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get one code scanning alert, with the rule’s description and the most recent place it was seen.
from charter.packs import github
result = await github.code_scanning_get_alert.ainvoke({"owner": ..., "repo": ..., "alertNumber": ...})
repo, read:user.| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
alertNumber * | integer | The number that identifies the alert in its repository — the number field on a listed alert, and the last segment of its URL. |
Was this page helpful?