Skip to main content
Schema1.1.4object

code-scanning-alert

Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65
created_at string (date-time)
required

The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

dismissed_at string (date-time)
requirednullable

The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

dismissed_reason
string<code-scanning-alert-dismissed-reason>
requirednullable

**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.

html_url string (uri)
required

The GitHub URL of the alert resource.

instances
optionaldeprecated
instances_url string (uri)
required

The REST API URL for fetching the list of instances for an alert.

number integer
required

The security alert number.

state
string<code-scanning-alert-state>
required

State of a code scanning alert.

url string (uri)
required

The REST API URL of the alert resource.