google-apis-ondemandscanning_v1beta1 0.54.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ef8b19b76ae3a4c3b00ce998c85d62173f5c6f1a551ec9003f1c707070a3b6b
|
4
|
+
data.tar.gz: d97135940bc612ec4881c003105c3e44a4002e338db4937e4045915a590aacc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a36075ac598f925cc2ebe7729bb79de787ae1fc7551df9bb15fb3dc28e003fd91d1995d6233c71f584f4364068e1c7c74a9d85954ffb0e26d39d242e1b8221
|
7
|
+
data.tar.gz: ae012da8a4d24fc7f8fc14e90980650f873310d062f28012e79df1d389bf7c95ee4ae09272dcd68bb4c073464991a273c515fbac8e6f1342619bfc26084c057d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
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
|
+
|
8
|
+
### v0.55.0 (2025-05-21)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250519
|
11
|
+
|
3
12
|
### v0.54.0 (2025-05-11)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250505
|
@@ -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
|
@@ -1004,6 +1024,11 @@ module Google
|
|
1004
1024
|
# @return [String]
|
1005
1025
|
attr_accessor :cpe
|
1006
1026
|
|
1027
|
+
# Files that make up the resource described by the occurrence.
|
1028
|
+
# Corresponds to the JSON property `files`
|
1029
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::File>]
|
1030
|
+
attr_accessor :files
|
1031
|
+
|
1007
1032
|
# The last time this resource was scanned.
|
1008
1033
|
# Corresponds to the JSON property `lastScanTime`
|
1009
1034
|
# @return [String]
|
@@ -1027,6 +1052,7 @@ module Google
|
|
1027
1052
|
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
1028
1053
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
1029
1054
|
@cpe = args[:cpe] if args.key?(:cpe)
|
1055
|
+
@files = args[:files] if args.key?(:files)
|
1030
1056
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
1031
1057
|
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
1032
1058
|
end
|
@@ -1107,6 +1133,58 @@ module Google
|
|
1107
1133
|
end
|
1108
1134
|
end
|
1109
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
|
+
|
1163
|
+
#
|
1164
|
+
class File
|
1165
|
+
include Google::Apis::Core::Hashable
|
1166
|
+
|
1167
|
+
#
|
1168
|
+
# Corresponds to the JSON property `digest`
|
1169
|
+
# @return [Hash<String,String>]
|
1170
|
+
attr_accessor :digest
|
1171
|
+
|
1172
|
+
#
|
1173
|
+
# Corresponds to the JSON property `name`
|
1174
|
+
# @return [String]
|
1175
|
+
attr_accessor :name
|
1176
|
+
|
1177
|
+
def initialize(**args)
|
1178
|
+
update!(**args)
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# Update properties of this object
|
1182
|
+
def update!(**args)
|
1183
|
+
@digest = args[:digest] if args.key?(:digest)
|
1184
|
+
@name = args[:name] if args.key?(:name)
|
1185
|
+
end
|
1186
|
+
end
|
1187
|
+
|
1110
1188
|
# Container message for hashes of byte content of files, used in source messages
|
1111
1189
|
# to verify integrity of source input to the build.
|
1112
1190
|
class FileHashes
|
@@ -2945,6 +3023,33 @@ module Google
|
|
2945
3023
|
end
|
2946
3024
|
end
|
2947
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
|
+
|
2948
3053
|
#
|
2949
3054
|
class RunDetails
|
2950
3055
|
include Google::Apis::Core::Hashable
|
@@ -3966,6 +4071,11 @@ module Google
|
|
3966
4071
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::RelatedUrl>]
|
3967
4072
|
attr_accessor :related_urls
|
3968
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
|
+
|
3969
4079
|
# Output only. The note provider assigned severity of this vulnerability.
|
3970
4080
|
# Corresponds to the JSON property `severity`
|
3971
4081
|
# @return [String]
|
@@ -4004,6 +4114,7 @@ module Google
|
|
4004
4114
|
@long_description = args[:long_description] if args.key?(:long_description)
|
4005
4115
|
@package_issue = args[:package_issue] if args.key?(:package_issue)
|
4006
4116
|
@related_urls = args[:related_urls] if args.key?(:related_urls)
|
4117
|
+
@risk = args[:risk] if args.key?(:risk)
|
4007
4118
|
@severity = args[:severity] if args.key?(:severity)
|
4008
4119
|
@short_description = args[:short_description] if args.key?(:short_description)
|
4009
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.
|
19
|
+
GEM_VERSION = "0.56.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 = "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,18 @@ 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
|
+
|
211
|
+
class File
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
199
217
|
class FileHashes
|
200
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
219
|
|
@@ -472,6 +490,12 @@ module Google
|
|
472
490
|
include Google::Apis::Core::JsonObjectSupport
|
473
491
|
end
|
474
492
|
|
493
|
+
class Risk
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
475
499
|
class RunDetails
|
476
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
501
|
|
@@ -785,6 +809,13 @@ module Google
|
|
785
809
|
end
|
786
810
|
end
|
787
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
|
+
|
788
819
|
class Cvss
|
789
820
|
# @private
|
790
821
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -899,6 +930,8 @@ module Google
|
|
899
930
|
property :archive_time, as: 'archiveTime'
|
900
931
|
property :continuous_analysis, as: 'continuousAnalysis'
|
901
932
|
property :cpe, as: 'cpe'
|
933
|
+
collection :files, as: 'files', class: Google::Apis::OndemandscanningV1beta1::File, decorator: Google::Apis::OndemandscanningV1beta1::File::Representation
|
934
|
+
|
902
935
|
property :last_scan_time, as: 'lastScanTime'
|
903
936
|
property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1beta1::SbomStatus, decorator: Google::Apis::OndemandscanningV1beta1::SbomStatus::Representation
|
904
937
|
|
@@ -929,6 +962,22 @@ module Google
|
|
929
962
|
end
|
930
963
|
end
|
931
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
|
+
|
973
|
+
class File
|
974
|
+
# @private
|
975
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
976
|
+
hash :digest, as: 'digest'
|
977
|
+
property :name, as: 'name'
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
932
981
|
class FileHashes
|
933
982
|
# @private
|
934
983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1441,6 +1490,16 @@ module Google
|
|
1441
1490
|
end
|
1442
1491
|
end
|
1443
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
|
+
|
1444
1503
|
class RunDetails
|
1445
1504
|
# @private
|
1446
1505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1721,6 +1780,8 @@ module Google
|
|
1721
1780
|
|
1722
1781
|
collection :related_urls, as: 'relatedUrls', class: Google::Apis::OndemandscanningV1beta1::RelatedUrl, decorator: Google::Apis::OndemandscanningV1beta1::RelatedUrl::Representation
|
1723
1782
|
|
1783
|
+
property :risk, as: 'risk', class: Google::Apis::OndemandscanningV1beta1::Risk, decorator: Google::Apis::OndemandscanningV1beta1::Risk::Representation
|
1784
|
+
|
1724
1785
|
property :severity, as: 'severity'
|
1725
1786
|
property :short_description, as: 'shortDescription'
|
1726
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.
|
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.
|
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:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for On-Demand Scanning API V1beta1
|
79
79
|
test_files: []
|