Github API - Test Config

GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}
repos
code-scanning

Gets a single code scanning alert. You must use an access token with the security_events scope to use this endpoint with private repos, the public_repo scope also grants permission to read security events on public repos only. GitHub Apps must have the security_events read permission to use this endpoint.
Get a code scanning alert

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key alert-number

alert-number [scalar]

The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the number field in the response from the GET /repos/{owner}/{repo}/code-scanning/alerts operation.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json code-scanning-alert

code-scanning-alert [object]

Attributes
created_at alert-created-at

dismissed_at alert-dismissed-at

dismissed_by nullable-simple-user

fixed_at alert-fixed-at

html_url alert-html-url

instances_url alert-instances-url

most_recent_instance code-scanning-alert-instance

number alert-number

updated_at alert-updated-at

url alert-url

API:
Github Open API
(version: 1.1.4)
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
403 code_scanning_forbidden_read

code_scanning_forbidden_read [scalar]

Response if GitHub Advanced Security is not enabled for this repository

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
503 service_unavailable

service_unavailable [scalar]

Service unavailable

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)