google-apis-ondemandscanning_v1beta1 0.14.0 → 0.15.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: 15b67f782f5ba2490b1c8e503b632eb1225c01d665c7939194e1d989e77bc697
4
- data.tar.gz: 92ca0a09c8c4bb4982acced543cb25432cdb7d165369dfdd33ef7475b620ab74
3
+ metadata.gz: 8e7fda1d157ea594b3b73177139e1f7623e6bbbbe0e45acc279451e5e415cdb5
4
+ data.tar.gz: 295c42fe10a76e79b490b19e6a72a360f5e38df21f45dc7c1b1fbcf6b6dafd99
5
5
  SHA512:
6
- metadata.gz: 806717a4122076c3550cc29679975b627548120ac9834a8a9495d24d3bc0843a27442bffdefa5be14387de371b10680a43a258fa65df1953425db1e3b02f6c16
7
- data.tar.gz: ca118a54dc3db41f4f75ec010a9df5e1122272244a279fd27695640f146e1512e21c7abe963fda1215a197134dc86f4de540bc96b424efdc50e4df9d53bd5abc
6
+ metadata.gz: 3cb46cbd6e5fb17e6814fb13b840b77b7e97b787f6c87215819782a3946528a807deb1cd45b1a6ca8d0e2773576824b3d2cf59b71bda814d323dc11695307d81
7
+ data.tar.gz: 525c0ff10d16556cd8d4a6b48525335f67385937f2eb9e6cc92632eacc8f1183729c085fc94441b8f7a69098a9005ebf0260068e64e48e838bbbb07452ceb70b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211206
6
+
3
7
  ### v0.14.0 (2021-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20211029
@@ -411,6 +411,96 @@ module Google
411
411
  end
412
412
  end
413
413
 
414
+ # Common Vulnerability Scoring System. For details, see https://www.first.org/
415
+ # cvss/specification-document This is a message we will try to use for storing
416
+ # multiple versions of CVSS. The intention is that as new versions of CVSS
417
+ # scores get added, we will be able to modify this message rather than adding
418
+ # new protos for each new version of the score.
419
+ class Cvss
420
+ include Google::Apis::Core::Hashable
421
+
422
+ #
423
+ # Corresponds to the JSON property `attackComplexity`
424
+ # @return [String]
425
+ attr_accessor :attack_complexity
426
+
427
+ # Base Metrics Represents the intrinsic characteristics of a vulnerability that
428
+ # are constant over time and across user environments.
429
+ # Corresponds to the JSON property `attackVector`
430
+ # @return [String]
431
+ attr_accessor :attack_vector
432
+
433
+ #
434
+ # Corresponds to the JSON property `authentication`
435
+ # @return [String]
436
+ attr_accessor :authentication
437
+
438
+ #
439
+ # Corresponds to the JSON property `availabilityImpact`
440
+ # @return [String]
441
+ attr_accessor :availability_impact
442
+
443
+ # The base score is a function of the base metric scores.
444
+ # Corresponds to the JSON property `baseScore`
445
+ # @return [Float]
446
+ attr_accessor :base_score
447
+
448
+ #
449
+ # Corresponds to the JSON property `confidentialityImpact`
450
+ # @return [String]
451
+ attr_accessor :confidentiality_impact
452
+
453
+ #
454
+ # Corresponds to the JSON property `exploitabilityScore`
455
+ # @return [Float]
456
+ attr_accessor :exploitability_score
457
+
458
+ #
459
+ # Corresponds to the JSON property `impactScore`
460
+ # @return [Float]
461
+ attr_accessor :impact_score
462
+
463
+ #
464
+ # Corresponds to the JSON property `integrityImpact`
465
+ # @return [String]
466
+ attr_accessor :integrity_impact
467
+
468
+ #
469
+ # Corresponds to the JSON property `privilegesRequired`
470
+ # @return [String]
471
+ attr_accessor :privileges_required
472
+
473
+ #
474
+ # Corresponds to the JSON property `scope`
475
+ # @return [String]
476
+ attr_accessor :scope
477
+
478
+ #
479
+ # Corresponds to the JSON property `userInteraction`
480
+ # @return [String]
481
+ attr_accessor :user_interaction
482
+
483
+ def initialize(**args)
484
+ update!(**args)
485
+ end
486
+
487
+ # Update properties of this object
488
+ def update!(**args)
489
+ @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
490
+ @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
491
+ @authentication = args[:authentication] if args.key?(:authentication)
492
+ @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
493
+ @base_score = args[:base_score] if args.key?(:base_score)
494
+ @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
495
+ @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
496
+ @impact_score = args[:impact_score] if args.key?(:impact_score)
497
+ @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
498
+ @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
499
+ @scope = args[:scope] if args.key?(:scope)
500
+ @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
501
+ end
502
+ end
503
+
414
504
  # The category to which the update belongs.
415
505
  class Category
416
506
  include Google::Apis::Core::Hashable
@@ -2390,6 +2480,15 @@ module Google
2390
2480
  # @return [Float]
2391
2481
  attr_accessor :cvss_score
2392
2482
 
2483
+ # Common Vulnerability Scoring System. For details, see https://www.first.org/
2484
+ # cvss/specification-document This is a message we will try to use for storing
2485
+ # multiple versions of CVSS. The intention is that as new versions of CVSS
2486
+ # scores get added, we will be able to modify this message rather than adding
2487
+ # new protos for each new version of the score.
2488
+ # Corresponds to the JSON property `cvssv3`
2489
+ # @return [Google::Apis::OndemandscanningV1beta1::Cvss]
2490
+ attr_accessor :cvssv3
2491
+
2393
2492
  # The distro assigned severity for this vulnerability when it is available,
2394
2493
  # otherwise this is the note provider assigned severity. When there are multiple
2395
2494
  # PackageIssues for this vulnerability, they can have different effective
@@ -2447,6 +2546,7 @@ module Google
2447
2546
  # Update properties of this object
2448
2547
  def update!(**args)
2449
2548
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
2549
+ @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
2450
2550
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2451
2551
  @fix_available = args[:fix_available] if args.key?(:fix_available)
2452
2552
  @long_description = args[:long_description] if args.key?(:long_description)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
25
+ REVISION = "20211206"
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 Category
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -509,6 +515,24 @@ module Google
509
515
  end
510
516
  end
511
517
 
518
+ class Cvss
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :attack_complexity, as: 'attackComplexity'
522
+ property :attack_vector, as: 'attackVector'
523
+ property :authentication, as: 'authentication'
524
+ property :availability_impact, as: 'availabilityImpact'
525
+ property :base_score, as: 'baseScore'
526
+ property :confidentiality_impact, as: 'confidentialityImpact'
527
+ property :exploitability_score, as: 'exploitabilityScore'
528
+ property :impact_score, as: 'impactScore'
529
+ property :integrity_impact, as: 'integrityImpact'
530
+ property :privileges_required, as: 'privilegesRequired'
531
+ property :scope, as: 'scope'
532
+ property :user_interaction, as: 'userInteraction'
533
+ end
534
+ end
535
+
512
536
  class Category
513
537
  # @private
514
538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1045,6 +1069,8 @@ module Google
1045
1069
  # @private
1046
1070
  class Representation < Google::Apis::Core::JsonRepresentation
1047
1071
  property :cvss_score, as: 'cvssScore'
1072
+ property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1beta1::Cvss, decorator: Google::Apis::OndemandscanningV1beta1::Cvss::Representation
1073
+
1048
1074
  property :effective_severity, as: 'effectiveSeverity'
1049
1075
  property :fix_available, as: 'fixAvailable'
1050
1076
  property :long_description, as: 'longDescription'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-13 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-ondemandscanning_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []