google-apis-ondemandscanning_v1beta1 0.53.0 → 0.54.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: 192c490a53d6b6c71428134987c1289133e7c97e5ad891304225d5e2754aa603
|
4
|
+
data.tar.gz: f0045ec38e50ad63a1c1df17f325853f4584d00d19f27f10b87ed82f02578d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e8f731a1f9d362bc2019081a5d4025b9c9e55bafe5008dc3af72e83b50b14990d0fcfa77a22b6f76dad1d44c707899f5317a17a035317ae2c55d091e37e7129
|
7
|
+
data.tar.gz: 71b16fa74720b0a287ab0f1d8ad1b358703cd3ca56ccef9d8d3f4bc80f2cd0f13683a5ba7f962d1c053cc60d8ee2aa47d1165be705f1e3f2fb24758479f4b7e0
|
data/CHANGELOG.md
CHANGED
@@ -1317,6 +1317,12 @@ module Google
|
|
1317
1317
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage>]
|
1318
1318
|
attr_accessor :base_images
|
1319
1319
|
|
1320
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1321
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1322
|
+
# Corresponds to the JSON property `chainId`
|
1323
|
+
# @return [String]
|
1324
|
+
attr_accessor :chain_id
|
1325
|
+
|
1320
1326
|
# The layer build command that was used to build the layer. This may not be
|
1321
1327
|
# found in all layers depending on how the container image is built.
|
1322
1328
|
# Corresponds to the JSON property `command`
|
@@ -1340,6 +1346,7 @@ module Google
|
|
1340
1346
|
# Update properties of this object
|
1341
1347
|
def update!(**args)
|
1342
1348
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1349
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1343
1350
|
@command = args[:command] if args.key?(:command)
|
1344
1351
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1345
1352
|
@index = args[:index] if args.key?(:index)
|
@@ -1868,6 +1875,12 @@ module Google
|
|
1868
1875
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::BaseImage>]
|
1869
1876
|
attr_accessor :base_images
|
1870
1877
|
|
1878
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1879
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1880
|
+
# Corresponds to the JSON property `chainId`
|
1881
|
+
# @return [String]
|
1882
|
+
attr_accessor :chain_id
|
1883
|
+
|
1871
1884
|
# The layer build command that was used to build the layer. This may not be
|
1872
1885
|
# found in all layers depending on how the container image is built.
|
1873
1886
|
# Corresponds to the JSON property `command`
|
@@ -1891,6 +1904,7 @@ module Google
|
|
1891
1904
|
# Update properties of this object
|
1892
1905
|
def update!(**args)
|
1893
1906
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1907
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1894
1908
|
@command = args[:command] if args.key?(:command)
|
1895
1909
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1896
1910
|
@index = args[:index] if args.key?(:index)
|
@@ -2255,6 +2269,11 @@ module Google
|
|
2255
2269
|
# @return [Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence]
|
2256
2270
|
attr_accessor :sbom_reference
|
2257
2271
|
|
2272
|
+
# The occurrence provides details of a secret.
|
2273
|
+
# Corresponds to the JSON property `secret`
|
2274
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SecretOccurrence]
|
2275
|
+
attr_accessor :secret
|
2276
|
+
|
2258
2277
|
# Output only. The time this occurrence was last updated.
|
2259
2278
|
# Corresponds to the JSON property `updateTime`
|
2260
2279
|
# @return [String]
|
@@ -2296,6 +2315,7 @@ module Google
|
|
2296
2315
|
@remediation = args[:remediation] if args.key?(:remediation)
|
2297
2316
|
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
2298
2317
|
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
2318
|
+
@secret = args[:secret] if args.key?(:secret)
|
2299
2319
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2300
2320
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
2301
2321
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
@@ -3095,6 +3115,87 @@ module Google
|
|
3095
3115
|
end
|
3096
3116
|
end
|
3097
3117
|
|
3118
|
+
# The location of the secret.
|
3119
|
+
class SecretLocation
|
3120
|
+
include Google::Apis::Core::Hashable
|
3121
|
+
|
3122
|
+
# Indicates the location at which a package was found.
|
3123
|
+
# Corresponds to the JSON property `fileLocation`
|
3124
|
+
# @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation]
|
3125
|
+
attr_accessor :file_location
|
3126
|
+
|
3127
|
+
def initialize(**args)
|
3128
|
+
update!(**args)
|
3129
|
+
end
|
3130
|
+
|
3131
|
+
# Update properties of this object
|
3132
|
+
def update!(**args)
|
3133
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
3134
|
+
end
|
3135
|
+
end
|
3136
|
+
|
3137
|
+
# The occurrence provides details of a secret.
|
3138
|
+
class SecretOccurrence
|
3139
|
+
include Google::Apis::Core::Hashable
|
3140
|
+
|
3141
|
+
# Required. Type of secret.
|
3142
|
+
# Corresponds to the JSON property `kind`
|
3143
|
+
# @return [String]
|
3144
|
+
attr_accessor :kind
|
3145
|
+
|
3146
|
+
# Optional. Locations where the secret is detected.
|
3147
|
+
# Corresponds to the JSON property `locations`
|
3148
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::SecretLocation>]
|
3149
|
+
attr_accessor :locations
|
3150
|
+
|
3151
|
+
# Optional. Status of the secret.
|
3152
|
+
# Corresponds to the JSON property `statuses`
|
3153
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::SecretStatus>]
|
3154
|
+
attr_accessor :statuses
|
3155
|
+
|
3156
|
+
def initialize(**args)
|
3157
|
+
update!(**args)
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# Update properties of this object
|
3161
|
+
def update!(**args)
|
3162
|
+
@kind = args[:kind] if args.key?(:kind)
|
3163
|
+
@locations = args[:locations] if args.key?(:locations)
|
3164
|
+
@statuses = args[:statuses] if args.key?(:statuses)
|
3165
|
+
end
|
3166
|
+
end
|
3167
|
+
|
3168
|
+
# The status of the secret with a timestamp.
|
3169
|
+
class SecretStatus
|
3170
|
+
include Google::Apis::Core::Hashable
|
3171
|
+
|
3172
|
+
# Optional. Optional message about the status code.
|
3173
|
+
# Corresponds to the JSON property `message`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :message
|
3176
|
+
|
3177
|
+
# Optional. The status of the secret.
|
3178
|
+
# Corresponds to the JSON property `status`
|
3179
|
+
# @return [String]
|
3180
|
+
attr_accessor :status
|
3181
|
+
|
3182
|
+
# Optional. The time the secret status was last updated.
|
3183
|
+
# Corresponds to the JSON property `updateTime`
|
3184
|
+
# @return [String]
|
3185
|
+
attr_accessor :update_time
|
3186
|
+
|
3187
|
+
def initialize(**args)
|
3188
|
+
update!(**args)
|
3189
|
+
end
|
3190
|
+
|
3191
|
+
# Update properties of this object
|
3192
|
+
def update!(**args)
|
3193
|
+
@message = args[:message] if args.key?(:message)
|
3194
|
+
@status = args[:status] if args.key?(:status)
|
3195
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3196
|
+
end
|
3197
|
+
end
|
3198
|
+
|
3098
3199
|
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
|
3099
3200
|
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
|
3100
3201
|
# 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.54.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 = "20250505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -502,6 +502,24 @@ module Google
|
|
502
502
|
include Google::Apis::Core::JsonObjectSupport
|
503
503
|
end
|
504
504
|
|
505
|
+
class SecretLocation
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class SecretOccurrence
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class SecretStatus
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
505
523
|
class Signature
|
506
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
525
|
|
@@ -979,6 +997,7 @@ module Google
|
|
979
997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
980
998
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage::Representation
|
981
999
|
|
1000
|
+
property :chain_id, as: 'chainId'
|
982
1001
|
property :command, as: 'command'
|
983
1002
|
property :diff_id, as: 'diffId'
|
984
1003
|
property :index, as: 'index'
|
@@ -1145,6 +1164,7 @@ module Google
|
|
1145
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1146
1165
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::BaseImage::Representation
|
1147
1166
|
|
1167
|
+
property :chain_id, as: 'chainId'
|
1148
1168
|
property :command, as: 'command'
|
1149
1169
|
property :diff_id, as: 'diffId'
|
1150
1170
|
property :index, as: 'index'
|
@@ -1255,6 +1275,8 @@ module Google
|
|
1255
1275
|
property :resource_uri, as: 'resourceUri'
|
1256
1276
|
property :sbom_reference, as: 'sbomReference', class: Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::SbomReferenceOccurrence::Representation
|
1257
1277
|
|
1278
|
+
property :secret, as: 'secret', class: Google::Apis::OndemandscanningV1beta1::SecretOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::SecretOccurrence::Representation
|
1279
|
+
|
1258
1280
|
property :update_time, as: 'updateTime'
|
1259
1281
|
property :upgrade, as: 'upgrade', class: Google::Apis::OndemandscanningV1beta1::UpgradeOccurrence, decorator: Google::Apis::OndemandscanningV1beta1::UpgradeOccurrence::Representation
|
1260
1282
|
|
@@ -1472,6 +1494,34 @@ module Google
|
|
1472
1494
|
end
|
1473
1495
|
end
|
1474
1496
|
|
1497
|
+
class SecretLocation
|
1498
|
+
# @private
|
1499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1500
|
+
property :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
|
1501
|
+
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
class SecretOccurrence
|
1506
|
+
# @private
|
1507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1508
|
+
property :kind, as: 'kind'
|
1509
|
+
collection :locations, as: 'locations', class: Google::Apis::OndemandscanningV1beta1::SecretLocation, decorator: Google::Apis::OndemandscanningV1beta1::SecretLocation::Representation
|
1510
|
+
|
1511
|
+
collection :statuses, as: 'statuses', class: Google::Apis::OndemandscanningV1beta1::SecretStatus, decorator: Google::Apis::OndemandscanningV1beta1::SecretStatus::Representation
|
1512
|
+
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
class SecretStatus
|
1517
|
+
# @private
|
1518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1519
|
+
property :message, as: 'message'
|
1520
|
+
property :status, as: 'status'
|
1521
|
+
property :update_time, as: 'updateTime'
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1475
1525
|
class Signature
|
1476
1526
|
# @private
|
1477
1527
|
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.54.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.54.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:
|