Skip to main content

alert_items

Overview

Namealert_items
TypeResource
Idgithub.code_scanning.alert_items

Fields

NameDatatypeDescription
fixed_atstringThe time that the alert was no longer detected and was considered fixed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
instances_urlstringThe REST API URL for fetching the list of instances for an alert.
urlstringThe REST API URL of the alert resource.
statestringState of a code scanning alert.
created_atstringThe time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
updated_atstringThe time that the alert was last updated in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
ruleobject
numberintegerThe security alert number.
html_urlstringThe GitHub URL of the alert resource.
dismissed_atstringThe time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
toolobject
most_recent_instanceobject
dismissed_byobjectSimple User
dismissed_reasonstringRequired 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.

Methods

NameAccessible byRequired Params
list_alerts_for_repoSELECTowner, repo