google-apis-ondemandscanning_v1 0.54.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: 4cc7fe804877be89105f077b58d32826d407d9d5f3e2c7fd78965eb36b23ba10
|
4
|
+
data.tar.gz: 157b63dccac7368efb2b692332d2ebfe43f7db2a5a7e0c19676a2b03809b90a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad6116722a254183554726dc93ce37f349640f9ca5d26ab79c9ef791f2a16e270b92aa0f2f855b8919d73967de760be22079b258290060ec96764a54ee985301
|
7
|
+
data.tar.gz: 2aacc290bacde828a1cf207d15c55b0ae81702169cc44e14350853318cd31724111704c1a5efe4628cd3cd01a5e93dba6e7b7488c0ee08be0218e03d67ca46aa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.55.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250505
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.54.0 (2025-03-30)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250321
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/container-analysis/docs/on-
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -1325,6 +1325,12 @@ module Google
|
|
1325
1325
|
# @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1BaseImage>]
|
1326
1326
|
attr_accessor :base_images
|
1327
1327
|
|
1328
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1329
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1330
|
+
# Corresponds to the JSON property `chainId`
|
1331
|
+
# @return [String]
|
1332
|
+
attr_accessor :chain_id
|
1333
|
+
|
1328
1334
|
# The layer build command that was used to build the layer. This may not be
|
1329
1335
|
# found in all layers depending on how the container image is built.
|
1330
1336
|
# Corresponds to the JSON property `command`
|
@@ -1348,6 +1354,7 @@ module Google
|
|
1348
1354
|
# Update properties of this object
|
1349
1355
|
def update!(**args)
|
1350
1356
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1357
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1351
1358
|
@command = args[:command] if args.key?(:command)
|
1352
1359
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1353
1360
|
@index = args[:index] if args.key?(:index)
|
@@ -1876,6 +1883,12 @@ module Google
|
|
1876
1883
|
# @return [Array<Google::Apis::OndemandscanningV1::BaseImage>]
|
1877
1884
|
attr_accessor :base_images
|
1878
1885
|
|
1886
|
+
# The layer chain ID (sha256 hash) of the layer in the container image. https://
|
1887
|
+
# github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
|
1888
|
+
# Corresponds to the JSON property `chainId`
|
1889
|
+
# @return [String]
|
1890
|
+
attr_accessor :chain_id
|
1891
|
+
|
1879
1892
|
# The layer build command that was used to build the layer. This may not be
|
1880
1893
|
# found in all layers depending on how the container image is built.
|
1881
1894
|
# Corresponds to the JSON property `command`
|
@@ -1899,6 +1912,7 @@ module Google
|
|
1899
1912
|
# Update properties of this object
|
1900
1913
|
def update!(**args)
|
1901
1914
|
@base_images = args[:base_images] if args.key?(:base_images)
|
1915
|
+
@chain_id = args[:chain_id] if args.key?(:chain_id)
|
1902
1916
|
@command = args[:command] if args.key?(:command)
|
1903
1917
|
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1904
1918
|
@index = args[:index] if args.key?(:index)
|
@@ -2263,6 +2277,11 @@ module Google
|
|
2263
2277
|
# @return [Google::Apis::OndemandscanningV1::SbomReferenceOccurrence]
|
2264
2278
|
attr_accessor :sbom_reference
|
2265
2279
|
|
2280
|
+
# The occurrence provides details of a secret.
|
2281
|
+
# Corresponds to the JSON property `secret`
|
2282
|
+
# @return [Google::Apis::OndemandscanningV1::SecretOccurrence]
|
2283
|
+
attr_accessor :secret
|
2284
|
+
|
2266
2285
|
# Output only. The time this occurrence was last updated.
|
2267
2286
|
# Corresponds to the JSON property `updateTime`
|
2268
2287
|
# @return [String]
|
@@ -2304,6 +2323,7 @@ module Google
|
|
2304
2323
|
@remediation = args[:remediation] if args.key?(:remediation)
|
2305
2324
|
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
2306
2325
|
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
2326
|
+
@secret = args[:secret] if args.key?(:secret)
|
2307
2327
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2308
2328
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
2309
2329
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
@@ -3103,6 +3123,87 @@ module Google
|
|
3103
3123
|
end
|
3104
3124
|
end
|
3105
3125
|
|
3126
|
+
# The location of the secret.
|
3127
|
+
class SecretLocation
|
3128
|
+
include Google::Apis::Core::Hashable
|
3129
|
+
|
3130
|
+
# Indicates the location at which a package was found.
|
3131
|
+
# Corresponds to the JSON property `fileLocation`
|
3132
|
+
# @return [Google::Apis::OndemandscanningV1::GrafeasV1FileLocation]
|
3133
|
+
attr_accessor :file_location
|
3134
|
+
|
3135
|
+
def initialize(**args)
|
3136
|
+
update!(**args)
|
3137
|
+
end
|
3138
|
+
|
3139
|
+
# Update properties of this object
|
3140
|
+
def update!(**args)
|
3141
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
3142
|
+
end
|
3143
|
+
end
|
3144
|
+
|
3145
|
+
# The occurrence provides details of a secret.
|
3146
|
+
class SecretOccurrence
|
3147
|
+
include Google::Apis::Core::Hashable
|
3148
|
+
|
3149
|
+
# Required. Type of secret.
|
3150
|
+
# Corresponds to the JSON property `kind`
|
3151
|
+
# @return [String]
|
3152
|
+
attr_accessor :kind
|
3153
|
+
|
3154
|
+
# Optional. Locations where the secret is detected.
|
3155
|
+
# Corresponds to the JSON property `locations`
|
3156
|
+
# @return [Array<Google::Apis::OndemandscanningV1::SecretLocation>]
|
3157
|
+
attr_accessor :locations
|
3158
|
+
|
3159
|
+
# Optional. Status of the secret.
|
3160
|
+
# Corresponds to the JSON property `statuses`
|
3161
|
+
# @return [Array<Google::Apis::OndemandscanningV1::SecretStatus>]
|
3162
|
+
attr_accessor :statuses
|
3163
|
+
|
3164
|
+
def initialize(**args)
|
3165
|
+
update!(**args)
|
3166
|
+
end
|
3167
|
+
|
3168
|
+
# Update properties of this object
|
3169
|
+
def update!(**args)
|
3170
|
+
@kind = args[:kind] if args.key?(:kind)
|
3171
|
+
@locations = args[:locations] if args.key?(:locations)
|
3172
|
+
@statuses = args[:statuses] if args.key?(:statuses)
|
3173
|
+
end
|
3174
|
+
end
|
3175
|
+
|
3176
|
+
# The status of the secret with a timestamp.
|
3177
|
+
class SecretStatus
|
3178
|
+
include Google::Apis::Core::Hashable
|
3179
|
+
|
3180
|
+
# Optional. Optional message about the status code.
|
3181
|
+
# Corresponds to the JSON property `message`
|
3182
|
+
# @return [String]
|
3183
|
+
attr_accessor :message
|
3184
|
+
|
3185
|
+
# Optional. The status of the secret.
|
3186
|
+
# Corresponds to the JSON property `status`
|
3187
|
+
# @return [String]
|
3188
|
+
attr_accessor :status
|
3189
|
+
|
3190
|
+
# Optional. The time the secret status was last updated.
|
3191
|
+
# Corresponds to the JSON property `updateTime`
|
3192
|
+
# @return [String]
|
3193
|
+
attr_accessor :update_time
|
3194
|
+
|
3195
|
+
def initialize(**args)
|
3196
|
+
update!(**args)
|
3197
|
+
end
|
3198
|
+
|
3199
|
+
# Update properties of this object
|
3200
|
+
def update!(**args)
|
3201
|
+
@message = args[:message] if args.key?(:message)
|
3202
|
+
@status = args[:status] if args.key?(:status)
|
3203
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3204
|
+
end
|
3205
|
+
end
|
3206
|
+
|
3106
3207
|
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
|
3107
3208
|
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
|
3108
3209
|
# 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 OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 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
|
-
GENERATOR_VERSION = "0.
|
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
|
|
@@ -980,6 +998,7 @@ module Google
|
|
980
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
981
999
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1::GrafeasV1BaseImage, decorator: Google::Apis::OndemandscanningV1::GrafeasV1BaseImage::Representation
|
982
1000
|
|
1001
|
+
property :chain_id, as: 'chainId'
|
983
1002
|
property :command, as: 'command'
|
984
1003
|
property :diff_id, as: 'diffId'
|
985
1004
|
property :index, as: 'index'
|
@@ -1146,6 +1165,7 @@ module Google
|
|
1146
1165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1147
1166
|
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1::BaseImage, decorator: Google::Apis::OndemandscanningV1::BaseImage::Representation
|
1148
1167
|
|
1168
|
+
property :chain_id, as: 'chainId'
|
1149
1169
|
property :command, as: 'command'
|
1150
1170
|
property :diff_id, as: 'diffId'
|
1151
1171
|
property :index, as: 'index'
|
@@ -1256,6 +1276,8 @@ module Google
|
|
1256
1276
|
property :resource_uri, as: 'resourceUri'
|
1257
1277
|
property :sbom_reference, as: 'sbomReference', class: Google::Apis::OndemandscanningV1::SbomReferenceOccurrence, decorator: Google::Apis::OndemandscanningV1::SbomReferenceOccurrence::Representation
|
1258
1278
|
|
1279
|
+
property :secret, as: 'secret', class: Google::Apis::OndemandscanningV1::SecretOccurrence, decorator: Google::Apis::OndemandscanningV1::SecretOccurrence::Representation
|
1280
|
+
|
1259
1281
|
property :update_time, as: 'updateTime'
|
1260
1282
|
property :upgrade, as: 'upgrade', class: Google::Apis::OndemandscanningV1::UpgradeOccurrence, decorator: Google::Apis::OndemandscanningV1::UpgradeOccurrence::Representation
|
1261
1283
|
|
@@ -1473,6 +1495,34 @@ module Google
|
|
1473
1495
|
end
|
1474
1496
|
end
|
1475
1497
|
|
1498
|
+
class SecretLocation
|
1499
|
+
# @private
|
1500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1501
|
+
property :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation::Representation
|
1502
|
+
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
class SecretOccurrence
|
1507
|
+
# @private
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1509
|
+
property :kind, as: 'kind'
|
1510
|
+
collection :locations, as: 'locations', class: Google::Apis::OndemandscanningV1::SecretLocation, decorator: Google::Apis::OndemandscanningV1::SecretLocation::Representation
|
1511
|
+
|
1512
|
+
collection :statuses, as: 'statuses', class: Google::Apis::OndemandscanningV1::SecretStatus, decorator: Google::Apis::OndemandscanningV1::SecretStatus::Representation
|
1513
|
+
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
class SecretStatus
|
1518
|
+
# @private
|
1519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1520
|
+
property :message, as: 'message'
|
1521
|
+
property :status, as: 'status'
|
1522
|
+
property :update_time, as: 'updateTime'
|
1523
|
+
end
|
1524
|
+
end
|
1525
|
+
|
1476
1526
|
class Signature
|
1477
1527
|
# @private
|
1478
1528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.55.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:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for On-Demand Scanning API V1
|
79
79
|
test_files: []
|