Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Vulnerability

import type { Vulnerability } from "https://googleapis.deno.dev/v1/securitycenter:v1.ts";

Refers to common vulnerability fields e.g. cve, cvss, cwe etc.

interface Vulnerability {
cve?: Cve;
cwes?: Cwe[];
fixedPackage?: Package;
offendingPackage?: Package;
providerRiskScore?: bigint;
reachable?: boolean;
securityBulletin?: SecurityBulletin;
}

§Properties

§
cve?: Cve
[src]

CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)

§
cwes?: Cwe[]
[src]

Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.

§
fixedPackage?: Package
[src]

The fixed package is relevant to the finding.

§
offendingPackage?: Package
[src]

The offending package is relevant to the finding.

§
providerRiskScore?: bigint
[src]

Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.

§
reachable?: boolean
[src]

Represents whether the vulnerability is reachable (detected via static analysis)

§
securityBulletin?: SecurityBulletin
[src]

The security bulletin is relevant to this finding.