Class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityOccurrencesSummary

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb

Overview

A summary of how many vulnerability occurrences there are per resource and severity type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VulnerabilityOccurrencesSummary

Returns a new instance of VulnerabilityOccurrencesSummary.



6974
6975
6976
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6974

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#countsArray<Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest>

A listing by resource of the number of fixable and total vulnerabilities. Corresponds to the JSON property counts



6972
6973
6974
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6972

def counts
  @counts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6979
6980
6981
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 6979

def update!(**args)
  @counts = args[:counts] if args.key?(:counts)
end