The analysis rule that caused the alert.

interface Rule {
    additionalProperties?: { [key: string]: any };
    description?: string;
    friendlyName?: string;
    helpMessage?: string;
    opaqueId?: string;
    resources?: string;
    tags?: string[];
}

Properties

additionalProperties?: { [key: string]: any }

Additional properties of this rule dependent on the rule type. For example, dependency rules may include the CVE ID if it is available.

description?: string

Description of what this rule detects

friendlyName?: string

Plain-text rule identifier

helpMessage?: string

Additional information about this rule

opaqueId?: string

Tool-specific rule identifier

resources?: string

Markdown-formatted list of resources to learn more about the Rule. In some cases, RuleInfo.AdditionalProperties.advisoryUrls is used instead.

tags?: string[]

Classification tags for this rule