VulnerabilityResponse

data class VulnerabilityResponse(val cvssScore: Double, val cvssV2: CVSSResponse, val cvssV3: CVSSv3Response, val cvssVersion: String, val cwe: List<String>, val details: List<DetailResponse>, val severity: String, val sourceUpdateTime: String, val windowsDetails: List<WindowsDetailResponse>)

Vulnerability provides metadata about a security vulnerability in a Note.

Constructors

Link copied to clipboard
constructor(cvssScore: Double, cvssV2: CVSSResponse, cvssV3: CVSSv3Response, cvssVersion: String, cwe: List<String>, details: List<DetailResponse>, severity: String, sourceUpdateTime: String, windowsDetails: List<WindowsDetailResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CVSS score for this vulnerability.

Link copied to clipboard

The full description of the CVSS for version 2.

Link copied to clipboard

The full description of the CVSS for version 3.

Link copied to clipboard

CVSS version used to populate cvss_score and severity.

Link copied to clipboard

A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html

Link copied to clipboard

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

Link copied to clipboard

Note provider assigned impact of the vulnerability.

Link copied to clipboard

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

Link copied to clipboard

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.