interface Alert {
    alertId?: number;
    alertType?: AlertType;
    confidence?: Confidence;
    dismissal?: Dismissal;
    firstSeenDate?: Date;
    fixedDate?: Date;
    gitRef?: string;
    introducedDate?: Date;
    lastSeenDate?: Date;
    logicalLocations?: LogicalLocation[];
    physicalLocations?: PhysicalLocation[];
    repositoryUrl?: string;
    severity?: Severity;
    state?: State;
    title?: string;
    tools?: Tool[];
    truncatedSecret?: string;
    validationFingerprints?: ValidationFingerprint[];
}

Properties

alertId?: number

Identifier for the alert. It is unqiue within Azure DevOps organization.

alertType?: AlertType

Type of the alert. E.g. secret, code, etc.

confidence?: Confidence

Confidence level of the alert.

dismissal?: Dismissal

Contains information for the dismissal of the alert if the alert has been dismissed.

firstSeenDate?: Date

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.

fixedDate?: Date

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.

gitRef?: string

Reference to a git object, e.g. branch ref.

introducedDate?: Date

This value is computed and returned by the service. This value represents the first time the vulnerability was introduced.

lastSeenDate?: Date

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.

logicalLocations?: LogicalLocation[]

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.

physicalLocations?: PhysicalLocation[]

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.

repositoryUrl?: string

Repository URL where the alert was detected.

severity?: Severity

Severity of the alert.

state?: State

This value is computed and returned by the service. It is a value based on the results from all analysis configurations.

title?: string

Title will only be rendered as text and does not support markdown formatting. There is a maximum character limit of 256.

tools?: Tool[]

Tools that have detected this issue.

truncatedSecret?: string

A truncated/obfuscated version of the secret pertaining to the alert (if applicable).

validationFingerprints?: ValidationFingerprint[]

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)