interface Result {
    dependencyResult?: DependencyResult;
    fingerprint?: string;
    fingerprintId?: number;
    resultId?: number;
    resultIndex?: number;
    resultMessage?: string;
    resultType?: ResultType;
    ruleId?: number;
    ruleShortDescription?: string;
    severity?: Severity;
    versionControlResult?: VersionControlResult;
}

Properties

dependencyResult?: DependencyResult

Additional information about the alert. Valid when ResultType is Dependency

fingerprint?: string

Full fingerprint of the Result. This is used to detect duplicate instances of the same alert

fingerprintId?: number

Unique ID of the fingerprint of the Result

resultId?: number

Unique ID of the Result

resultIndex?: number

This is the index into the SARIF Results array. If we have to do any tool specific insertions, we'll use this key to index back into the SARIF Results array.

resultMessage?: string

Detailed description of the rule that triggered the alert

resultType?: ResultType

The type of rule that triggered the alert

ruleId?: number

ID of the rule that the triggered the alert

ruleShortDescription?: string

Short description of the rule that triggered the alert

severity?: Severity

The severity of the alert

versionControlResult?: VersionControlResult

Additional information about the alert. Valid when ResultType is VersionControl