Github API - Test Config

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

Updates the status of a single code scanning alert. You must use an access token with the security_events scope to use this endpoint with private repositories. You can also use tokens with the public_repo scope for public repositories only. GitHub Apps must have the security_events write permission to use this endpoint.
Update 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)
403 code_scanning_forbidden_write

code_scanning_forbidden_write [scalar]

Response if the repository is archived or 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)