google-apis-ondemandscanning_v1 0.56.0 → 0.58.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/ondemandscanning_v1/classes.rb +88 -0
- data/lib/google/apis/ondemandscanning_v1/gem_version.rb +3 -3
- data/lib/google/apis/ondemandscanning_v1/representations.rb +46 -0
- data/lib/google/apis/ondemandscanning_v1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cbf2eef3967ab2d7b5e8a6452c2d02adc27a669e119a1548266d123088ec5ac
|
4
|
+
data.tar.gz: f1b7c53b657afc00d94eb8aac6f2936bae4dbc510a10cbefafa2dc37920f4306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 622dbcd9e908adf01c14894ac87178d37ecdbf33ec48cf77070342b5a2ac9d2fb7487de1b5e85d1e100fd4fbd3be5c8dba371d7d1c6210de5c1e2e130a755da5
|
7
|
+
data.tar.gz: c0550f3af5e47b231cfc0741a242e040b2b27475fa4d40dad870a50b68115bf1e7eb74d8c77423d8abaa69ac9b811398b6ceacfe293b4d2fe857a91216a04717
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250929
|
6
|
+
|
7
|
+
### v0.57.0 (2025-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250815
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.56.0 (2025-05-21)
|
4
13
|
|
5
14
|
* 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
|
@@ -1992,6 +2039,13 @@ module Google
|
|
1992
2039
|
# @return [Array<Google::Apis::OndemandscanningV1::Operation>]
|
1993
2040
|
attr_accessor :operations
|
1994
2041
|
|
2042
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
2043
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
2044
|
+
# when attempting to list all resources across all supported locations.
|
2045
|
+
# Corresponds to the JSON property `unreachable`
|
2046
|
+
# @return [Array<String>]
|
2047
|
+
attr_accessor :unreachable
|
2048
|
+
|
1995
2049
|
def initialize(**args)
|
1996
2050
|
update!(**args)
|
1997
2051
|
end
|
@@ -2000,6 +2054,7 @@ module Google
|
|
2000
2054
|
def update!(**args)
|
2001
2055
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2002
2056
|
@operations = args[:operations] if args.key?(:operations)
|
2057
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2003
2058
|
end
|
2004
2059
|
end
|
2005
2060
|
|
@@ -2984,6 +3039,33 @@ module Google
|
|
2984
3039
|
end
|
2985
3040
|
end
|
2986
3041
|
|
3042
|
+
#
|
3043
|
+
class Risk
|
3044
|
+
include Google::Apis::Core::Hashable
|
3045
|
+
|
3046
|
+
# CISA maintains the authoritative source of vulnerabilities that have been
|
3047
|
+
# exploited in the wild.
|
3048
|
+
# Corresponds to the JSON property `cisaKev`
|
3049
|
+
# @return [Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities]
|
3050
|
+
attr_accessor :cisa_kev
|
3051
|
+
|
3052
|
+
# The Exploit Prediction Scoring System (EPSS) estimates the likelihood (
|
3053
|
+
# probability) that a software vulnerability will be exploited in the wild.
|
3054
|
+
# Corresponds to the JSON property `epss`
|
3055
|
+
# @return [Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem]
|
3056
|
+
attr_accessor :epss
|
3057
|
+
|
3058
|
+
def initialize(**args)
|
3059
|
+
update!(**args)
|
3060
|
+
end
|
3061
|
+
|
3062
|
+
# Update properties of this object
|
3063
|
+
def update!(**args)
|
3064
|
+
@cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
|
3065
|
+
@epss = args[:epss] if args.key?(:epss)
|
3066
|
+
end
|
3067
|
+
end
|
3068
|
+
|
2987
3069
|
#
|
2988
3070
|
class RunDetails
|
2989
3071
|
include Google::Apis::Core::Hashable
|
@@ -4005,6 +4087,11 @@ module Google
|
|
4005
4087
|
# @return [Array<Google::Apis::OndemandscanningV1::RelatedUrl>]
|
4006
4088
|
attr_accessor :related_urls
|
4007
4089
|
|
4090
|
+
# Risk information about the vulnerability, such as CISA, EPSS, etc.
|
4091
|
+
# Corresponds to the JSON property `risk`
|
4092
|
+
# @return [Google::Apis::OndemandscanningV1::Risk]
|
4093
|
+
attr_accessor :risk
|
4094
|
+
|
4008
4095
|
# Output only. The note provider assigned severity of this vulnerability.
|
4009
4096
|
# Corresponds to the JSON property `severity`
|
4010
4097
|
# @return [String]
|
@@ -4043,6 +4130,7 @@ module Google
|
|
4043
4130
|
@long_description = args[:long_description] if args.key?(:long_description)
|
4044
4131
|
@package_issue = args[:package_issue] if args.key?(:package_issue)
|
4045
4132
|
@related_urls = args[:related_urls] if args.key?(:related_urls)
|
4133
|
+
@risk = args[:risk] if args.key?(:risk)
|
4046
4134
|
@severity = args[:severity] if args.key?(:severity)
|
4047
4135
|
@short_description = args[:short_description] if args.key?(:short_description)
|
4048
4136
|
@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.
|
19
|
+
GEM_VERSION = "0.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250929"
|
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
|
@@ -1202,6 +1235,7 @@ module Google
|
|
1202
1235
|
property :next_page_token, as: 'nextPageToken'
|
1203
1236
|
collection :operations, as: 'operations', class: Google::Apis::OndemandscanningV1::Operation, decorator: Google::Apis::OndemandscanningV1::Operation::Representation
|
1204
1237
|
|
1238
|
+
collection :unreachable, as: 'unreachable'
|
1205
1239
|
end
|
1206
1240
|
end
|
1207
1241
|
|
@@ -1458,6 +1492,16 @@ module Google
|
|
1458
1492
|
end
|
1459
1493
|
end
|
1460
1494
|
|
1495
|
+
class Risk
|
1496
|
+
# @private
|
1497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1498
|
+
property :cisa_kev, as: 'cisaKev', class: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::OndemandscanningV1::CisaKnownExploitedVulnerabilities::Representation
|
1499
|
+
|
1500
|
+
property :epss, as: 'epss', class: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem, decorator: Google::Apis::OndemandscanningV1::ExploitPredictionScoringSystem::Representation
|
1501
|
+
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1461
1505
|
class RunDetails
|
1462
1506
|
# @private
|
1463
1507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1738,6 +1782,8 @@ module Google
|
|
1738
1782
|
|
1739
1783
|
collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1::RelatedUrl::Representation
|
1740
1784
|
|
1785
|
+
property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1::Risk, decorator: Google::Apis::OndemandscanningV1::Risk::Representation
|
1786
|
+
|
1741
1787
|
property :severity, as: 'severity'
|
1742
1788
|
property :short_description, as: 'shortDescription'
|
1743
1789
|
property :type, as: 'type'
|
@@ -162,6 +162,13 @@ module Google
|
|
162
162
|
# The standard list page size.
|
163
163
|
# @param [String] page_token
|
164
164
|
# The standard list page token.
|
165
|
+
# @param [Boolean] return_partial_success
|
166
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
167
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
168
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
169
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
170
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
171
|
+
# explicitly documented otherwise in service or product specific documentation.
|
165
172
|
# @param [String] fields
|
166
173
|
# Selector specifying which fields to include in a partial response.
|
167
174
|
# @param [String] quota_user
|
@@ -179,7 +186,7 @@ module Google
|
|
179
186
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
180
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
190
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
184
191
|
command.response_representation = Google::Apis::OndemandscanningV1::ListOperationsResponse::Representation
|
185
192
|
command.response_class = Google::Apis::OndemandscanningV1::ListOperationsResponse
|
@@ -187,6 +194,7 @@ module Google
|
|
187
194
|
command.query['filter'] = filter unless filter.nil?
|
188
195
|
command.query['pageSize'] = page_size unless page_size.nil?
|
189
196
|
command.query['pageToken'] = page_token unless page_token.nil?
|
197
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
190
198
|
command.query['fields'] = fields unless fields.nil?
|
191
199
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
200
|
execute_or_queue_command(command, &block)
|
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.
|
4
|
+
version: 0.58.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.58.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:
|