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

affected_cpe_uri[RW]

Required. The [CPE URI](cpe.mitre.org/specification/) this vulnerability affects. Corresponds to the JSON property ‘affectedCpeUri` @return [String]

affected_package[RW]

Required. The package this vulnerability affects. Corresponds to the JSON property ‘affectedPackage` @return [String]

affected_version_end[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property ‘affectedVersionEnd` @return [Google::Apis::ContaineranalysisV1::Version]

affected_version_start[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property ‘affectedVersionStart` @return [Google::Apis::ContaineranalysisV1::Version]

description[RW]

A vendor-specific description of this vulnerability. Corresponds to the JSON property ‘description` @return [String]

fixed_cpe_uri[RW]

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]

fixed_package[RW]

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]

fixed_version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property ‘fixedVersion` @return [Google::Apis::ContaineranalysisV1::Version]

is_obsolete[RW]

Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. Corresponds to the JSON property ‘isObsolete` @return [Boolean]

is_obsolete?[RW]

Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. Corresponds to the JSON property ‘isObsolete` @return [Boolean]

package_type[RW]

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]

severity_name[RW]

The distro assigned severity of this vulnerability. Corresponds to the JSON property ‘severityName` @return [String]

source[RW]

The source from which the information in this Detail was obtained. Corresponds to the JSON property ‘source` @return [String]

source_update_time[RW]

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]

vendor[RW]

The name of the vendor of the product. Corresponds to the JSON property ‘vendor` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2426
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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