class Google::Apis::ContaineranalysisV1::FixableTotalByDigest
Per resource and severity counts of fixable and total vulnerabilities.
Attributes
fixable_count[RW]
The number of fixable vulnerabilities associated with this resource. Corresponds to the JSON property ‘fixableCount` @return [Fixnum]
resource_uri[RW]
The affected resource. Corresponds to the JSON property ‘resourceUri` @return [String]
severity[RW]
The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. Corresponds to the JSON property ‘severity` @return [String]
total_count[RW]
The total number of vulnerabilities associated with this resource. Corresponds to the JSON property ‘totalCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 2785 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 2790 def update!(**args) @fixable_count = args[:fixable_count] if args.key?(:fixable_count) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) @severity = args[:severity] if args.key?(:severity) @total_count = args[:total_count] if args.key?(:total_count) end