Reference documentation and code samples for the Grafeas V1 Client class Detail.
A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).
Generated from protobuf message grafeas.v1.VulnerabilityNote.Detail
Namespace
Grafeas \ V1 \ VulnerabilityNoteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ severity_name
string
The distro assigned severity of this vulnerability.
↳ description
string
A vendor-specific description of this vulnerability.
↳ package_type
string
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
↳ affected_cpe_uri
↳ affected_package
string
Required. The package this vulnerability affects.
↳ affected_version_start
Grafeas\V1\Version
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
↳ affected_version_end
Grafeas\V1\Version
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
↳ fixed_cpe_uri
string
The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
↳ fixed_package
string
The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
↳ fixed_version
Grafeas\V1\Version
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
↳ is_obsolete
bool
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
↳ 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.
↳ source
string
The source from which the information in this Detail was obtained.
↳ vendor
string
The name of the vendor of the product.
getSeverityName
The distro assigned severity of this vulnerability.
string
setSeverityName
The distro assigned severity of this vulnerability.
var
string
$this
getDescription
A vendor-specific description of this vulnerability.
string
setDescription
A vendor-specific description of this vulnerability.
var
string
$this
getPackageType
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string
setPackageType
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
var
string
$this
getAffectedCpeUri
Required. The CPE URI this vulnerability affects.
string
setAffectedCpeUri
Required. The CPE URI this vulnerability affects.
var
string
$this
getAffectedPackage
Required. The package this vulnerability affects.
string
setAffectedPackage
Required. The package this vulnerability affects.
var
string
$this
getAffectedVersionStart
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
hasAffectedVersionStart
clearAffectedVersionStart
setAffectedVersionStart
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
$this
getAffectedVersionEnd
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
hasAffectedVersionEnd
clearAffectedVersionEnd
setAffectedVersionEnd
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
$this
getFixedCpeUri
The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
string
setFixedCpeUri
The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
var
string
$this
getFixedPackage
The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
string
setFixedPackage
The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
var
string
$this
getFixedVersion
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
hasFixedVersion
clearFixedVersion
setFixedVersion
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
$this
getIsObsolete
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool
setIsObsolete
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
var
bool
$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
getSource
The source from which the information in this Detail was obtained.
string
setSource
The source from which the information in this Detail was obtained.
var
string
$this
getVendor
The name of the vendor of the product.
string
setVendor
The name of the vendor of the product.
var
string
$this