google-apis-containeranalysis_v1alpha1 0.49.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
|
@@ -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
|
|
@@ -4174,6 +4257,46 @@ module Google
|
|
|
4174
4257
|
end
|
|
4175
4258
|
end
|
|
4176
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
|
+
|
|
4177
4300
|
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
|
4178
4301
|
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
|
4179
4302
|
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
|
@@ -5568,6 +5691,37 @@ module Google
|
|
|
5568
5691
|
end
|
|
5569
5692
|
end
|
|
5570
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
|
+
|
|
5571
5725
|
# Publisher contains information about the publisher of this Note.
|
|
5572
5726
|
class Publisher
|
|
5573
5727
|
include Google::Apis::Core::Hashable
|
|
@@ -5857,6 +6011,93 @@ module Google
|
|
|
5857
6011
|
end
|
|
5858
6012
|
end
|
|
5859
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
|
+
|
|
5860
6101
|
# The note representing an SBOM reference.
|
|
5861
6102
|
class SbomReferenceNote
|
|
5862
6103
|
include Google::Apis::Core::Hashable
|
|
@@ -6282,6 +6523,33 @@ module Google
|
|
|
6282
6523
|
end
|
|
6283
6524
|
end
|
|
6284
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
|
+
|
|
6285
6553
|
# SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See
|
|
6286
6554
|
# full explanation of fields at slsa.dev/provenance/v0.2.
|
|
6287
6555
|
class SlsaProvenanceZeroTwo
|
|
@@ -6879,6 +7147,12 @@ module Google
|
|
|
6879
7147
|
# @return [String]
|
|
6880
7148
|
attr_accessor :state
|
|
6881
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
|
+
|
|
6882
7156
|
def initialize(**args)
|
|
6883
7157
|
update!(**args)
|
|
6884
7158
|
end
|
|
@@ -6892,6 +7166,7 @@ module Google
|
|
|
6892
7166
|
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
|
6893
7167
|
@remediations = args[:remediations] if args.key?(:remediations)
|
|
6894
7168
|
@state = args[:state] if args.key?(:state)
|
|
7169
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
|
6895
7170
|
end
|
|
6896
7171
|
end
|
|
6897
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
|
|
|
@@ -868,6 +904,12 @@ module Google
|
|
|
868
904
|
include Google::Apis::Core::JsonObjectSupport
|
|
869
905
|
end
|
|
870
906
|
|
|
907
|
+
class SlsaProvenanceV1
|
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
|
+
|
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
911
|
+
end
|
|
912
|
+
|
|
871
913
|
class SlsaProvenanceZeroTwo
|
|
872
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
873
915
|
|
|
@@ -1025,6 +1067,7 @@ module Google
|
|
|
1025
1067
|
|
|
1026
1068
|
property :short_description, as: 'shortDescription'
|
|
1027
1069
|
property :state, as: 'state'
|
|
1070
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
|
1028
1071
|
end
|
|
1029
1072
|
end
|
|
1030
1073
|
|
|
@@ -1070,9 +1113,22 @@ module Google
|
|
|
1070
1113
|
end
|
|
1071
1114
|
end
|
|
1072
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
|
+
|
|
1073
1127
|
class BuildDetails
|
|
1074
1128
|
# @private
|
|
1075
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
|
+
|
|
1076
1132
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance::Representation
|
|
1077
1133
|
|
|
1078
1134
|
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement::Representation
|
|
@@ -1083,6 +1139,15 @@ module Google
|
|
|
1083
1139
|
end
|
|
1084
1140
|
end
|
|
1085
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
|
+
|
|
1086
1151
|
class BuildProvenance
|
|
1087
1152
|
# @private
|
|
1088
1153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2067,6 +2132,18 @@ module Google
|
|
|
2067
2132
|
end
|
|
2068
2133
|
end
|
|
2069
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
|
+
|
|
2070
2147
|
class InTotoStatement
|
|
2071
2148
|
# @private
|
|
2072
2149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2409,6 +2486,16 @@ module Google
|
|
|
2409
2486
|
end
|
|
2410
2487
|
end
|
|
2411
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
|
+
|
|
2412
2499
|
class Publisher
|
|
2413
2500
|
# @private
|
|
2414
2501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2485,6 +2572,31 @@ module Google
|
|
|
2485
2572
|
end
|
|
2486
2573
|
end
|
|
2487
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
|
+
|
|
2488
2600
|
class SbomReferenceNote
|
|
2489
2601
|
# @private
|
|
2490
2602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2603,6 +2715,16 @@ module Google
|
|
|
2603
2715
|
end
|
|
2604
2716
|
end
|
|
2605
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
|
+
|
|
2606
2728
|
class SlsaProvenanceZeroTwo
|
|
2607
2729
|
# @private
|
|
2608
2730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2769,6 +2891,7 @@ module Google
|
|
|
2769
2891
|
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1alpha1::Remediation, decorator: Google::Apis::ContaineranalysisV1alpha1::Remediation::Representation
|
|
2770
2892
|
|
|
2771
2893
|
property :state, as: 'state'
|
|
2894
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
|
2772
2895
|
end
|
|
2773
2896
|
end
|
|
2774
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-07-
|
|
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: []
|