google-apis-ondemandscanning_v1 0.12.0 → 0.13.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: a132d8ccaf40e2686a9eceac80e444cca5ed42482a35e9d1bfbd1ed5e99a1f38
4
- data.tar.gz: aa7e0d47312789c74461f3dc4d156a8df3ebf7d505ec9e2f3e4b43bd743fdcd9
3
+ metadata.gz: 5847ab3aa2c975b2dabec7bf1d4bceb13582e5d63574af9e8c53eabe76971c12
4
+ data.tar.gz: f4c58348f580414d22070a1b4d397a95034ba83abd3e7025685c9d23e29e287b
5
5
  SHA512:
6
- metadata.gz: 61e1a50809930ac19758db1f4769673cd133ed520af26226653f845300c23c4e7e1b5e6eb969615802f868701dfeb784ece5be8a1a40447a94bdbc677f5f88fd
7
- data.tar.gz: e567da537359dbd7637646087e2d585e1fce255073a3d352534fbf1c27df662752bba11f19a686f05410fac061c41ece71759b01b0389ce6d3a1bc0a5fd44300
6
+ metadata.gz: c0343d75e15a0378707781e1c0d11bcb9b80e32259cf13246c7249dbfbf606bd152182a71c32c04640a0e30eb6ee5fc49eda02c3d4edce4def06012ff96ffd36
7
+ data.tar.gz: 90d9cbff7611f6244aa55296f06de3080b9260b78ee6e08b058d32db82eccd1d0bddec86ea8d998b8565a6ec68c48657d263add064c24aeb5f9396a19de0fdda
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.13.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211206
6
+
3
7
  ### v0.12.0 (2021-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20211029
@@ -419,6 +419,96 @@ module Google
419
419
  end
420
420
  end
421
421
 
422
+ # Common Vulnerability Scoring System. For details, see https://www.first.org/
423
+ # cvss/specification-document This is a message we will try to use for storing
424
+ # multiple versions of CVSS. The intention is that as new versions of CVSS
425
+ # scores get added, we will be able to modify this message rather than adding
426
+ # new protos for each new version of the score.
427
+ class Cvss
428
+ include Google::Apis::Core::Hashable
429
+
430
+ #
431
+ # Corresponds to the JSON property `attackComplexity`
432
+ # @return [String]
433
+ attr_accessor :attack_complexity
434
+
435
+ # Base Metrics Represents the intrinsic characteristics of a vulnerability that
436
+ # are constant over time and across user environments.
437
+ # Corresponds to the JSON property `attackVector`
438
+ # @return [String]
439
+ attr_accessor :attack_vector
440
+
441
+ #
442
+ # Corresponds to the JSON property `authentication`
443
+ # @return [String]
444
+ attr_accessor :authentication
445
+
446
+ #
447
+ # Corresponds to the JSON property `availabilityImpact`
448
+ # @return [String]
449
+ attr_accessor :availability_impact
450
+
451
+ # The base score is a function of the base metric scores.
452
+ # Corresponds to the JSON property `baseScore`
453
+ # @return [Float]
454
+ attr_accessor :base_score
455
+
456
+ #
457
+ # Corresponds to the JSON property `confidentialityImpact`
458
+ # @return [String]
459
+ attr_accessor :confidentiality_impact
460
+
461
+ #
462
+ # Corresponds to the JSON property `exploitabilityScore`
463
+ # @return [Float]
464
+ attr_accessor :exploitability_score
465
+
466
+ #
467
+ # Corresponds to the JSON property `impactScore`
468
+ # @return [Float]
469
+ attr_accessor :impact_score
470
+
471
+ #
472
+ # Corresponds to the JSON property `integrityImpact`
473
+ # @return [String]
474
+ attr_accessor :integrity_impact
475
+
476
+ #
477
+ # Corresponds to the JSON property `privilegesRequired`
478
+ # @return [String]
479
+ attr_accessor :privileges_required
480
+
481
+ #
482
+ # Corresponds to the JSON property `scope`
483
+ # @return [String]
484
+ attr_accessor :scope
485
+
486
+ #
487
+ # Corresponds to the JSON property `userInteraction`
488
+ # @return [String]
489
+ attr_accessor :user_interaction
490
+
491
+ def initialize(**args)
492
+ update!(**args)
493
+ end
494
+
495
+ # Update properties of this object
496
+ def update!(**args)
497
+ @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
498
+ @attack_vector = args[:attack_vector] if args.key?(:attack_vector)
499
+ @authentication = args[:authentication] if args.key?(:authentication)
500
+ @availability_impact = args[:availability_impact] if args.key?(:availability_impact)
501
+ @base_score = args[:base_score] if args.key?(:base_score)
502
+ @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
503
+ @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
504
+ @impact_score = args[:impact_score] if args.key?(:impact_score)
505
+ @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
506
+ @privileges_required = args[:privileges_required] if args.key?(:privileges_required)
507
+ @scope = args[:scope] if args.key?(:scope)
508
+ @user_interaction = args[:user_interaction] if args.key?(:user_interaction)
509
+ end
510
+ end
511
+
422
512
  # The category to which the update belongs.
423
513
  class Category
424
514
  include Google::Apis::Core::Hashable
@@ -2398,6 +2488,15 @@ module Google
2398
2488
  # @return [Float]
2399
2489
  attr_accessor :cvss_score
2400
2490
 
2491
+ # Common Vulnerability Scoring System. For details, see https://www.first.org/
2492
+ # cvss/specification-document This is a message we will try to use for storing
2493
+ # multiple versions of CVSS. The intention is that as new versions of CVSS
2494
+ # scores get added, we will be able to modify this message rather than adding
2495
+ # new protos for each new version of the score.
2496
+ # Corresponds to the JSON property `cvssv3`
2497
+ # @return [Google::Apis::OndemandscanningV1::Cvss]
2498
+ attr_accessor :cvssv3
2499
+
2401
2500
  # The distro assigned severity for this vulnerability when it is available,
2402
2501
  # otherwise this is the note provider assigned severity. When there are multiple
2403
2502
  # PackageIssues for this vulnerability, they can have different effective
@@ -2455,6 +2554,7 @@ module Google
2455
2554
  # Update properties of this object
2456
2555
  def update!(**args)
2457
2556
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
2557
+ @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
2458
2558
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2459
2559
  @fix_available = args[:fix_available] if args.key?(:fix_available)
2460
2560
  @long_description = args[:long_description] if args.key?(:long_description)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.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
 
@@ -510,6 +516,24 @@ module Google
510
516
  end
511
517
  end
512
518
 
519
+ class Cvss
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :attack_complexity, as: 'attackComplexity'
523
+ property :attack_vector, as: 'attackVector'
524
+ property :authentication, as: 'authentication'
525
+ property :availability_impact, as: 'availabilityImpact'
526
+ property :base_score, as: 'baseScore'
527
+ property :confidentiality_impact, as: 'confidentialityImpact'
528
+ property :exploitability_score, as: 'exploitabilityScore'
529
+ property :impact_score, as: 'impactScore'
530
+ property :integrity_impact, as: 'integrityImpact'
531
+ property :privileges_required, as: 'privilegesRequired'
532
+ property :scope, as: 'scope'
533
+ property :user_interaction, as: 'userInteraction'
534
+ end
535
+ end
536
+
513
537
  class Category
514
538
  # @private
515
539
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1046,6 +1070,8 @@ module Google
1046
1070
  # @private
1047
1071
  class Representation < Google::Apis::Core::JsonRepresentation
1048
1072
  property :cvss_score, as: 'cvssScore'
1073
+ property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1::Cvss, decorator: Google::Apis::OndemandscanningV1::Cvss::Representation
1074
+
1049
1075
  property :effective_severity, as: 'effectiveSeverity'
1050
1076
  property :fix_available, as: 'fixAvailable'
1051
1077
  property :long_description, as: 'longDescription'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []