GitHub v3 REST API

alert-html-url

string

The GitHub URL of the alert resource.

alert-instances-url

string

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

code-scanning-alert-dismissed-at

string

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

code-scanning-alert-dismissed-reason

string

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.

Allowed values:false positivewon't fixused in tests

code-scanning-alert-rule-summary

object
idstring

A unique identifier for the rule used to detect the alert.

namestring

The name of the rule used to detect the alert.

severitystring

The severity of the alert.

Allowed values:nonenotewarningerror

descriptionstring

A short description of the rule used to detect the alert.

Example