google-apis-ondemandscanning_v1beta1 0.53.0 → 0.55.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: 00752a1867d7faf7faae8ff59896df4d9666118414e0b6a372ef00add84fab3d
|
4
|
+
data.tar.gz: 1f71431cf88b023c810d22dae770e430a0f37ad3d589c61ecc39432f4246c792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df0265a0c9d99249c0013fa2b3a84f4b2728e4f5f7cf2c9c9dc43ec48c33bdbb606ea7cc7b63427f33672ab8398ba81c2d1b113d6fa79c4fe6fbe7e4b22374f4
|
7
|
+
data.tar.gz: cdb6b9f06f2adccaf3ee135e6d6ea3d1d1604adc411794c3e536157c914e0304289b6201c7c1e7a36642fc62057f4151f94a7ac5b3d5453b286b96829e0314dd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1beta1
|
2
2
|
|
3
|
+
### v0.55.0 (2025-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250519
|
6
|
+
|
7
|
+
### v0.54.0 (2025-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250505
|
10
|
+
|
3
11
|
### v0.53.0 (2025-05-04)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.17.0
|
@@ -1004,6 +1004,11 @@ module Google
|
|
1004
1004
|
# @return [String]
|
1005
1005
|
attr_accessor :cpe
|
1006
1006
|
|
1007
|
+
# Files that make up the resource described by the occurrence.
|
1008
|
+
# Corresponds to the JSON property `files`
|
1009
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::File>]
|
1010
|
+
attr_accessor :files
|
1011
|
+
|
1007
1012
|
# The last time this resource was scanned.
|
1008
1013
|
# Corresponds to the JSON property `lastScanTime`
|
1009
1014
|
# @return [String]
|
@@ -1027,6 +1032,7 @@ module Google
|
|
1027
1032
|
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
1028
1033
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
1029
1034
|
@cpe = args[:cpe] if args.key?(:cpe)
|
1035
|
+
@files = args[:files] if args.key?(:files)
|
1030
1036
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
1031
1037
|
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
1032
1038
|
end
|
@@ -1107,6 +1113,31 @@ module Google
|
|
1107
1113
|
end
|
1108
1114
|
end
|
1109
1115
|
|
1116
|
+
#
|
1117
|
+
class File
|
1118
|
+
include Google::Apis::Core::Hashable
|
1119
|
+
|
1120
|
+
#
|
1121
|
+
# Corresponds to the JSON property `digest`
|
1122
|
+
# @return [Hash<String,String>]
|
1123
|
+
attr_accessor :digest
|
1124
|
+
|
1125
|
+
#
|
1126
|
+
# Corresponds to the JSON property `name`
|
1127
|
+
# @return [String]
|
1128
|
+
attr_accessor :name
|
1129
|
+
|
1130
|
+
def initialize(**args)
|
1131
|
+
update!(**args)
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
# Update properties of this object
|
1135
|
+
def update!(**args)
|
1136
|
+
@digest = args[:digest] if args.key?(:digest)
|
1137
|
+
@name = args[:name] if args.key?(:name)
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1110
1141
|
# Container message for hashes of byte content of files, used in source messages
|
1111
1142
|
# to verify integrity of source input to the build.
|
1112
1143
|
class FileHashes
|
@@ -1317,6 +1348,12 @@ module Google
|
|
1317
1348
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage>]
|
1318
1349
|
attr_accessor :base_images
|
1319
1350
|
|
1351
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1352
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1353
|
+
# Corresponds to the JSON property `chainId`
|
1354
|
+
# @return [String]
|
1355
|
+
attr_accessor :chain_id
|
1356
|
+
|
1320
1357
|
# The layer build command that was used to build the layer. This may not be
|
1321
1358
|
# found in all layers depending on how the container image is built.
|
1322
1359
|
# Corresponds to the JSON property `command`
|
@@ -1340,6 +1377,7 @@ module Google
|
|
1340
1377
|
# Update properties of this object
|
1341
1378
|
def update!(**args)
|
1342
1379
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1380
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1343
1381
|
@command = args[:command] if args.key?(:command)
|
1344
1382
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1345
1383
|
@index = args[:index] if args.key?(:index)
|
@@ -1868,6 +1906,12 @@ module Google
|
|
1868
1906
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::BaseImage>]
|
1869
1907
|
attr_accessor :base_images
|
1870
1908
|
|
1909
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1910
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1911
|
+
# Corresponds to the JSON property `chainId`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :chain_id
|
1914
|
+
|
1871
1915
|
# The layer build command that was used to build the layer. This may not be
|
1872
1916
|
# found in all layers depending on how the container image is built.
|
1873
1917
|
# Corresponds to the JSON property `command`
|
@@ -1891,6 +1935,7 @@ module Google
|
|
1891
1935
|
# Update properties of this object
|
1892
1936
|
def update!(**args)
|
1893
1937
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1938
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1894
1939
|
@command = args[:command] if args.key?(:command)
|
1895
1940
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1896
1941
|
@index = args[:index] if args.key?(:index)
|
@@ -2255,6 +2300,11 @@ module Google
|
|
2255
2300
|
# @return [Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence]
|
2256
2301
|
attr_accessor :sbom_reference
|
2257
2302
|
|
2303
|
+
# The occurrence provides details of a secret.
|
2304
|
+
# Corresponds to the JSON property `secret`
|
2305
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SecretOccurrence]
|
2306
|
+
attr_accessor :secret
|
2307
|
+
|
2258
2308
|
# Output only. The time this occurrence was last updated.
|
2259
2309
|
# Corresponds to the JSON property `updateTime`
|
2260
2310
|
# @return [String]
|
@@ -2296,6 +2346,7 @@ module Google
|
|
2296
2346
|
@remediation = args[:remediation] if args.key?(:remediation)
|
2297
2347
|
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
2298
2348
|
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
2349
|
+
@secret = args[:secret] if args.key?(:secret)
|
2299
2350
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2300
2351
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
2301
2352
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
@@ -3095,6 +3146,87 @@ module Google
|
|
3095
3146
|
end
|
3096
3147
|
end
|
3097
3148
|
|
3149
|
+
# The location of the secret.
|
3150
|
+
class SecretLocation
|
3151
|
+
include Google::Apis::Core::Hashable
|
3152
|
+
|
3153
|
+
# Indicates the location at which a package was found.
|
3154
|
+
# Corresponds to the JSON property `fileLocation`
|
3155
|
+
# @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation]
|
3156
|
+
attr_accessor :file_location
|
3157
|
+
|
3158
|
+
def initialize(**args)
|
3159
|
+
update!(**args)
|
3160
|
+
end
|
3161
|
+
|
3162
|
+
# Update properties of this object
|
3163
|
+
def update!(**args)
|
3164
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
3165
|
+
end
|
3166
|
+
end
|
3167
|
+
|
3168
|
+
# The occurrence provides details of a secret.
|
3169
|
+
class SecretOccurrence
|
3170
|
+
include Google::Apis::Core::Hashable
|
3171
|
+
|
3172
|
+
# Required. Type of secret.
|
3173
|
+
# Corresponds to the JSON property `kind`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :kind
|
3176
|
+
|
3177
|
+
# Optional. Locations where the secret is detected.
|
3178
|
+
# Corresponds to the JSON property `locations`
|
3179
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::SecretLocation>]
|
3180
|
+
attr_accessor :locations
|
3181
|
+
|
3182
|
+
# Optional. Status of the secret.
|
3183
|
+
# Corresponds to the JSON property `statuses`
|
3184
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::SecretStatus>]
|
3185
|
+
attr_accessor :statuses
|
3186
|
+
|
3187
|
+
def initialize(**args)
|
3188
|
+
update!(**args)
|
3189
|
+
end
|
3190
|
+
|
3191
|
+
# Update properties of this object
|
3192
|
+
def update!(**args)
|
3193
|
+
@kind = args[:kind] if args.key?(:kind)
|
3194
|
+
@locations = args[:locations] if args.key?(:locations)
|
3195
|
+
@statuses = args[:statuses] if args.key?(:statuses)
|
3196
|
+
end
|
3197
|
+
end
|
3198
|
+
|
3199
|
+
# The status of the secret with a timestamp.
|
3200
|
+
class SecretStatus
|
3201
|
+
include Google::Apis::Core::Hashable
|
3202
|
+
|
3203
|
+
# Optional. Optional message about the status code.
|
3204
|
+
# Corresponds to the JSON property `message`
|
3205
|
+
# @return [String]
|
3206
|
+
attr_accessor :message
|
3207
|
+
|
3208
|
+
# Optional. The status of the secret.
|
3209
|
+
# Corresponds to the JSON property `status`
|
3210
|
+
# @return [String]
|
3211
|
+
attr_accessor :status
|
3212
|
+
|
3213
|
+
# Optional. The time the secret status was last updated.
|
3214
|
+
# Corresponds to the JSON property `updateTime`
|
3215
|
+
# @return [String]
|
3216
|
+
attr_accessor :update_time
|
3217
|
+
|
3218
|
+
def initialize(**args)
|
3219
|
+
update!(**args)
|
3220
|
+
end
|
3221
|
+
|
3222
|
+
# Update properties of this object
|
3223
|
+
def update!(**args)
|
3224
|
+
@message = args[:message] if args.key?(:message)
|
3225
|
+
@status = args[:status] if args.key?(:status)
|
3226
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3227
|
+
end
|
3228
|
+
end
|
3229
|
+
|
3098
3230
|
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
|
3099
3231
|
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
|
3100
3232
|
# means that the verifier has been configured with a map from `public_key_id` to
|
@@ -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.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class File
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class FileHashes
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -502,6 +508,24 @@ module Google
|
|
502
508
|
include Google::Apis::Core::JsonObjectSupport
|
503
509
|
end
|
504
510
|
|
511
|
+
class SecretLocation
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class SecretOccurrence
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class SecretStatus
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
505
529
|
class Signature
|
506
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
531
|
|
@@ -881,6 +905,8 @@ module Google
|
|
881
905
|
property :archive_time, as: 'archiveTime'
|
882
906
|
property :continuous_analysis, as: 'continuousAnalysis'
|
883
907
|
property :cpe, as: 'cpe'
|
908
|
+
collection :files, as: 'files', class: Google::Apis::OndemandscanningV1beta1::File, decorator: Google::Apis::OndemandscanningV1beta1::File::Representation
|
909
|
+
|
884
910
|
property :last_scan_time, as: 'lastScanTime'
|
885
911
|
property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1beta1::SbomStatus, decorator: Google::Apis::OndemandscanningV1beta1::SbomStatus::Representation
|
886
912
|
|
@@ -911,6 +937,14 @@ module Google
|
|
911
937
|
end
|
912
938
|
end
|
913
939
|
|
940
|
+
class File
|
941
|
+
# @private
|
942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
943
|
+
hash :digest, as: 'digest'
|
944
|
+
property :name, as: 'name'
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
914
948
|
class FileHashes
|
915
949
|
# @private
|
916
950
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -979,6 +1013,7 @@ module Google
|
|
979
1013
|
class Representation < Google::Apis::Core::JsonRepresentation
|
980
1014
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage::Representation
|
981
1015
|
|
1016
|
+
property :chain_id, as: 'chainId'
|
982
1017
|
property :command, as: 'command'
|
983
1018
|
property :diff_id, as: 'diffId'
|
984
1019
|
property :index, as: 'index'
|
@@ -1145,6 +1180,7 @@ module Google
|
|
1145
1180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1146
1181
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::BaseImage::Representation
|
1147
1182
|
|
1183
|
+
property :chain_id, as: 'chainId'
|
1148
1184
|
property :command, as: 'command'
|
1149
1185
|
property :diff_id, as: 'diffId'
|
1150
1186
|
property :index, as: 'index'
|
@@ -1255,6 +1291,8 @@ module Google
|
|
1255
1291
|
property :resource_uri, as: 'resourceUri'
|
1256
1292
|
property :sbom_reference, as: 'sbomReference', class: Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence::Representation
|
1257
1293
|
|
1294
|
+
property :secret, as: 'secret', class: Google::Apis::OndemandscanningV1beta1::SecretOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::SecretOccurrence::Representation
|
1295
|
+
|
1258
1296
|
property :update_time, as: 'updateTime'
|
1259
1297
|
property :upgrade, as: 'upgrade', class: Google::Apis::OndemandscanningV1beta1::UpgradeOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::UpgradeOccurrence::Representation
|
1260
1298
|
|
@@ -1472,6 +1510,34 @@ module Google
|
|
1472
1510
|
end
|
1473
1511
|
end
|
1474
1512
|
|
1513
|
+
class SecretLocation
|
1514
|
+
# @private
|
1515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1516
|
+
property :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
|
1517
|
+
|
1518
|
+
end
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
class SecretOccurrence
|
1522
|
+
# @private
|
1523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1524
|
+
property :kind, as: 'kind'
|
1525
|
+
collection :locations, as: 'locations', class: Google::Apis::OndemandscanningV1beta1::SecretLocation, decorator: Google::Apis::OndemandscanningV1beta1::SecretLocation::Representation
|
1526
|
+
|
1527
|
+
collection :statuses, as: 'statuses', class: Google::Apis::OndemandscanningV1beta1::SecretStatus, decorator: Google::Apis::OndemandscanningV1beta1::SecretStatus::Representation
|
1528
|
+
|
1529
|
+
end
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
class SecretStatus
|
1533
|
+
# @private
|
1534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1535
|
+
property :message, as: 'message'
|
1536
|
+
property :status, as: 'status'
|
1537
|
+
property :update_time, as: 'updateTime'
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
|
1475
1541
|
class Signature
|
1476
1542
|
# @private
|
1477
1543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.55.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.55.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: []
|