google-apis-ondemandscanning_v1 0.56.0 → 0.57.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: 55f2d8aa7f760137bfaea8aefa5e447de1795e8b3cee71b7e9133a779f6e1e95
4
- data.tar.gz: 547c3c889016855d8c4e31b7b3b6da6a947895ae97d63c4ee139d65e32a66c1b
3
+ metadata.gz: 405cc7069f11b36976e04f6d4b7fe971bb6e0930b4f7a9802cc75a4cce3ed483
4
+ data.tar.gz: 67e10bee808a0235e7e1057c17106506553165dbb1aa10e7a9f772d146b6b7ca
5
5
  SHA512:
6
- metadata.gz: e94aaaf4ff95c4f0b664ceb5bb34ff6af41388136ffd8b7374f1e0375abeb4097f60dd41b6fda7adb073b9963621b3530a174d8c9b1092875d12db591155b7be
7
- data.tar.gz: 34a3f6531f1b255be7f8038bb89ca890c79e5f51382355598e1549dec17f58490f231ef1b2170002570e9bbab5121523f54e919ab986bac47d356b6926ce40ef
6
+ metadata.gz: 45cefee01bc2e9198ae779f46de2858e6643ce17863caf7096109489bf0a8b5e0e114b9560b5d188c69e04adfbf745a319c7c99ebb03066dfff8d1d9b09ad303
7
+ data.tar.gz: 21f66a28d2e97d2c93d4b25784acbd9b00f1f1ab3023e11374d36ba652007c50a84af36436f4698e0d21004ed582cf0d9153a0bca6ccd43069745a34a69ec5a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.57.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250815
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.56.0 (2025-05-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20250519
@@ -577,6 +577,26 @@ module Google
577
577
  end
578
578
  end
579
579
 
580
+ #
581
+ class CisaKnownExploitedVulnerabilities
582
+ include Google::Apis::Core::Hashable
583
+
584
+ # Whether the vulnerability is known to have been leveraged as part of a
585
+ # ransomware campaign.
586
+ # Corresponds to the JSON property `knownRansomwareCampaignUse`
587
+ # @return [String]
588
+ attr_accessor :known_ransomware_campaign_use
589
+
590
+ def initialize(**args)
591
+ update!(**args)
592
+ end
593
+
594
+ # Update properties of this object
595
+ def update!(**args)
596
+ @known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
597
+ end
598
+ end
599
+
580
600
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
581
601
  # cvss/specification-document This is a message we will try to use for storing
582
602
  # various versions of CVSS rather than making a separate proto for storing a
@@ -1121,6 +1141,33 @@ module Google
1121
1141
  end
1122
1142
  end
1123
1143
 
1144
+ #
1145
+ class ExploitPredictionScoringSystem
1146
+ include Google::Apis::Core::Hashable
1147
+
1148
+ # The percentile of the current score, the proportion of all scored
1149
+ # vulnerabilities with the same or a lower EPSS score
1150
+ # Corresponds to the JSON property `percentile`
1151
+ # @return [Float]
1152
+ attr_accessor :percentile
1153
+
1154
+ # The EPSS score representing the probability [0-1] of exploitation in the wild
1155
+ # in the next 30 days
1156
+ # Corresponds to the JSON property `score`
1157
+ # @return [Float]
1158
+ attr_accessor :score
1159
+
1160
+ def initialize(**args)
1161
+ update!(**args)
1162
+ end
1163
+
1164
+ # Update properties of this object
1165
+ def update!(**args)
1166
+ @percentile = args[:percentile] if args.key?(:percentile)
1167
+ @score = args[:score] if args.key?(:score)
1168
+ end
1169
+ end
1170
+
1124
1171
  #
1125
1172
  class File
1126
1173
  include Google::Apis::Core::Hashable
@@ -2984,6 +3031,33 @@ module Google
2984
3031
  end
2985
3032
  end
2986
3033
 
3034
+ #
3035
+ class Risk
3036
+ include Google::Apis::Core::Hashable
3037
+
3038
+ # CISA maintains the authoritative source of vulnerabilities that have been
3039
+ # exploited in the wild.
3040
+ # Corresponds to the JSON property `cisaKev`
3041
+ # @return [Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities]
3042
+ attr_accessor :cisa_kev
3043
+
3044
+ # The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
3045
+ # probability) that a software vulnerability will be exploited in the wild.
3046
+ # Corresponds to the JSON property `epss`
3047
+ # @return [Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem]
3048
+ attr_accessor :epss
3049
+
3050
+ def initialize(**args)
3051
+ update!(**args)
3052
+ end
3053
+
3054
+ # Update properties of this object
3055
+ def update!(**args)
3056
+ @cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
3057
+ @epss = args[:epss] if args.key?(:epss)
3058
+ end
3059
+ end
3060
+
2987
3061
  #
2988
3062
  class RunDetails
2989
3063
  include Google::Apis::Core::Hashable
@@ -4005,6 +4079,11 @@ module Google
4005
4079
  # @return [Array<Google::Apis::OndemandscanningV1::RelatedUrl>]
4006
4080
  attr_accessor :related_urls
4007
4081
 
4082
+ # Risk information about the vulnerability, such as CISA, EPSS, etc.
4083
+ # Corresponds to the JSON property `risk`
4084
+ # @return [Google::Apis::OndemandscanningV1::Risk]
4085
+ attr_accessor :risk
4086
+
4008
4087
  # Output only. The note provider assigned severity of this vulnerability.
4009
4088
  # Corresponds to the JSON property `severity`
4010
4089
  # @return [String]
@@ -4043,6 +4122,7 @@ module Google
4043
4122
  @long_description = args[:long_description] if args.key?(:long_description)
4044
4123
  @package_issue = args[:package_issue] if args.key?(:package_issue)
4045
4124
  @related_urls = args[:related_urls] if args.key?(:related_urls)
4125
+ @risk = args[:risk] if args.key?(:risk)
4046
4126
  @severity = args[:severity] if args.key?(:severity)
4047
4127
  @short_description = args[:short_description] if args.key?(:short_description)
4048
4128
  @type = args[:type] if args.key?(:type)
@@ -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.56.0"
19
+ GEM_VERSION = "0.57.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
 
@@ -792,6 +810,13 @@ module Google
792
810
  end
793
811
  end
794
812
 
813
+ class CisaKnownExploitedVulnerabilities
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
817
+ end
818
+ end
819
+
795
820
  class Cvss
796
821
  # @private
797
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -938,6 +963,14 @@ module Google
938
963
  end
939
964
  end
940
965
 
966
+ class ExploitPredictionScoringSystem
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :percentile, as: 'percentile'
970
+ property :score, as: 'score'
971
+ end
972
+ end
973
+
941
974
  class File
942
975
  # @private
943
976
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1458,6 +1491,16 @@ module Google
1458
1491
  end
1459
1492
  end
1460
1493
 
1494
+ class Risk
1495
+ # @private
1496
+ class Representation < Google::Apis::Core::JsonRepresentation
1497
+ property :cisa_kev, as: 'cisaKev', class: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities::Representation
1498
+
1499
+ property :epss, as: 'epss', class: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem, decorator: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem::Representation
1500
+
1501
+ end
1502
+ end
1503
+
1461
1504
  class RunDetails
1462
1505
  # @private
1463
1506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1738,6 +1781,8 @@ module Google
1738
1781
 
1739
1782
  collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1::RelatedUrl::Representation
1740
1783
 
1784
+ property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1::Risk, decorator: Google::Apis::OndemandscanningV1::Risk::Representation
1785
+
1741
1786
  property :severity, as: 'severity'
1742
1787
  property :short_description, as: 'shortDescription'
1743
1788
  property :type, as: 'type'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
62
62
  rdoc_options: []
63
63
  require_paths: