Skip to main content

org_alert_items

Overview

Nameorg_alert_items
TypeResource
Idgithub.code_scanning.org_alert_items

Fields

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

Methods

NameAccessible byRequired Params
list_alerts_for_orgSELECTorg