google-apis-containeranalysis_v1alpha1 0.19.0 → 0.20.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: b0e5bb097f290c194aba122c1cd51c72f99bbadad40e4053e76c5c2b7f6f880c
4
- data.tar.gz: c6e6fe7dfcc04983b591a9237acca2c6761d3422dfd11af400d78536346b25a7
3
+ metadata.gz: 95a4ec360d351e75cba2adfe9f5618ad7cd37f4793c200aa4fc63b167e5dbe1d
4
+ data.tar.gz: fcdb4fa64f3661f9b9857fc6e5204bb70024b1305ea9fb61d6de220f00a7f43f
5
5
  SHA512:
6
- metadata.gz: a5007304e2b9a4ecc1df2724e2d42ad23cf89c2b682f45d862c423f0369d0217425b9ca5a3a8b4b04919d0c69c7118455c2edf1c46b18f7066f1873523e38938
7
- data.tar.gz: b4069c4a1ea8a07ca1dc9ecdd40c77f7f7bb34648e779813d5dc0858f26ebb17473123f2652913a61958265dc0335eb3e00195be43c2a939576303dae25173e6
6
+ metadata.gz: f98ae38998f89963f89f97f7e29391a7d73a95ed6a1531f976e16538b9889306119fa58742ae3ebebe4ffb58ed026ca0808e770782ffe7fc39a76a369132b0c5
7
+ data.tar.gz: 434dfc107e1543c2beb5da5e95a72ba905e01a8f3f00d1f49a4f985e24a07917aefa1bb22111e94a9ec17cad6a67011841630760327d250a89b684e4ebc28741
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.20.0 (2022-01-13)
4
+
5
+ * Regenerated from discovery document revision 20220107
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.19.0 (2021-12-16)
4
9
 
5
10
  * Unspecified changes
@@ -492,6 +492,94 @@ module Google
492
492
  end
493
493
  end
494
494
 
495
+ # Common Vulnerability Scoring System. This is the storage level proto that is
496
+ # intended to store similar data as the CVSS proto in google3/third_party/
497
+ # grafeas/proto/v1/cvss.proto
498
+ class Cvss
499
+ include Google::Apis::Core::Hashable
500
+
501
+ #
502
+ # Corresponds to the JSON property `attackComplexity`
503
+ # @return [String]
504
+ attr_accessor :attack_complexity
505
+
506
+ # Base Metrics Represents the intrinsic characteristics of a vulnerability that
507
+ # are constant over time and across user environments.
508
+ # Corresponds to the JSON property `attackVector`
509
+ # @return [String]
510
+ attr_accessor :attack_vector
511
+
512
+ #
513
+ # Corresponds to the JSON property `authentication`
514
+ # @return [String]
515
+ attr_accessor :authentication
516
+
517
+ #
518
+ # Corresponds to the JSON property `availabilityImpact`
519
+ # @return [String]
520
+ attr_accessor :availability_impact
521
+
522
+ # The base score is a function of the base metric scores.
523
+ # Corresponds to the JSON property `baseScore`
524
+ # @return [Float]
525
+ attr_accessor :base_score
526
+
527
+ #
528
+ # Corresponds to the JSON property `confidentialityImpact`
529
+ # @return [String]
530
+ attr_accessor :confidentiality_impact
531
+
532
+ #
533
+ # Corresponds to the JSON property `exploitabilityScore`
534
+ # @return [Float]
535
+ attr_accessor :exploitability_score
536
+
537
+ #
538
+ # Corresponds to the JSON property `impactScore`
539
+ # @return [Float]
540
+ attr_accessor :impact_score
541
+
542
+ #
543
+ # Corresponds to the JSON property `integrityImpact`
544
+ # @return [String]
545
+ attr_accessor :integrity_impact
546
+
547
+ #
548
+ # Corresponds to the JSON property `privilegesRequired`
549
+ # @return [String]
550
+ attr_accessor :privileges_required
551
+
552
+ #
553
+ # Corresponds to the JSON property `scope`
554
+ # @return [String]
555
+ attr_accessor :scope
556
+
557
+ #
558
+ # Corresponds to the JSON property `userInteraction`
559
+ # @return [String]
560
+ attr_accessor :user_interaction
561
+
562
+ def initialize(**args)
563
+ update!(**args)
564
+ end
565
+
566
+ # Update properties of this object
567
+ def update!(**args)
568
+ @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
569
+ @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
570
+ @authentication = args[:authentication] if args.key?(:authentication)
571
+ @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
572
+ @base_score = args[:base_score] if args.key?(:base_score)
573
+ @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
574
+ @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
575
+ @impact_score = args[:impact_score] if args.key?(:impact_score)
576
+ @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
577
+ @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
578
+ @scope = args[:scope] if args.key?(:scope)
579
+ @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
580
+ end
581
+ end
582
+
495
583
  # A compliance check that is a CIS benchmark.
496
584
  class CisBenchmark
497
585
  include Google::Apis::Core::Hashable
@@ -2282,6 +2370,11 @@ module Google
2282
2370
  # @return [Google::Apis::ContaineranalysisV1alpha1::Status]
2283
2371
  attr_accessor :analysis_status_error
2284
2372
 
2373
+ # The time occurrences related to this discovery occurrence were archived.
2374
+ # Corresponds to the JSON property `archiveTime`
2375
+ # @return [String]
2376
+ attr_accessor :archive_time
2377
+
2285
2378
  # Whether the resource is continuously analyzed.
2286
2379
  # Corresponds to the JSON property `continuousAnalysis`
2287
2380
  # @return [String]
@@ -2292,6 +2385,11 @@ module Google
2292
2385
  # @return [String]
2293
2386
  attr_accessor :cpe
2294
2387
 
2388
+ # The last time this resource was scanned.
2389
+ # Corresponds to the JSON property `lastScanTime`
2390
+ # @return [String]
2391
+ attr_accessor :last_scan_time
2392
+
2295
2393
  # This resource represents a long-running operation that is the result of a
2296
2394
  # network API call.
2297
2395
  # Corresponds to the JSON property `operation`
@@ -2306,8 +2404,10 @@ module Google
2306
2404
  def update!(**args)
2307
2405
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2308
2406
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2407
+ @archive_time = args[:archive_time] if args.key?(:archive_time)
2309
2408
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
2310
2409
  @cpe = args[:cpe] if args.key?(:cpe)
2410
+ @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
2311
2411
  @operation = args[:operation] if args.key?(:operation)
2312
2412
  end
2313
2413
  end
@@ -5343,6 +5443,13 @@ module Google
5343
5443
  # @return [Float]
5344
5444
  attr_accessor :cvss_score
5345
5445
 
5446
+ # Common Vulnerability Scoring System. This is the storage level proto that is
5447
+ # intended to store similar data as the CVSS proto in google3/third_party/
5448
+ # grafeas/proto/v1/cvss.proto
5449
+ # Corresponds to the JSON property `cvssV3`
5450
+ # @return [Google::Apis::ContaineranalysisV1alpha1::Cvss]
5451
+ attr_accessor :cvss_v3
5452
+
5346
5453
  # The distro assigned severity for this vulnerability when that is available and
5347
5454
  # note provider assigned severity when distro has not yet assigned a severity
5348
5455
  # for this vulnerability. When there are multiple package issues for this
@@ -5382,6 +5489,7 @@ module Google
5382
5489
  # Update properties of this object
5383
5490
  def update!(**args)
5384
5491
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
5492
+ @cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
5385
5493
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
5386
5494
  @package_issue = args[:package_issue] if args.key?(:package_issue)
5387
5495
  @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.19.0"
19
+ GEM_VERSION = "0.20.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 = "20220107"
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.19.0
4
+ version: 0.20.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-17 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.20.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.3.4
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