DraftAlert interface
Draft alert projection returned by the Draft Alert API.
- Extends
Properties
| sarif |
Highest mapped SARIF submission ID for this alert and branch, when available. |
| triage | Triage state and committed GHAzDO decision for this alert and branch. |
Inherited Properties
| additional |
Additional information message to display for this alert. For ASAN tools, contains crash details formatted in code blocks. For AI code scanning tools, contains markdown content from result.message.markdown. |
| additional |
Additional properties of this alert. |
| alert |
Identifier for the alert. It is unique within Azure DevOps organization. |
| alert |
Type of the alert. E.g. secret, code, etc. |
| confidence | Confidence level of the alert. |
| dismissal | Contains information for the dismissal of the alert if the alert has been dismissed. |
| epss |
Rank (0-1) of EpssScore relative to all scored advisories. Null when no EPSS metadata is available for the advisory. |
| epss |
EPSS probability (0-1) that the advisory behind this dependency alert will be exploited in the next 30 days. Null when no EPSS metadata is available for the advisory. |
| first |
This value is computed and returned by the service. This value represents the first time the service has seen this issue reported in an analysis instance. |
| fixed |
This value is computed and returned by the service. If the issue is fixed, this value represents the time the service has seen this issue fixed in an analysis instance. |
| git |
Reference to a git object, e.g. branch ref. |
| has |
Value indicates whether the alert comes from a SARIF uploaded by a trusted source. |
| introduced |
This value is computed and returned by the service. This value represents the first time the vulnerability was introduced. |
| is |
Value indicates whether Copilot Autofix can currently be run on the alert. True when Copilot Autofix is available for the organization and enabled on the repository, the alert is of an eligible type. Null when the value has not been computed for this code path. |
| is |
Value indicates whether the alert was generated for a development dependency. True indicates development dependency, false indicates runtime dependency, and null indicates unknown or not applicable. |
| last |
This value is computed and returned by the service. This value represents the last time the service has seen this issue reported in an analysis instance. |
| logical |
Logical locations for the alert. This value is computed and returned by the service. It is a value based on the results from all analysis configurations. An example of a logical location is a component. |
| physical |
This value is computed and returned by the service. It is a value based on the results from all analysis configurations. An example of a physical location is a file location. |
| project |
Identifier of the project where the alert was detected. |
| relations | Relations between alerts and other artifacts. |
| repository |
Identifier of the repository where the alert was detected. |
| repository |
Repository URL where the alert was detected. |
| severity | Severity of the alert. |
| state | This value is computed and returned by the service. It is a value based on the results from all analysis configurations. |
| title | Title will only be rendered as text and does not support markdown formatting. There is a maximum character limit of 512. |
| tools | Tools that have detected this issue. |
| truncated |
A truncated/obfuscated version of the secret pertaining to the alert (if applicable). |
| validation |
ValidationFingerprints for the secret liveness check. Only returned on demand in Get API with Expand parameter set to be ValidationFingerprint (not returned in List API) |
| validity |
Validity details of an alert. Currently, this is only applicable to secret alerts. In case of secret alerts, the validity status and time is computed by looking at the liveness results for validation fingerprints associated to an alert. |
Property Details
sarifSubmissionId
Highest mapped SARIF submission ID for this alert and branch, when available.
sarifSubmissionId: number
Property Value
number
triage
Triage state and committed GHAzDO decision for this alert and branch.
triage: AlertTriageDetails
Property Value
Inherited Property Details
additionalInformationMessage
Additional information message to display for this alert. For ASAN tools, contains crash details formatted in code blocks. For AI code scanning tools, contains markdown content from result.message.markdown.
additionalInformationMessage: string
Property Value
string
Inherited From Alert.additionalInformationMessage
additionalProperties
Additional properties of this alert.
additionalProperties: {[key: string]: any}
Property Value
{[key: string]: any}
Inherited From Alert.additionalProperties
alertId
Identifier for the alert. It is unique within Azure DevOps organization.
alertId: number
Property Value
number
Inherited From Alert.alertId
alertType
Type of the alert. E.g. secret, code, etc.
alertType: AlertType
Property Value
Inherited From Alert.alertType
confidence
Confidence level of the alert.
confidence: Confidence
Property Value
Inherited From Alert.confidence
dismissal
Contains information for the dismissal of the alert if the alert has been dismissed.
dismissal: Dismissal
Property Value
Inherited From Alert.dismissal
epssPercentile
Rank (0-1) of EpssScore relative to all scored advisories. Null when no EPSS metadata is available for the advisory.
epssPercentile: number
Property Value
number
Inherited From Alert.epssPercentile
epssScore
EPSS probability (0-1) that the advisory behind this dependency alert will be exploited in the next 30 days. Null when no EPSS metadata is available for the advisory.
epssScore: number
Property Value
number
Inherited From Alert.epssScore
firstSeenDate
This value is computed and returned by the service. This value represents the first time the service has seen this issue reported in an analysis instance.
firstSeenDate: Date
Property Value
Date
Inherited From Alert.firstSeenDate
fixedDate
This value is computed and returned by the service. If the issue is fixed, this value represents the time the service has seen this issue fixed in an analysis instance.
fixedDate: Date
Property Value
Date
Inherited From Alert.fixedDate
gitRef
Reference to a git object, e.g. branch ref.
gitRef: string
Property Value
string
Inherited From Alert.gitRef
hasTrustedSourceOrigin
Value indicates whether the alert comes from a SARIF uploaded by a trusted source.
hasTrustedSourceOrigin: boolean
Property Value
boolean
Inherited From Alert.hasTrustedSourceOrigin
introducedDate
This value is computed and returned by the service. This value represents the first time the vulnerability was introduced.
introducedDate: Date
Property Value
Date
Inherited From Alert.introducedDate
isAutoFixable
Value indicates whether Copilot Autofix can currently be run on the alert. True when Copilot Autofix is available for the organization and enabled on the repository, the alert is of an eligible type. Null when the value has not been computed for this code path.
isAutoFixable: boolean
Property Value
boolean
Inherited From Alert.isAutoFixable
isDevDependency
Value indicates whether the alert was generated for a development dependency. True indicates development dependency, false indicates runtime dependency, and null indicates unknown or not applicable.
isDevDependency: boolean
Property Value
boolean
Inherited From Alert.isDevDependency
lastSeenDate
This value is computed and returned by the service. This value represents the last time the service has seen this issue reported in an analysis instance.
lastSeenDate: Date
Property Value
Date
Inherited From Alert.lastSeenDate
logicalLocations
Logical locations for the alert. This value is computed and returned by the service. It is a value based on the results from all analysis configurations. An example of a logical location is a component.
logicalLocations: LogicalLocation[]
Property Value
Inherited From Alert.logicalLocations
physicalLocations
This value is computed and returned by the service. It is a value based on the results from all analysis configurations. An example of a physical location is a file location.
physicalLocations: PhysicalLocation[]
Property Value
Inherited From Alert.physicalLocations
projectId
Identifier of the project where the alert was detected.
projectId: string
Property Value
string
Inherited From Alert.projectId
relations
Relations between alerts and other artifacts.
relations: RelationMetadata[]
Property Value
Inherited From Alert.relations
repositoryId
Identifier of the repository where the alert was detected.
repositoryId: string
Property Value
string
Inherited From Alert.repositoryId
repositoryUrl
Repository URL where the alert was detected.
repositoryUrl: string
Property Value
string
Inherited From Alert.repositoryUrl
severity
state
This value is computed and returned by the service. It is a value based on the results from all analysis configurations.
state: State
Property Value
Inherited From Alert.state
title
Title will only be rendered as text and does not support markdown formatting. There is a maximum character limit of 512.
title: string
Property Value
string
Inherited From Alert.title
tools
truncatedSecret
A truncated/obfuscated version of the secret pertaining to the alert (if applicable).
truncatedSecret: string
Property Value
string
Inherited From Alert.truncatedSecret
validationFingerprints
ValidationFingerprints for the secret liveness check. Only returned on demand in Get API with Expand parameter set to be ValidationFingerprint (not returned in List API)
validationFingerprints: ValidationFingerprint[]
Property Value
Inherited From Alert.validationFingerprints
validityDetails
Validity details of an alert. Currently, this is only applicable to secret alerts. In case of secret alerts, the validity status and time is computed by looking at the liveness results for validation fingerprints associated to an alert.
validityDetails: AlertValidityInfo
Property Value
Inherited From Alert.validityDetails