class Google::Apis::ContaineranalysisV1beta1::PackageIssue

This message wraps a location affected by a vulnerability and its associated fix (if one is available).

Attributes

affected_location[RW]

The location of the vulnerability. Corresponds to the JSON property `affectedLocation` @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]

effective_severity[RW]

Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. Corresponds to the JSON property `effectiveSeverity` @return [String]

fixed_location[RW]

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

package_type[RW]

The type of package (e.g. OS, MAVEN, GO). Corresponds to the JSON property `packageType` @return [String]

severity_name[RW]

Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability. Corresponds to the JSON property `severityName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 2683
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_v1beta1/classes.rb, line 2688
def update!(**args)
  @affected_location = args[:affected_location] if args.key?(:affected_location)
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
  @fixed_location = args[:fixed_location] if args.key?(:fixed_location)
  @package_type = args[:package_type] if args.key?(:package_type)
  @severity_name = args[:severity_name] if args.key?(:severity_name)
end