google-apis-containeranalysis_v1alpha1 0.18.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37e7512c1030095f66d661c946158196ba45a0654caaa1315180d4ae35975b31
4
- data.tar.gz: 7f3b0259ae45fb6c1d47a7f4cac1d20e3b7268a3d96e321d2623ebd9e419684b
3
+ metadata.gz: 8d000b50bcf1976fd5d5c25a9ee77b78c99c006a1beafb08b54d6ff89c087fbb
4
+ data.tar.gz: 98f10219c4d4092d5d15d1ebac2435811b6884401adeddae446c001c0ed876ce
5
5
  SHA512:
6
- metadata.gz: a643c24ef40b7fc91f7b71b2cf9f896ed3ab88a1f840dbba8d3c1456a6059a832c32106d1d1a1f43adad5377a6be417d431396c8e2f134df58a09fdf51f728eb
7
- data.tar.gz: b73f058e0927d04278e65a5d14b552bcd1895c0b164744d4aa9bcd0168025b4bee7c1cae4075492c1436b84b946874e5172be3cd80c5ab2d66ae90c8548e365e
6
+ metadata.gz: 269347b7b8fce94f82d9570c56f9ed1d6b6556138dd8155ccfa44d4a16b0a9fad2db475c856915fcaff4bb2e04e4a2d1688821a81fb0de536e8dd7c28b058aa8
7
+ data.tar.gz: 421d5ff53764ac0986c945666507b335ca693d0e1057347b2999a845992e28f82768f0c5c6225c6cc03c8c2faf101e236a11f6af8340a0c131b6d5ef19d40e9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.22.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220204
6
+
7
+ ### v0.21.0 (2022-01-20)
8
+
9
+ * Regenerated from discovery document revision 20220112
10
+
11
+ ### v0.20.0 (2022-01-13)
12
+
13
+ * Regenerated from discovery document revision 20220107
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.19.0 (2021-12-16)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.18.0 (2021-11-18)
4
21
 
5
22
  * Regenerated from discovery document revision 20211112
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/containeranalysis_v1alpha1"
51
51
  client = Google::Apis::ContaineranalysisV1alpha1::ContainerAnalysisService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -492,6 +492,92 @@ module Google
492
492
  end
493
493
  end
494
494
 
495
+ # Common Vulnerability Scoring System.
496
+ class Cvss
497
+ include Google::Apis::Core::Hashable
498
+
499
+ #
500
+ # Corresponds to the JSON property `attackComplexity`
501
+ # @return [String]
502
+ attr_accessor :attack_complexity
503
+
504
+ # Base Metrics Represents the intrinsic characteristics of a vulnerability that
505
+ # are constant over time and across user environments.
506
+ # Corresponds to the JSON property `attackVector`
507
+ # @return [String]
508
+ attr_accessor :attack_vector
509
+
510
+ #
511
+ # Corresponds to the JSON property `authentication`
512
+ # @return [String]
513
+ attr_accessor :authentication
514
+
515
+ #
516
+ # Corresponds to the JSON property `availabilityImpact`
517
+ # @return [String]
518
+ attr_accessor :availability_impact
519
+
520
+ # The base score is a function of the base metric scores.
521
+ # Corresponds to the JSON property `baseScore`
522
+ # @return [Float]
523
+ attr_accessor :base_score
524
+
525
+ #
526
+ # Corresponds to the JSON property `confidentialityImpact`
527
+ # @return [String]
528
+ attr_accessor :confidentiality_impact
529
+
530
+ #
531
+ # Corresponds to the JSON property `exploitabilityScore`
532
+ # @return [Float]
533
+ attr_accessor :exploitability_score
534
+
535
+ #
536
+ # Corresponds to the JSON property `impactScore`
537
+ # @return [Float]
538
+ attr_accessor :impact_score
539
+
540
+ #
541
+ # Corresponds to the JSON property `integrityImpact`
542
+ # @return [String]
543
+ attr_accessor :integrity_impact
544
+
545
+ #
546
+ # Corresponds to the JSON property `privilegesRequired`
547
+ # @return [String]
548
+ attr_accessor :privileges_required
549
+
550
+ #
551
+ # Corresponds to the JSON property `scope`
552
+ # @return [String]
553
+ attr_accessor :scope
554
+
555
+ #
556
+ # Corresponds to the JSON property `userInteraction`
557
+ # @return [String]
558
+ attr_accessor :user_interaction
559
+
560
+ def initialize(**args)
561
+ update!(**args)
562
+ end
563
+
564
+ # Update properties of this object
565
+ def update!(**args)
566
+ @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
567
+ @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
568
+ @authentication = args[:authentication] if args.key?(:authentication)
569
+ @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
570
+ @base_score = args[:base_score] if args.key?(:base_score)
571
+ @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
572
+ @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
573
+ @impact_score = args[:impact_score] if args.key?(:impact_score)
574
+ @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
575
+ @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
576
+ @scope = args[:scope] if args.key?(:scope)
577
+ @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
578
+ end
579
+ end
580
+
495
581
  # A compliance check that is a CIS benchmark.
496
582
  class CisBenchmark
497
583
  include Google::Apis::Core::Hashable
@@ -2282,6 +2368,11 @@ module Google
2282
2368
  # @return [Google::Apis::ContaineranalysisV1alpha1::Status]
2283
2369
  attr_accessor :analysis_status_error
2284
2370
 
2371
+ # The time occurrences related to this discovery occurrence were archived.
2372
+ # Corresponds to the JSON property `archiveTime`
2373
+ # @return [String]
2374
+ attr_accessor :archive_time
2375
+
2285
2376
  # Whether the resource is continuously analyzed.
2286
2377
  # Corresponds to the JSON property `continuousAnalysis`
2287
2378
  # @return [String]
@@ -2292,6 +2383,11 @@ module Google
2292
2383
  # @return [String]
2293
2384
  attr_accessor :cpe
2294
2385
 
2386
+ # The last time this resource was scanned.
2387
+ # Corresponds to the JSON property `lastScanTime`
2388
+ # @return [String]
2389
+ attr_accessor :last_scan_time
2390
+
2295
2391
  # This resource represents a long-running operation that is the result of a
2296
2392
  # network API call.
2297
2393
  # Corresponds to the JSON property `operation`
@@ -2306,8 +2402,10 @@ module Google
2306
2402
  def update!(**args)
2307
2403
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2308
2404
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2405
+ @archive_time = args[:archive_time] if args.key?(:archive_time)
2309
2406
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
2310
2407
  @cpe = args[:cpe] if args.key?(:cpe)
2408
+ @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
2311
2409
  @operation = args[:operation] if args.key?(:operation)
2312
2410
  end
2313
2411
  end
@@ -5343,6 +5441,11 @@ module Google
5343
5441
  # @return [Float]
5344
5442
  attr_accessor :cvss_score
5345
5443
 
5444
+ # Common Vulnerability Scoring System.
5445
+ # Corresponds to the JSON property `cvssV3`
5446
+ # @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
5447
+ attr_accessor :cvss_v3
5448
+
5346
5449
  # The distro assigned severity for this vulnerability when that is available and
5347
5450
  # note provider assigned severity when distro has not yet assigned a severity
5348
5451
  # for this vulnerability. When there are multiple package issues for this
@@ -5382,6 +5485,7 @@ module Google
5382
5485
  # Update properties of this object
5383
5486
  def update!(**args)
5384
5487
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
5488
+ @cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
5385
5489
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
5386
5490
  @package_issue = args[:package_issue] if args.key?(:package_issue)
5387
5491
  @severity = args[:severity] if args.key?(:severity)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211112"
25
+ REVISION = "20220204"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class Cvss
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class CisBenchmark
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -897,6 +903,24 @@ module Google
897
903
  end
898
904
  end
899
905
 
906
+ class Cvss
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ property :attack_complexity, as: 'attackComplexity'
910
+ property :attack_vector, as: 'attackVector'
911
+ property :authentication, as: 'authentication'
912
+ property :availability_impact, as: 'availabilityImpact'
913
+ property :base_score, as: 'baseScore'
914
+ property :confidentiality_impact, as: 'confidentialityImpact'
915
+ property :exploitability_score, as: 'exploitabilityScore'
916
+ property :impact_score, as: 'impactScore'
917
+ property :integrity_impact, as: 'integrityImpact'
918
+ property :privileges_required, as: 'privilegesRequired'
919
+ property :scope, as: 'scope'
920
+ property :user_interaction, as: 'userInteraction'
921
+ end
922
+ end
923
+
900
924
  class CisBenchmark
901
925
  # @private
902
926
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1360,8 +1384,10 @@ module Google
1360
1384
  property :analysis_status, as: 'analysisStatus'
1361
1385
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1362
1386
 
1387
+ property :archive_time, as: 'archiveTime'
1363
1388
  property :continuous_analysis, as: 'continuousAnalysis'
1364
1389
  property :cpe, as: 'cpe'
1390
+ property :last_scan_time, as: 'lastScanTime'
1365
1391
  property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
1366
1392
 
1367
1393
  end
@@ -2163,6 +2189,8 @@ module Google
2163
2189
  # @private
2164
2190
  class Representation < Google::Apis::Core::JsonRepresentation
2165
2191
  property :cvss_score, as: 'cvssScore'
2192
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1alpha1::Cvss, decorator: Google::Apis::ContaineranalysisV1alpha1::Cvss::Representation
2193
+
2166
2194
  property :effective_severity, as: 'effectiveSeverity'
2167
2195
  collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1alpha1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageIssue::Representation
2168
2196
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Container Analysis API V1alpha1