class Google::Apis::ContaineranalysisV1beta1::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[RW]

An entity that can have metadata. For example, a Docker image. Corresponds to the JSON property `resource` @return [Google::Apis::ContaineranalysisV1beta1::Resource]

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_v1beta1/classes.rb, line 1505
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 1510
def update!(**args)
  @fixable_count = args[:fixable_count] if args.key?(:fixable_count)
  @resource = args[:resource] if args.key?(:resource)
  @severity = args[:severity] if args.key?(:severity)
  @total_count = args[:total_count] if args.key?(:total_count)
end