class Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation

The location of the vulnerability

Attributes

cpe_uri[RW]

The cpe_uri in [cpe format] (cpe.mitre.org/specification/) format. 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]

package[RW]

The package being described. Corresponds to the JSON property `package` @return [String]

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 `version` @return [Google::Apis::ContaineranalysisV1alpha1::Version]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3870
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 3875
def update!(**args)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @package = args[:package] if args.key?(:package)
  @version = args[:version] if args.key?(:version)
end