Reference documentation and code samples for the Grafeas V1 Client class VulnerabilityNote.
A security vulnerability that can be found in resources.
Generated from protobuf message grafeas.v1.VulnerabilityNote
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cvss_score
float
The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
↳ severity
int
The note provider assigned severity of this vulnerability.
↳ details
array< Grafeas\V1\VulnerabilityNote\Detail
>
Details of all known distros and packages affected by this vulnerability.
↳ cvss_v3
↳ windows_details
array< Grafeas\V1\VulnerabilityNote\WindowsDetail
>
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.
↳ source_update_time
Google\Protobuf\Timestamp
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.
↳ cvss_version
int
CVSS version used to populate cvss_score and severity.
↳ cvss_v2
getCvssScore
The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
float
setCvssScore
The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
var
float
$this
getSeverity
The note provider assigned severity of this vulnerability.
int
setSeverity
The note provider assigned severity of this vulnerability.
var
int
$this
getDetails
Details of all known distros and packages affected by this vulnerability.
setDetails
Details of all known distros and packages affected by this vulnerability.
$this
getCvssV3
The full description of the CVSSv3 for this vulnerability.
hasCvssV3
clearCvssV3
setCvssV3
The full description of the CVSSv3 for this vulnerability.
$this
getWindowsDetails
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.
setWindowsDetails
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.
$this
getSourceUpdateTime
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.
hasSourceUpdateTime
clearSourceUpdateTime
setSourceUpdateTime
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.
$this
getCvssVersion
CVSS version used to populate cvss_score and severity.
int
setCvssVersion
CVSS version used to populate cvss_score and severity.
var
int
$this
getCvssV2
The full description of the v2 CVSS for this vulnerability.
hasCvssV2
clearCvssV2
setCvssV2
The full description of the v2 CVSS for this vulnerability.
$this