class Google::Apis::ContaineranalysisV1::Detail
A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).
Attributes
Required. The [CPE URI](cpe.mitre.org/specification/) this vulnerability affects. Corresponds to the JSON property ‘affectedCpeUri` @return [String]
Required. The package this vulnerability affects. Corresponds to the JSON property ‘affectedPackage` @return [String]
Version
contains structured information about the version of a package. Corresponds to the JSON property ‘affectedVersionEnd` @return [Google::Apis::ContaineranalysisV1::Version]
Version
contains structured information about the version of a package. Corresponds to the JSON property ‘affectedVersionStart` @return [Google::Apis::ContaineranalysisV1::Version]
A vendor-specific description of this vulnerability. Corresponds to the JSON property ‘description` @return [String]
The distro recommended [CPE URI](cpe.mitre.org/specification/) to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri. Corresponds to the JSON property ‘fixedCpeUri` @return [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. Corresponds to the JSON property ‘fixedPackage` @return [String]
Version
contains structured information about the version of a package. Corresponds to the JSON property ‘fixedVersion` @return [Google::Apis::ContaineranalysisV1::Version]
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. Corresponds to the JSON property ‘isObsolete` @return [Boolean]
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. Corresponds to the JSON property ‘isObsolete` @return [Boolean]
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). Corresponds to the JSON property ‘packageType` @return [String]
The distro assigned severity of this vulnerability. Corresponds to the JSON property ‘severityName` @return [String]
The source from which the information in this Detail
was obtained. Corresponds to the JSON property ‘source` @return [String]
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. Corresponds to the JSON property ‘sourceUpdateTime` @return [String]
The name of the vendor of the product. Corresponds to the JSON property ‘vendor` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2426 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2431 def update!(**args) @affected_cpe_uri = args[:affected_cpe_uri] if args.key?(:affected_cpe_uri) @affected_package = args[:affected_package] if args.key?(:affected_package) @affected_version_end = args[:affected_version_end] if args.key?(:affected_version_end) @affected_version_start = args[:affected_version_start] if args.key?(:affected_version_start) @description = args[:description] if args.key?(:description) @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri) @fixed_package = args[:fixed_package] if args.key?(:fixed_package) @fixed_version = args[:fixed_version] if args.key?(:fixed_version) @is_obsolete = args[:is_obsolete] if args.key?(:is_obsolete) @package_type = args[:package_type] if args.key?(:package_type) @severity_name = args[:severity_name] if args.key?(:severity_name) @source = args[:source] if args.key?(:source) @source_update_time = args[:source_update_time] if args.key?(:source_update_time) @vendor = args[:vendor] if args.key?(:vendor) end