class Google::Apis::ContaineranalysisV1alpha1::PackageIssue
This message wraps a location affected by a vulnerability and its associated fix (if one is available).
Attributes
The location of the vulnerability Corresponds to the JSON property `affectedLocation` @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability. Corresponds to the JSON property `effectiveSeverity` @return [String]
The location of the vulnerability Corresponds to the JSON property `fixedLocation` @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
The type of package (e.g. OS, MAVEN, GO). Corresponds to the JSON property `packageType` @return [String]
Corresponds to the JSON property `severityName` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2736 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2741 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