class Google::Apis::ContaineranalysisV1alpha1::Detail

Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2

Attributes

cpe_uri[RW]

The cpe_uri in [cpe format] (cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests. Corresponds to the JSON property `cpeUri` @return [String]

description[RW]

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

fixed_location[RW]

The location of the vulnerability Corresponds to the JSON property `fixedLocation` @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]

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]

max_affected_version[RW]

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: serverfault.com/questions/604541/ debian-packages-version-convention For a discussion of this in Redhat/Fedora/ Centos: blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ Corresponds to the JSON property `maxAffectedVersion` @return [Google::Apis::ContaineranalysisV1alpha1::Version]

min_affected_version[RW]

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: serverfault.com/questions/604541/ debian-packages-version-convention For a discussion of this in Redhat/Fedora/ Centos: blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ Corresponds to the JSON property `minAffectedVersion` @return [Google::Apis::ContaineranalysisV1alpha1::Version]

package[RW]

The name of the package where the vulnerability was found. This field can be used as a filter in list requests. Corresponds to the JSON property `package` @return [String]

package_type[RW]

The type of package; whether native or non native(ruby gems, node.js packages etc) Corresponds to the JSON property `packageType` @return [String]

severity_name[RW]

The severity (eg: distro assigned severity) for 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]

vendor[RW]

The vendor of the product. e.g. “google” Corresponds to the JSON property `vendor` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 1002
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_v1alpha1/classes.rb, line 1007
def update!(**args)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @description = args[:description] if args.key?(:description)
  @fixed_location = args[:fixed_location] if args.key?(:fixed_location)
  @is_obsolete = args[:is_obsolete] if args.key?(:is_obsolete)
  @max_affected_version = args[:max_affected_version] if args.key?(:max_affected_version)
  @min_affected_version = args[:min_affected_version] if args.key?(:min_affected_version)
  @package = args[:package] if args.key?(:package)
  @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)
  @vendor = args[:vendor] if args.key?(:vendor)
end