google-apis-containeranalysis_v1alpha1 0.48.0 → 0.50.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: ffe678362a9e976522f6e3fa4f50ed99bf04e6ce905e233b091123cffbaf20e9
|
4
|
+
data.tar.gz: df7c02190247fc0593927f3fab7d5e4daebb940ada618a368defc3594f209370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c50528056833ce56710a1eb82444b96ea698392d9acbcb23eda84526e07499ec0b86dd0bb7562d1720677c46469d75991f8332f49d75fd25e6a3d725e5769ed
|
7
|
+
data.tar.gz: 0525f3a25396036a82c110ae8f915230740a7cc3e42f0525d30e6d3016e86c82c2188cfe122d674cc1c932f1c30531bab57671dcc6ec0f75f630050483ddc084
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1alpha1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230717
|
6
|
+
|
7
|
+
### v0.49.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230707
|
10
|
+
|
3
11
|
### v0.48.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230519
|
@@ -142,6 +142,12 @@ module Google
|
|
142
142
|
# @return [String]
|
143
143
|
attr_accessor :state
|
144
144
|
|
145
|
+
# The vulnerability identifier for this Assessment. Will hold one of common
|
146
|
+
# identifiers e.g. CVE, GHSA etc.
|
147
|
+
# Corresponds to the JSON property `vulnerabilityId`
|
148
|
+
# @return [String]
|
149
|
+
attr_accessor :vulnerability_id
|
150
|
+
|
145
151
|
def initialize(**args)
|
146
152
|
update!(**args)
|
147
153
|
end
|
@@ -156,6 +162,7 @@ module Google
|
|
156
162
|
@remediations = args[:remediations] if args.key?(:remediations)
|
157
163
|
@short_description = args[:short_description] if args.key?(:short_description)
|
158
164
|
@state = args[:state] if args.key?(:state)
|
165
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
159
166
|
end
|
160
167
|
end
|
161
168
|
|
@@ -348,10 +355,54 @@ module Google
|
|
348
355
|
end
|
349
356
|
end
|
350
357
|
|
358
|
+
#
|
359
|
+
class BuildDefinition
|
360
|
+
include Google::Apis::Core::Hashable
|
361
|
+
|
362
|
+
#
|
363
|
+
# Corresponds to the JSON property `buildType`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :build_type
|
366
|
+
|
367
|
+
#
|
368
|
+
# Corresponds to the JSON property `externalParameters`
|
369
|
+
# @return [Hash<String,Object>]
|
370
|
+
attr_accessor :external_parameters
|
371
|
+
|
372
|
+
#
|
373
|
+
# Corresponds to the JSON property `internalParameters`
|
374
|
+
# @return [Hash<String,Object>]
|
375
|
+
attr_accessor :internal_parameters
|
376
|
+
|
377
|
+
#
|
378
|
+
# Corresponds to the JSON property `resolvedDependencies`
|
379
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
|
380
|
+
attr_accessor :resolved_dependencies
|
381
|
+
|
382
|
+
def initialize(**args)
|
383
|
+
update!(**args)
|
384
|
+
end
|
385
|
+
|
386
|
+
# Update properties of this object
|
387
|
+
def update!(**args)
|
388
|
+
@build_type = args[:build_type] if args.key?(:build_type)
|
389
|
+
@external_parameters = args[:external_parameters] if args.key?(:external_parameters)
|
390
|
+
@internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
|
391
|
+
@resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
351
395
|
# Message encapsulating build provenance details.
|
352
396
|
class BuildDetails
|
353
397
|
include Google::Apis::Core::Hashable
|
354
398
|
|
399
|
+
# In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
|
400
|
+
# wrapped in an in-toto statement. This allows for direct jsonification of a to-
|
401
|
+
# spec in-toto slsa statement with a to-spec slsa provenance.
|
402
|
+
# Corresponds to the JSON property `inTotoSlsaProvenanceV1`
|
403
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1]
|
404
|
+
attr_accessor :in_toto_slsa_provenance_v1
|
405
|
+
|
355
406
|
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
356
407
|
# representation as defined in spec.
|
357
408
|
# Corresponds to the JSON property `intotoProvenance`
|
@@ -389,6 +440,7 @@ module Google
|
|
389
440
|
|
390
441
|
# Update properties of this object
|
391
442
|
def update!(**args)
|
443
|
+
@in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
|
392
444
|
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
393
445
|
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
394
446
|
@provenance = args[:provenance] if args.key?(:provenance)
|
@@ -396,6 +448,37 @@ module Google
|
|
396
448
|
end
|
397
449
|
end
|
398
450
|
|
451
|
+
#
|
452
|
+
class BuildMetadata
|
453
|
+
include Google::Apis::Core::Hashable
|
454
|
+
|
455
|
+
#
|
456
|
+
# Corresponds to the JSON property `finishedOn`
|
457
|
+
# @return [String]
|
458
|
+
attr_accessor :finished_on
|
459
|
+
|
460
|
+
#
|
461
|
+
# Corresponds to the JSON property `invocationId`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :invocation_id
|
464
|
+
|
465
|
+
#
|
466
|
+
# Corresponds to the JSON property `startedOn`
|
467
|
+
# @return [String]
|
468
|
+
attr_accessor :started_on
|
469
|
+
|
470
|
+
def initialize(**args)
|
471
|
+
update!(**args)
|
472
|
+
end
|
473
|
+
|
474
|
+
# Update properties of this object
|
475
|
+
def update!(**args)
|
476
|
+
@finished_on = args[:finished_on] if args.key?(:finished_on)
|
477
|
+
@invocation_id = args[:invocation_id] if args.key?(:invocation_id)
|
478
|
+
@started_on = args[:started_on] if args.key?(:started_on)
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
399
482
|
# Provenance of a build. Contains all information needed to verify the full
|
400
483
|
# details about the build from source to completion.
|
401
484
|
class BuildProvenance
|
@@ -3023,6 +3106,11 @@ module Google
|
|
3023
3106
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Operation]
|
3024
3107
|
attr_accessor :operation
|
3025
3108
|
|
3109
|
+
# The status of an SBOM generation.
|
3110
|
+
# Corresponds to the JSON property `sbomStatus`
|
3111
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::SbomStatus]
|
3112
|
+
attr_accessor :sbom_status
|
3113
|
+
|
3026
3114
|
def initialize(**args)
|
3027
3115
|
update!(**args)
|
3028
3116
|
end
|
@@ -3038,6 +3126,7 @@ module Google
|
|
3038
3126
|
@cpe = args[:cpe] if args.key?(:cpe)
|
3039
3127
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
3040
3128
|
@operation = args[:operation] if args.key?(:operation)
|
3129
|
+
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
3041
3130
|
end
|
3042
3131
|
end
|
3043
3132
|
|
@@ -4168,6 +4257,46 @@ module Google
|
|
4168
4257
|
end
|
4169
4258
|
end
|
4170
4259
|
|
4260
|
+
#
|
4261
|
+
class InTotoSlsaProvenanceV1
|
4262
|
+
include Google::Apis::Core::Hashable
|
4263
|
+
|
4264
|
+
# InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
4265
|
+
# statement
|
4266
|
+
# Corresponds to the JSON property `_type`
|
4267
|
+
# @return [String]
|
4268
|
+
attr_accessor :_type
|
4269
|
+
|
4270
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
4271
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
4272
|
+
# ProvenanceBuilder because of Java conflicts.
|
4273
|
+
# Corresponds to the JSON property `predicate`
|
4274
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1]
|
4275
|
+
attr_accessor :predicate
|
4276
|
+
|
4277
|
+
#
|
4278
|
+
# Corresponds to the JSON property `predicateType`
|
4279
|
+
# @return [String]
|
4280
|
+
attr_accessor :predicate_type
|
4281
|
+
|
4282
|
+
#
|
4283
|
+
# Corresponds to the JSON property `subject`
|
4284
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Subject>]
|
4285
|
+
attr_accessor :subject
|
4286
|
+
|
4287
|
+
def initialize(**args)
|
4288
|
+
update!(**args)
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
# Update properties of this object
|
4292
|
+
def update!(**args)
|
4293
|
+
@_type = args[:_type] if args.key?(:_type)
|
4294
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
4295
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
4296
|
+
@subject = args[:subject] if args.key?(:subject)
|
4297
|
+
end
|
4298
|
+
end
|
4299
|
+
|
4171
4300
|
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
4172
4301
|
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
4173
4302
|
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
@@ -5562,6 +5691,37 @@ module Google
|
|
5562
5691
|
end
|
5563
5692
|
end
|
5564
5693
|
|
5694
|
+
#
|
5695
|
+
class ProvenanceBuilder
|
5696
|
+
include Google::Apis::Core::Hashable
|
5697
|
+
|
5698
|
+
#
|
5699
|
+
# Corresponds to the JSON property `builderDependencies`
|
5700
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
|
5701
|
+
attr_accessor :builder_dependencies
|
5702
|
+
|
5703
|
+
#
|
5704
|
+
# Corresponds to the JSON property `id`
|
5705
|
+
# @return [String]
|
5706
|
+
attr_accessor :id
|
5707
|
+
|
5708
|
+
#
|
5709
|
+
# Corresponds to the JSON property `version`
|
5710
|
+
# @return [Hash<String,String>]
|
5711
|
+
attr_accessor :version
|
5712
|
+
|
5713
|
+
def initialize(**args)
|
5714
|
+
update!(**args)
|
5715
|
+
end
|
5716
|
+
|
5717
|
+
# Update properties of this object
|
5718
|
+
def update!(**args)
|
5719
|
+
@builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
|
5720
|
+
@id = args[:id] if args.key?(:id)
|
5721
|
+
@version = args[:version] if args.key?(:version)
|
5722
|
+
end
|
5723
|
+
end
|
5724
|
+
|
5565
5725
|
# Publisher contains information about the publisher of this Note.
|
5566
5726
|
class Publisher
|
5567
5727
|
include Google::Apis::Core::Hashable
|
@@ -5851,6 +6011,93 @@ module Google
|
|
5851
6011
|
end
|
5852
6012
|
end
|
5853
6013
|
|
6014
|
+
#
|
6015
|
+
class ResourceDescriptor
|
6016
|
+
include Google::Apis::Core::Hashable
|
6017
|
+
|
6018
|
+
#
|
6019
|
+
# Corresponds to the JSON property `annotations`
|
6020
|
+
# @return [Hash<String,Object>]
|
6021
|
+
attr_accessor :annotations
|
6022
|
+
|
6023
|
+
#
|
6024
|
+
# Corresponds to the JSON property `content`
|
6025
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6026
|
+
# @return [String]
|
6027
|
+
attr_accessor :content
|
6028
|
+
|
6029
|
+
#
|
6030
|
+
# Corresponds to the JSON property `digest`
|
6031
|
+
# @return [Hash<String,String>]
|
6032
|
+
attr_accessor :digest
|
6033
|
+
|
6034
|
+
#
|
6035
|
+
# Corresponds to the JSON property `downloadLocation`
|
6036
|
+
# @return [String]
|
6037
|
+
attr_accessor :download_location
|
6038
|
+
|
6039
|
+
#
|
6040
|
+
# Corresponds to the JSON property `mediaType`
|
6041
|
+
# @return [String]
|
6042
|
+
attr_accessor :media_type
|
6043
|
+
|
6044
|
+
#
|
6045
|
+
# Corresponds to the JSON property `name`
|
6046
|
+
# @return [String]
|
6047
|
+
attr_accessor :name
|
6048
|
+
|
6049
|
+
#
|
6050
|
+
# Corresponds to the JSON property `uri`
|
6051
|
+
# @return [String]
|
6052
|
+
attr_accessor :uri
|
6053
|
+
|
6054
|
+
def initialize(**args)
|
6055
|
+
update!(**args)
|
6056
|
+
end
|
6057
|
+
|
6058
|
+
# Update properties of this object
|
6059
|
+
def update!(**args)
|
6060
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
6061
|
+
@content = args[:content] if args.key?(:content)
|
6062
|
+
@digest = args[:digest] if args.key?(:digest)
|
6063
|
+
@download_location = args[:download_location] if args.key?(:download_location)
|
6064
|
+
@media_type = args[:media_type] if args.key?(:media_type)
|
6065
|
+
@name = args[:name] if args.key?(:name)
|
6066
|
+
@uri = args[:uri] if args.key?(:uri)
|
6067
|
+
end
|
6068
|
+
end
|
6069
|
+
|
6070
|
+
#
|
6071
|
+
class RunDetails
|
6072
|
+
include Google::Apis::Core::Hashable
|
6073
|
+
|
6074
|
+
#
|
6075
|
+
# Corresponds to the JSON property `builder`
|
6076
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder]
|
6077
|
+
attr_accessor :builder
|
6078
|
+
|
6079
|
+
#
|
6080
|
+
# Corresponds to the JSON property `byproducts`
|
6081
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
|
6082
|
+
attr_accessor :byproducts
|
6083
|
+
|
6084
|
+
#
|
6085
|
+
# Corresponds to the JSON property `metadata`
|
6086
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::BuildMetadata]
|
6087
|
+
attr_accessor :metadata
|
6088
|
+
|
6089
|
+
def initialize(**args)
|
6090
|
+
update!(**args)
|
6091
|
+
end
|
6092
|
+
|
6093
|
+
# Update properties of this object
|
6094
|
+
def update!(**args)
|
6095
|
+
@builder = args[:builder] if args.key?(:builder)
|
6096
|
+
@byproducts = args[:byproducts] if args.key?(:byproducts)
|
6097
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
6098
|
+
end
|
6099
|
+
end
|
6100
|
+
|
5854
6101
|
# The note representing an SBOM reference.
|
5855
6102
|
class SbomReferenceNote
|
5856
6103
|
include Google::Apis::Core::Hashable
|
@@ -5913,6 +6160,32 @@ module Google
|
|
5913
6160
|
end
|
5914
6161
|
end
|
5915
6162
|
|
6163
|
+
# The status of an SBOM generation.
|
6164
|
+
class SbomStatus
|
6165
|
+
include Google::Apis::Core::Hashable
|
6166
|
+
|
6167
|
+
# Output only. If there was an error generating an SBOM, this will indicate what
|
6168
|
+
# that error was.
|
6169
|
+
# Corresponds to the JSON property `error`
|
6170
|
+
# @return [String]
|
6171
|
+
attr_accessor :error
|
6172
|
+
|
6173
|
+
# Output only. The progress of the SBOM generation.
|
6174
|
+
# Corresponds to the JSON property `sbomState`
|
6175
|
+
# @return [String]
|
6176
|
+
attr_accessor :sbom_state
|
6177
|
+
|
6178
|
+
def initialize(**args)
|
6179
|
+
update!(**args)
|
6180
|
+
end
|
6181
|
+
|
6182
|
+
# Update properties of this object
|
6183
|
+
def update!(**args)
|
6184
|
+
@error = args[:error] if args.key?(:error)
|
6185
|
+
@sbom_state = args[:sbom_state] if args.key?(:sbom_state)
|
6186
|
+
end
|
6187
|
+
end
|
6188
|
+
|
5916
6189
|
# The actual payload that contains the SBOM Reference data. The payload follows
|
5917
6190
|
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5918
6191
|
# blob/main/spec/v1.0/statement.md for more details.
|
@@ -6250,6 +6523,33 @@ module Google
|
|
6250
6523
|
end
|
6251
6524
|
end
|
6252
6525
|
|
6526
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
6527
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
6528
|
+
# ProvenanceBuilder because of Java conflicts.
|
6529
|
+
class SlsaProvenanceV1
|
6530
|
+
include Google::Apis::Core::Hashable
|
6531
|
+
|
6532
|
+
#
|
6533
|
+
# Corresponds to the JSON property `buildDefinition`
|
6534
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::BuildDefinition]
|
6535
|
+
attr_accessor :build_definition
|
6536
|
+
|
6537
|
+
#
|
6538
|
+
# Corresponds to the JSON property `runDetails`
|
6539
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::RunDetails]
|
6540
|
+
attr_accessor :run_details
|
6541
|
+
|
6542
|
+
def initialize(**args)
|
6543
|
+
update!(**args)
|
6544
|
+
end
|
6545
|
+
|
6546
|
+
# Update properties of this object
|
6547
|
+
def update!(**args)
|
6548
|
+
@build_definition = args[:build_definition] if args.key?(:build_definition)
|
6549
|
+
@run_details = args[:run_details] if args.key?(:run_details)
|
6550
|
+
end
|
6551
|
+
end
|
6552
|
+
|
6253
6553
|
# SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See
|
6254
6554
|
# full explanation of fields at slsa.dev/provenance/v0.2.
|
6255
6555
|
class SlsaProvenanceZeroTwo
|
@@ -6847,6 +7147,12 @@ module Google
|
|
6847
7147
|
# @return [String]
|
6848
7148
|
attr_accessor :state
|
6849
7149
|
|
7150
|
+
# The vulnerability identifier for this Assessment. Will hold one of common
|
7151
|
+
# identifiers e.g. CVE, GHSA etc.
|
7152
|
+
# Corresponds to the JSON property `vulnerabilityId`
|
7153
|
+
# @return [String]
|
7154
|
+
attr_accessor :vulnerability_id
|
7155
|
+
|
6850
7156
|
def initialize(**args)
|
6851
7157
|
update!(**args)
|
6852
7158
|
end
|
@@ -6860,6 +7166,7 @@ module Google
|
|
6860
7166
|
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
6861
7167
|
@remediations = args[:remediations] if args.key?(:remediations)
|
6862
7168
|
@state = args[:state] if args.key?(:state)
|
7169
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
6863
7170
|
end
|
6864
7171
|
end
|
6865
7172
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1alpha1
|
18
18
|
# Version of the google-apis-containeranalysis_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230717"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,12 +70,24 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BuildDefinition
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class BuildDetails
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
77
83
|
end
|
78
84
|
|
85
|
+
class BuildMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
79
91
|
class BuildProvenance
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
@@ -610,6 +622,12 @@ module Google
|
|
610
622
|
include Google::Apis::Core::JsonObjectSupport
|
611
623
|
end
|
612
624
|
|
625
|
+
class InTotoSlsaProvenanceV1
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
613
631
|
class InTotoStatement
|
614
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
633
|
|
@@ -748,6 +766,12 @@ module Google
|
|
748
766
|
include Google::Apis::Core::JsonObjectSupport
|
749
767
|
end
|
750
768
|
|
769
|
+
class ProvenanceBuilder
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
751
775
|
class Publisher
|
752
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
777
|
|
@@ -796,6 +820,18 @@ module Google
|
|
796
820
|
include Google::Apis::Core::JsonObjectSupport
|
797
821
|
end
|
798
822
|
|
823
|
+
class ResourceDescriptor
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
829
|
+
class RunDetails
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
|
+
|
832
|
+
include Google::Apis::Core::JsonObjectSupport
|
833
|
+
end
|
834
|
+
|
799
835
|
class SbomReferenceNote
|
800
836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
837
|
|
@@ -808,6 +844,12 @@ module Google
|
|
808
844
|
include Google::Apis::Core::JsonObjectSupport
|
809
845
|
end
|
810
846
|
|
847
|
+
class SbomStatus
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
811
853
|
class SbomReferenceIntotoPayload
|
812
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
855
|
|
@@ -862,6 +904,12 @@ module Google
|
|
862
904
|
include Google::Apis::Core::JsonObjectSupport
|
863
905
|
end
|
864
906
|
|
907
|
+
class SlsaProvenanceV1
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
865
913
|
class SlsaProvenanceZeroTwo
|
866
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
915
|
|
@@ -1019,6 +1067,7 @@ module Google
|
|
1019
1067
|
|
1020
1068
|
property :short_description, as: 'shortDescription'
|
1021
1069
|
property :state, as: 'state'
|
1070
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
1022
1071
|
end
|
1023
1072
|
end
|
1024
1073
|
|
@@ -1064,9 +1113,22 @@ module Google
|
|
1064
1113
|
end
|
1065
1114
|
end
|
1066
1115
|
|
1116
|
+
class BuildDefinition
|
1117
|
+
# @private
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1119
|
+
property :build_type, as: 'buildType'
|
1120
|
+
hash :external_parameters, as: 'externalParameters'
|
1121
|
+
hash :internal_parameters, as: 'internalParameters'
|
1122
|
+
collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
|
1123
|
+
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1067
1127
|
class BuildDetails
|
1068
1128
|
# @private
|
1069
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1::Representation
|
1131
|
+
|
1070
1132
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance::Representation
|
1071
1133
|
|
1072
1134
|
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement::Representation
|
@@ -1077,6 +1139,15 @@ module Google
|
|
1077
1139
|
end
|
1078
1140
|
end
|
1079
1141
|
|
1142
|
+
class BuildMetadata
|
1143
|
+
# @private
|
1144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1145
|
+
property :finished_on, as: 'finishedOn'
|
1146
|
+
property :invocation_id, as: 'invocationId'
|
1147
|
+
property :started_on, as: 'startedOn'
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1080
1151
|
class BuildProvenance
|
1081
1152
|
# @private
|
1082
1153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1738,6 +1809,8 @@ module Google
|
|
1738
1809
|
property :last_scan_time, as: 'lastScanTime'
|
1739
1810
|
property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
|
1740
1811
|
|
1812
|
+
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1alpha1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomStatus::Representation
|
1813
|
+
|
1741
1814
|
end
|
1742
1815
|
end
|
1743
1816
|
|
@@ -2059,6 +2132,18 @@ module Google
|
|
2059
2132
|
end
|
2060
2133
|
end
|
2061
2134
|
|
2135
|
+
class InTotoSlsaProvenanceV1
|
2136
|
+
# @private
|
2137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2138
|
+
property :_type, as: '_type'
|
2139
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1::Representation
|
2140
|
+
|
2141
|
+
property :predicate_type, as: 'predicateType'
|
2142
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1alpha1::Subject, decorator: Google::Apis::ContaineranalysisV1alpha1::Subject::Representation
|
2143
|
+
|
2144
|
+
end
|
2145
|
+
end
|
2146
|
+
|
2062
2147
|
class InTotoStatement
|
2063
2148
|
# @private
|
2064
2149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2401,6 +2486,16 @@ module Google
|
|
2401
2486
|
end
|
2402
2487
|
end
|
2403
2488
|
|
2489
|
+
class ProvenanceBuilder
|
2490
|
+
# @private
|
2491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2492
|
+
collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
|
2493
|
+
|
2494
|
+
property :id, as: 'id'
|
2495
|
+
hash :version, as: 'version'
|
2496
|
+
end
|
2497
|
+
end
|
2498
|
+
|
2404
2499
|
class Publisher
|
2405
2500
|
# @private
|
2406
2501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2477,6 +2572,31 @@ module Google
|
|
2477
2572
|
end
|
2478
2573
|
end
|
2479
2574
|
|
2575
|
+
class ResourceDescriptor
|
2576
|
+
# @private
|
2577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2578
|
+
hash :annotations, as: 'annotations'
|
2579
|
+
property :content, :base64 => true, as: 'content'
|
2580
|
+
hash :digest, as: 'digest'
|
2581
|
+
property :download_location, as: 'downloadLocation'
|
2582
|
+
property :media_type, as: 'mediaType'
|
2583
|
+
property :name, as: 'name'
|
2584
|
+
property :uri, as: 'uri'
|
2585
|
+
end
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
class RunDetails
|
2589
|
+
# @private
|
2590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2591
|
+
property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder, decorator: Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder::Representation
|
2592
|
+
|
2593
|
+
collection :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
|
2594
|
+
|
2595
|
+
property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1alpha1::BuildMetadata, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildMetadata::Representation
|
2596
|
+
|
2597
|
+
end
|
2598
|
+
end
|
2599
|
+
|
2480
2600
|
class SbomReferenceNote
|
2481
2601
|
# @private
|
2482
2602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2496,6 +2616,14 @@ module Google
|
|
2496
2616
|
end
|
2497
2617
|
end
|
2498
2618
|
|
2619
|
+
class SbomStatus
|
2620
|
+
# @private
|
2621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2622
|
+
property :error, as: 'error'
|
2623
|
+
property :sbom_state, as: 'sbomState'
|
2624
|
+
end
|
2625
|
+
end
|
2626
|
+
|
2499
2627
|
class SbomReferenceIntotoPayload
|
2500
2628
|
# @private
|
2501
2629
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2587,6 +2715,16 @@ module Google
|
|
2587
2715
|
end
|
2588
2716
|
end
|
2589
2717
|
|
2718
|
+
class SlsaProvenanceV1
|
2719
|
+
# @private
|
2720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2721
|
+
property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition::Representation
|
2722
|
+
|
2723
|
+
property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1alpha1::RunDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::RunDetails::Representation
|
2724
|
+
|
2725
|
+
end
|
2726
|
+
end
|
2727
|
+
|
2590
2728
|
class SlsaProvenanceZeroTwo
|
2591
2729
|
# @private
|
2592
2730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2753,6 +2891,7 @@ module Google
|
|
2753
2891
|
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1alpha1::Remediation, decorator: Google::Apis::ContaineranalysisV1alpha1::Remediation::Representation
|
2754
2892
|
|
2755
2893
|
property :state, as: 'state'
|
2894
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
2756
2895
|
end
|
2757
2896
|
end
|
2758
2897
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.50.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|