google-apis-ondemandscanning_v1beta1 0.55.0 → 0.56.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: 00752a1867d7faf7faae8ff59896df4d9666118414e0b6a372ef00add84fab3d
4
- data.tar.gz: 1f71431cf88b023c810d22dae770e430a0f37ad3d589c61ecc39432f4246c792
3
+ metadata.gz: 4ef8b19b76ae3a4c3b00ce998c85d62173f5c6f1a551ec9003f1c707070a3b6b
4
+ data.tar.gz: d97135940bc612ec4881c003105c3e44a4002e338db4937e4045915a590aacc3
5
5
  SHA512:
6
- metadata.gz: df0265a0c9d99249c0013fa2b3a84f4b2728e4f5f7cf2c9c9dc43ec48c33bdbb606ea7cc7b63427f33672ab8398ba81c2d1b113d6fa79c4fe6fbe7e4b22374f4
7
- data.tar.gz: cdb6b9f06f2adccaf3ee135e6d6ea3d1d1604adc411794c3e536157c914e0304289b6201c7c1e7a36642fc62057f4151f94a7ac5b3d5453b286b96829e0314dd
6
+ metadata.gz: 03a36075ac598f925cc2ebe7729bb79de787ae1fc7551df9bb15fb3dc28e003fd91d1995d6233c71f584f4364068e1c7c74a9d85954ffb0e26d39d242e1b8221
7
+ data.tar.gz: ae012da8a4d24fc7f8fc14e90980650f873310d062f28012e79df1d389bf7c95ee4ae09272dcd68bb4c073464991a273c515fbac8e6f1342619bfc26084c057d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.56.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250815
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.55.0 (2025-05-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20250519
@@ -569,6 +569,26 @@ module Google
569
569
  end
570
570
  end
571
571
 
572
+ #
573
+ class CisaKnownExploitedVulnerabilities
574
+ include Google::Apis::Core::Hashable
575
+
576
+ # Whether the vulnerability is known to have been leveraged as part of a
577
+ # ransomware campaign.
578
+ # Corresponds to the JSON property `knownRansomwareCampaignUse`
579
+ # @return [String]
580
+ attr_accessor :known_ransomware_campaign_use
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ @known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
589
+ end
590
+ end
591
+
572
592
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
573
593
  # cvss/specification-document This is a message we will try to use for storing
574
594
  # various versions of CVSS rather than making a separate proto for storing a
@@ -1113,6 +1133,33 @@ module Google
1113
1133
  end
1114
1134
  end
1115
1135
 
1136
+ #
1137
+ class ExploitPredictionScoringSystem
1138
+ include Google::Apis::Core::Hashable
1139
+
1140
+ # The percentile of the current score, the proportion of all scored
1141
+ # vulnerabilities with the same or a lower EPSS score
1142
+ # Corresponds to the JSON property `percentile`
1143
+ # @return [Float]
1144
+ attr_accessor :percentile
1145
+
1146
+ # The EPSS score representing the probability [0-1] of exploitation in the wild
1147
+ # in the next 30 days
1148
+ # Corresponds to the JSON property `score`
1149
+ # @return [Float]
1150
+ attr_accessor :score
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ @percentile = args[:percentile] if args.key?(:percentile)
1159
+ @score = args[:score] if args.key?(:score)
1160
+ end
1161
+ end
1162
+
1116
1163
  #
1117
1164
  class File
1118
1165
  include Google::Apis::Core::Hashable
@@ -2976,6 +3023,33 @@ module Google
2976
3023
  end
2977
3024
  end
2978
3025
 
3026
+ #
3027
+ class Risk
3028
+ include Google::Apis::Core::Hashable
3029
+
3030
+ # CISA maintains the authoritative source of vulnerabilities that have been
3031
+ # exploited in the wild.
3032
+ # Corresponds to the JSON property `cisaKev`
3033
+ # @return [Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities]
3034
+ attr_accessor :cisa_kev
3035
+
3036
+ # The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
3037
+ # probability) that a software vulnerability will be exploited in the wild.
3038
+ # Corresponds to the JSON property `epss`
3039
+ # @return [Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem]
3040
+ attr_accessor :epss
3041
+
3042
+ def initialize(**args)
3043
+ update!(**args)
3044
+ end
3045
+
3046
+ # Update properties of this object
3047
+ def update!(**args)
3048
+ @cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
3049
+ @epss = args[:epss] if args.key?(:epss)
3050
+ end
3051
+ end
3052
+
2979
3053
  #
2980
3054
  class RunDetails
2981
3055
  include Google::Apis::Core::Hashable
@@ -3997,6 +4071,11 @@ module Google
3997
4071
  # @return [Array<Google::Apis::OndemandscanningV1beta1::RelatedUrl>]
3998
4072
  attr_accessor :related_urls
3999
4073
 
4074
+ # Risk information about the vulnerability, such as CISA, EPSS, etc.
4075
+ # Corresponds to the JSON property `risk`
4076
+ # @return [Google::Apis::OndemandscanningV1beta1::Risk]
4077
+ attr_accessor :risk
4078
+
4000
4079
  # Output only. The note provider assigned severity of this vulnerability.
4001
4080
  # Corresponds to the JSON property `severity`
4002
4081
  # @return [String]
@@ -4035,6 +4114,7 @@ module Google
4035
4114
  @long_description = args[:long_description] if args.key?(:long_description)
4036
4115
  @package_issue = args[:package_issue] if args.key?(:package_issue)
4037
4116
  @related_urls = args[:related_urls] if args.key?(:related_urls)
4117
+ @risk = args[:risk] if args.key?(:risk)
4038
4118
  @severity = args[:severity] if args.key?(:severity)
4039
4119
  @short_description = args[:short_description] if args.key?(:short_description)
4040
4120
  @type = args[:type] if args.key?(:type)
@@ -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.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250519"
25
+ REVISION = "20250815"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class CisaKnownExploitedVulnerabilities
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Cvss
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -196,6 +202,12 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class ExploitPredictionScoringSystem
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class File
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -478,6 +490,12 @@ module Google
478
490
  include Google::Apis::Core::JsonObjectSupport
479
491
  end
480
492
 
493
+ class Risk
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
481
499
  class RunDetails
482
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
501
 
@@ -791,6 +809,13 @@ module Google
791
809
  end
792
810
  end
793
811
 
812
+ class CisaKnownExploitedVulnerabilities
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
816
+ end
817
+ end
818
+
794
819
  class Cvss
795
820
  # @private
796
821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -937,6 +962,14 @@ module Google
937
962
  end
938
963
  end
939
964
 
965
+ class ExploitPredictionScoringSystem
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :percentile, as: 'percentile'
969
+ property :score, as: 'score'
970
+ end
971
+ end
972
+
940
973
  class File
941
974
  # @private
942
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1457,6 +1490,16 @@ module Google
1457
1490
  end
1458
1491
  end
1459
1492
 
1493
+ class Risk
1494
+ # @private
1495
+ class Representation < Google::Apis::Core::JsonRepresentation
1496
+ property :cisa_kev, as: 'cisaKev', class: Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::OndemandscanningV1beta1::CisaKnownExploitedVulnerabilities::Representation
1497
+
1498
+ property :epss, as: 'epss', class: Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem, decorator: Google::Apis::OndemandscanningV1beta1::ExploitPredictionScoringSystem::Representation
1499
+
1500
+ end
1501
+ end
1502
+
1460
1503
  class RunDetails
1461
1504
  # @private
1462
1505
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1737,6 +1780,8 @@ module Google
1737
1780
 
1738
1781
  collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1beta1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1beta1::RelatedUrl::Representation
1739
1782
 
1783
+ property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1beta1::Risk, decorator: Google::Apis::OndemandscanningV1beta1::Risk::Representation
1784
+
1740
1785
  property :severity, as: 'severity'
1741
1786
  property :short_description, as: 'shortDescription'
1742
1787
  property :type, as: 'type'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: