google-apis-containeranalysis_v1 0.35.0 → 0.37.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: 9d23fd5d12174e5912a02474875dd96559a3c021ba48023073969b2185c68f11
|
|
4
|
+
data.tar.gz: 0bef5a52b6ef3de049bec5585c943afaf9c09a15152a12a2e2bfbabcb85dbe73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 127b888975b3de3c728f74779a4ae4977750ec59d648d667f9c7bce72a46d7ec3ff67c92619d4f6433a2a907974f0e0ed66d4150e7778c7717de0d73a0774dab
|
|
7
|
+
data.tar.gz: 942a2a68dd598983147b46984a3f6f8d86e5a750839aa124d49538b45e17fab983ebbdf52891c0912df7200786606e01c14f1595570661e980e6db4eead5881e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
|
2
2
|
|
|
3
|
+
### v0.37.0 (2023-07-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20230717
|
|
6
|
+
|
|
7
|
+
### v0.36.0 (2023-07-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20230707
|
|
10
|
+
|
|
3
11
|
### v0.35.0 (2023-05-28)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20230519
|
|
@@ -110,7 +110,8 @@ module Google
|
|
|
110
110
|
include Google::Apis::Core::Hashable
|
|
111
111
|
|
|
112
112
|
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
|
113
|
-
# number for the vulnerability.
|
|
113
|
+
# number for the vulnerability. Deprecated: Use vulnerability_id instead to
|
|
114
|
+
# denote CVEs.
|
|
114
115
|
# Corresponds to the JSON property `cve`
|
|
115
116
|
# @return [String]
|
|
116
117
|
attr_accessor :cve
|
|
@@ -155,6 +156,12 @@ module Google
|
|
|
155
156
|
# @return [String]
|
|
156
157
|
attr_accessor :state
|
|
157
158
|
|
|
159
|
+
# The vulnerability identifier for this Assessment. Will hold one of common
|
|
160
|
+
# identifiers e.g. CVE, GHSA etc.
|
|
161
|
+
# Corresponds to the JSON property `vulnerabilityId`
|
|
162
|
+
# @return [String]
|
|
163
|
+
attr_accessor :vulnerability_id
|
|
164
|
+
|
|
158
165
|
def initialize(**args)
|
|
159
166
|
update!(**args)
|
|
160
167
|
end
|
|
@@ -169,6 +176,7 @@ module Google
|
|
|
169
176
|
@remediations = args[:remediations] if args.key?(:remediations)
|
|
170
177
|
@short_description = args[:short_description] if args.key?(:short_description)
|
|
171
178
|
@state = args[:state] if args.key?(:state)
|
|
179
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
|
172
180
|
end
|
|
173
181
|
end
|
|
174
182
|
|
|
@@ -402,6 +410,74 @@ module Google
|
|
|
402
410
|
end
|
|
403
411
|
end
|
|
404
412
|
|
|
413
|
+
#
|
|
414
|
+
class BuildDefinition
|
|
415
|
+
include Google::Apis::Core::Hashable
|
|
416
|
+
|
|
417
|
+
#
|
|
418
|
+
# Corresponds to the JSON property `buildType`
|
|
419
|
+
# @return [String]
|
|
420
|
+
attr_accessor :build_type
|
|
421
|
+
|
|
422
|
+
#
|
|
423
|
+
# Corresponds to the JSON property `externalParameters`
|
|
424
|
+
# @return [Hash<String,Object>]
|
|
425
|
+
attr_accessor :external_parameters
|
|
426
|
+
|
|
427
|
+
#
|
|
428
|
+
# Corresponds to the JSON property `internalParameters`
|
|
429
|
+
# @return [Hash<String,Object>]
|
|
430
|
+
attr_accessor :internal_parameters
|
|
431
|
+
|
|
432
|
+
#
|
|
433
|
+
# Corresponds to the JSON property `resolvedDependencies`
|
|
434
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
|
|
435
|
+
attr_accessor :resolved_dependencies
|
|
436
|
+
|
|
437
|
+
def initialize(**args)
|
|
438
|
+
update!(**args)
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Update properties of this object
|
|
442
|
+
def update!(**args)
|
|
443
|
+
@build_type = args[:build_type] if args.key?(:build_type)
|
|
444
|
+
@external_parameters = args[:external_parameters] if args.key?(:external_parameters)
|
|
445
|
+
@internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
|
|
446
|
+
@resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
|
|
447
|
+
end
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
#
|
|
451
|
+
class BuildMetadata
|
|
452
|
+
include Google::Apis::Core::Hashable
|
|
453
|
+
|
|
454
|
+
#
|
|
455
|
+
# Corresponds to the JSON property `finishedOn`
|
|
456
|
+
# @return [String]
|
|
457
|
+
attr_accessor :finished_on
|
|
458
|
+
|
|
459
|
+
#
|
|
460
|
+
# Corresponds to the JSON property `invocationId`
|
|
461
|
+
# @return [String]
|
|
462
|
+
attr_accessor :invocation_id
|
|
463
|
+
|
|
464
|
+
#
|
|
465
|
+
# Corresponds to the JSON property `startedOn`
|
|
466
|
+
# @return [String]
|
|
467
|
+
attr_accessor :started_on
|
|
468
|
+
|
|
469
|
+
def initialize(**args)
|
|
470
|
+
update!(**args)
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# Update properties of this object
|
|
474
|
+
def update!(**args)
|
|
475
|
+
@finished_on = args[:finished_on] if args.key?(:finished_on)
|
|
476
|
+
@invocation_id = args[:invocation_id] if args.key?(:invocation_id)
|
|
477
|
+
@started_on = args[:started_on] if args.key?(:started_on)
|
|
478
|
+
end
|
|
479
|
+
end
|
|
480
|
+
|
|
405
481
|
# Note holding the version of the provider's builder and the signature of the
|
|
406
482
|
# provenance message in the build details occurrence.
|
|
407
483
|
class BuildNote
|
|
@@ -426,6 +502,13 @@ module Google
|
|
|
426
502
|
class BuildOccurrence
|
|
427
503
|
include Google::Apis::Core::Hashable
|
|
428
504
|
|
|
505
|
+
# In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
|
|
506
|
+
# wrapped in an in-toto statement. This allows for direct jsonification of a to-
|
|
507
|
+
# spec in-toto slsa statement with a to-spec slsa provenance.
|
|
508
|
+
# Corresponds to the JSON property `inTotoSlsaProvenanceV1`
|
|
509
|
+
# @return [Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1]
|
|
510
|
+
attr_accessor :in_toto_slsa_provenance_v1
|
|
511
|
+
|
|
429
512
|
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
|
430
513
|
# representation as defined in spec.
|
|
431
514
|
# Corresponds to the JSON property `intotoProvenance`
|
|
@@ -463,6 +546,7 @@ module Google
|
|
|
463
546
|
|
|
464
547
|
# Update properties of this object
|
|
465
548
|
def update!(**args)
|
|
549
|
+
@in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
|
|
466
550
|
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
|
467
551
|
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
|
468
552
|
@provenance = args[:provenance] if args.key?(:provenance)
|
|
@@ -3123,6 +3207,11 @@ module Google
|
|
|
3123
3207
|
# @return [String]
|
|
3124
3208
|
attr_accessor :last_scan_time
|
|
3125
3209
|
|
|
3210
|
+
# The status of an SBOM generation.
|
|
3211
|
+
# Corresponds to the JSON property `sbomStatus`
|
|
3212
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomStatus]
|
|
3213
|
+
attr_accessor :sbom_status
|
|
3214
|
+
|
|
3126
3215
|
def initialize(**args)
|
|
3127
3216
|
update!(**args)
|
|
3128
3217
|
end
|
|
@@ -3137,6 +3226,7 @@ module Google
|
|
|
3137
3226
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
|
3138
3227
|
@cpe = args[:cpe] if args.key?(:cpe)
|
|
3139
3228
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
|
3229
|
+
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
|
3140
3230
|
end
|
|
3141
3231
|
end
|
|
3142
3232
|
|
|
@@ -3946,6 +4036,46 @@ module Google
|
|
|
3946
4036
|
end
|
|
3947
4037
|
end
|
|
3948
4038
|
|
|
4039
|
+
#
|
|
4040
|
+
class InTotoSlsaProvenanceV1
|
|
4041
|
+
include Google::Apis::Core::Hashable
|
|
4042
|
+
|
|
4043
|
+
# InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
|
4044
|
+
# statement
|
|
4045
|
+
# Corresponds to the JSON property `_type`
|
|
4046
|
+
# @return [String]
|
|
4047
|
+
attr_accessor :_type
|
|
4048
|
+
|
|
4049
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
|
4050
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
|
4051
|
+
# ProvenanceBuilder because of Java conflicts.
|
|
4052
|
+
# Corresponds to the JSON property `predicate`
|
|
4053
|
+
# @return [Google::Apis::ContaineranalysisV1::SlsaProvenanceV1]
|
|
4054
|
+
attr_accessor :predicate
|
|
4055
|
+
|
|
4056
|
+
#
|
|
4057
|
+
# Corresponds to the JSON property `predicateType`
|
|
4058
|
+
# @return [String]
|
|
4059
|
+
attr_accessor :predicate_type
|
|
4060
|
+
|
|
4061
|
+
#
|
|
4062
|
+
# Corresponds to the JSON property `subject`
|
|
4063
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
|
|
4064
|
+
attr_accessor :subject
|
|
4065
|
+
|
|
4066
|
+
def initialize(**args)
|
|
4067
|
+
update!(**args)
|
|
4068
|
+
end
|
|
4069
|
+
|
|
4070
|
+
# Update properties of this object
|
|
4071
|
+
def update!(**args)
|
|
4072
|
+
@_type = args[:_type] if args.key?(:_type)
|
|
4073
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
|
4074
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
|
4075
|
+
@subject = args[:subject] if args.key?(:subject)
|
|
4076
|
+
end
|
|
4077
|
+
end
|
|
4078
|
+
|
|
3949
4079
|
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
|
3950
4080
|
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
|
3951
4081
|
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
|
@@ -5021,6 +5151,37 @@ module Google
|
|
|
5021
5151
|
end
|
|
5022
5152
|
end
|
|
5023
5153
|
|
|
5154
|
+
#
|
|
5155
|
+
class ProvenanceBuilder
|
|
5156
|
+
include Google::Apis::Core::Hashable
|
|
5157
|
+
|
|
5158
|
+
#
|
|
5159
|
+
# Corresponds to the JSON property `builderDependencies`
|
|
5160
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
|
|
5161
|
+
attr_accessor :builder_dependencies
|
|
5162
|
+
|
|
5163
|
+
#
|
|
5164
|
+
# Corresponds to the JSON property `id`
|
|
5165
|
+
# @return [String]
|
|
5166
|
+
attr_accessor :id
|
|
5167
|
+
|
|
5168
|
+
#
|
|
5169
|
+
# Corresponds to the JSON property `version`
|
|
5170
|
+
# @return [Hash<String,String>]
|
|
5171
|
+
attr_accessor :version
|
|
5172
|
+
|
|
5173
|
+
def initialize(**args)
|
|
5174
|
+
update!(**args)
|
|
5175
|
+
end
|
|
5176
|
+
|
|
5177
|
+
# Update properties of this object
|
|
5178
|
+
def update!(**args)
|
|
5179
|
+
@builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
|
|
5180
|
+
@id = args[:id] if args.key?(:id)
|
|
5181
|
+
@version = args[:version] if args.key?(:version)
|
|
5182
|
+
end
|
|
5183
|
+
end
|
|
5184
|
+
|
|
5024
5185
|
# Publisher contains information about the publisher of this Note.
|
|
5025
5186
|
class Publisher
|
|
5026
5187
|
include Google::Apis::Core::Hashable
|
|
@@ -5199,6 +5360,93 @@ module Google
|
|
|
5199
5360
|
end
|
|
5200
5361
|
end
|
|
5201
5362
|
|
|
5363
|
+
#
|
|
5364
|
+
class ResourceDescriptor
|
|
5365
|
+
include Google::Apis::Core::Hashable
|
|
5366
|
+
|
|
5367
|
+
#
|
|
5368
|
+
# Corresponds to the JSON property `annotations`
|
|
5369
|
+
# @return [Hash<String,Object>]
|
|
5370
|
+
attr_accessor :annotations
|
|
5371
|
+
|
|
5372
|
+
#
|
|
5373
|
+
# Corresponds to the JSON property `content`
|
|
5374
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
5375
|
+
# @return [String]
|
|
5376
|
+
attr_accessor :content
|
|
5377
|
+
|
|
5378
|
+
#
|
|
5379
|
+
# Corresponds to the JSON property `digest`
|
|
5380
|
+
# @return [Hash<String,String>]
|
|
5381
|
+
attr_accessor :digest
|
|
5382
|
+
|
|
5383
|
+
#
|
|
5384
|
+
# Corresponds to the JSON property `downloadLocation`
|
|
5385
|
+
# @return [String]
|
|
5386
|
+
attr_accessor :download_location
|
|
5387
|
+
|
|
5388
|
+
#
|
|
5389
|
+
# Corresponds to the JSON property `mediaType`
|
|
5390
|
+
# @return [String]
|
|
5391
|
+
attr_accessor :media_type
|
|
5392
|
+
|
|
5393
|
+
#
|
|
5394
|
+
# Corresponds to the JSON property `name`
|
|
5395
|
+
# @return [String]
|
|
5396
|
+
attr_accessor :name
|
|
5397
|
+
|
|
5398
|
+
#
|
|
5399
|
+
# Corresponds to the JSON property `uri`
|
|
5400
|
+
# @return [String]
|
|
5401
|
+
attr_accessor :uri
|
|
5402
|
+
|
|
5403
|
+
def initialize(**args)
|
|
5404
|
+
update!(**args)
|
|
5405
|
+
end
|
|
5406
|
+
|
|
5407
|
+
# Update properties of this object
|
|
5408
|
+
def update!(**args)
|
|
5409
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
5410
|
+
@content = args[:content] if args.key?(:content)
|
|
5411
|
+
@digest = args[:digest] if args.key?(:digest)
|
|
5412
|
+
@download_location = args[:download_location] if args.key?(:download_location)
|
|
5413
|
+
@media_type = args[:media_type] if args.key?(:media_type)
|
|
5414
|
+
@name = args[:name] if args.key?(:name)
|
|
5415
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
5416
|
+
end
|
|
5417
|
+
end
|
|
5418
|
+
|
|
5419
|
+
#
|
|
5420
|
+
class RunDetails
|
|
5421
|
+
include Google::Apis::Core::Hashable
|
|
5422
|
+
|
|
5423
|
+
#
|
|
5424
|
+
# Corresponds to the JSON property `builder`
|
|
5425
|
+
# @return [Google::Apis::ContaineranalysisV1::ProvenanceBuilder]
|
|
5426
|
+
attr_accessor :builder
|
|
5427
|
+
|
|
5428
|
+
#
|
|
5429
|
+
# Corresponds to the JSON property `byproducts`
|
|
5430
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
|
|
5431
|
+
attr_accessor :byproducts
|
|
5432
|
+
|
|
5433
|
+
#
|
|
5434
|
+
# Corresponds to the JSON property `metadata`
|
|
5435
|
+
# @return [Google::Apis::ContaineranalysisV1::BuildMetadata]
|
|
5436
|
+
attr_accessor :metadata
|
|
5437
|
+
|
|
5438
|
+
def initialize(**args)
|
|
5439
|
+
update!(**args)
|
|
5440
|
+
end
|
|
5441
|
+
|
|
5442
|
+
# Update properties of this object
|
|
5443
|
+
def update!(**args)
|
|
5444
|
+
@builder = args[:builder] if args.key?(:builder)
|
|
5445
|
+
@byproducts = args[:byproducts] if args.key?(:byproducts)
|
|
5446
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
5447
|
+
end
|
|
5448
|
+
end
|
|
5449
|
+
|
|
5202
5450
|
# The note representing an SBOM reference.
|
|
5203
5451
|
class SbomReferenceNote
|
|
5204
5452
|
include Google::Apis::Core::Hashable
|
|
@@ -5261,6 +5509,32 @@ module Google
|
|
|
5261
5509
|
end
|
|
5262
5510
|
end
|
|
5263
5511
|
|
|
5512
|
+
# The status of an SBOM generation.
|
|
5513
|
+
class SbomStatus
|
|
5514
|
+
include Google::Apis::Core::Hashable
|
|
5515
|
+
|
|
5516
|
+
# If there was an error generating an SBOM, this will indicate what that error
|
|
5517
|
+
# was.
|
|
5518
|
+
# Corresponds to the JSON property `error`
|
|
5519
|
+
# @return [String]
|
|
5520
|
+
attr_accessor :error
|
|
5521
|
+
|
|
5522
|
+
# The progress of the SBOM generation.
|
|
5523
|
+
# Corresponds to the JSON property `sbomState`
|
|
5524
|
+
# @return [String]
|
|
5525
|
+
attr_accessor :sbom_state
|
|
5526
|
+
|
|
5527
|
+
def initialize(**args)
|
|
5528
|
+
update!(**args)
|
|
5529
|
+
end
|
|
5530
|
+
|
|
5531
|
+
# Update properties of this object
|
|
5532
|
+
def update!(**args)
|
|
5533
|
+
@error = args[:error] if args.key?(:error)
|
|
5534
|
+
@sbom_state = args[:sbom_state] if args.key?(:sbom_state)
|
|
5535
|
+
end
|
|
5536
|
+
end
|
|
5537
|
+
|
|
5264
5538
|
# The actual payload that contains the SBOM Reference data. The payload follows
|
|
5265
5539
|
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
|
5266
5540
|
# blob/main/spec/v1.0/statement.md for more details.
|
|
@@ -5583,6 +5857,33 @@ module Google
|
|
|
5583
5857
|
end
|
|
5584
5858
|
end
|
|
5585
5859
|
|
|
5860
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
|
5861
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
|
5862
|
+
# ProvenanceBuilder because of Java conflicts.
|
|
5863
|
+
class SlsaProvenanceV1
|
|
5864
|
+
include Google::Apis::Core::Hashable
|
|
5865
|
+
|
|
5866
|
+
#
|
|
5867
|
+
# Corresponds to the JSON property `buildDefinition`
|
|
5868
|
+
# @return [Google::Apis::ContaineranalysisV1::BuildDefinition]
|
|
5869
|
+
attr_accessor :build_definition
|
|
5870
|
+
|
|
5871
|
+
#
|
|
5872
|
+
# Corresponds to the JSON property `runDetails`
|
|
5873
|
+
# @return [Google::Apis::ContaineranalysisV1::RunDetails]
|
|
5874
|
+
attr_accessor :run_details
|
|
5875
|
+
|
|
5876
|
+
def initialize(**args)
|
|
5877
|
+
update!(**args)
|
|
5878
|
+
end
|
|
5879
|
+
|
|
5880
|
+
# Update properties of this object
|
|
5881
|
+
def update!(**args)
|
|
5882
|
+
@build_definition = args[:build_definition] if args.key?(:build_definition)
|
|
5883
|
+
@run_details = args[:run_details] if args.key?(:run_details)
|
|
5884
|
+
end
|
|
5885
|
+
end
|
|
5886
|
+
|
|
5586
5887
|
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
|
5587
5888
|
class SlsaProvenanceZeroTwo
|
|
5588
5889
|
include Google::Apis::Core::Hashable
|
|
@@ -6101,7 +6402,8 @@ module Google
|
|
|
6101
6402
|
include Google::Apis::Core::Hashable
|
|
6102
6403
|
|
|
6103
6404
|
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
|
6104
|
-
# number for the vulnerability.
|
|
6405
|
+
# number for the vulnerability. Deprecated: Use vulnerability_id instead to
|
|
6406
|
+
# denote CVEs.
|
|
6105
6407
|
# Corresponds to the JSON property `cve`
|
|
6106
6408
|
# @return [String]
|
|
6107
6409
|
attr_accessor :cve
|
|
@@ -6140,6 +6442,12 @@ module Google
|
|
|
6140
6442
|
# @return [String]
|
|
6141
6443
|
attr_accessor :state
|
|
6142
6444
|
|
|
6445
|
+
# The vulnerability identifier for this Assessment. Will hold one of common
|
|
6446
|
+
# identifiers e.g. CVE, GHSA etc.
|
|
6447
|
+
# Corresponds to the JSON property `vulnerabilityId`
|
|
6448
|
+
# @return [String]
|
|
6449
|
+
attr_accessor :vulnerability_id
|
|
6450
|
+
|
|
6143
6451
|
def initialize(**args)
|
|
6144
6452
|
update!(**args)
|
|
6145
6453
|
end
|
|
@@ -6153,6 +6461,7 @@ module Google
|
|
|
6153
6461
|
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
|
6154
6462
|
@remediations = args[:remediations] if args.key?(:remediations)
|
|
6155
6463
|
@state = args[:state] if args.key?(:state)
|
|
6464
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
|
6156
6465
|
end
|
|
6157
6466
|
end
|
|
6158
6467
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ContaineranalysisV1
|
|
18
18
|
# Version of the google-apis-containeranalysis_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.37.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
|
|
@@ -88,6 +88,18 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class BuildDefinition
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class BuildMetadata
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
91
103
|
class BuildNote
|
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
105
|
|
|
@@ -586,6 +598,12 @@ module Google
|
|
|
586
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
587
599
|
end
|
|
588
600
|
|
|
601
|
+
class InTotoSlsaProvenanceV1
|
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
|
+
|
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
605
|
+
end
|
|
606
|
+
|
|
589
607
|
class InTotoStatement
|
|
590
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
609
|
|
|
@@ -712,6 +730,12 @@ module Google
|
|
|
712
730
|
include Google::Apis::Core::JsonObjectSupport
|
|
713
731
|
end
|
|
714
732
|
|
|
733
|
+
class ProvenanceBuilder
|
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
735
|
+
|
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
737
|
+
end
|
|
738
|
+
|
|
715
739
|
class Publisher
|
|
716
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
717
741
|
|
|
@@ -742,6 +766,18 @@ module Google
|
|
|
742
766
|
include Google::Apis::Core::JsonObjectSupport
|
|
743
767
|
end
|
|
744
768
|
|
|
769
|
+
class ResourceDescriptor
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class RunDetails
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
745
781
|
class SbomReferenceNote
|
|
746
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
783
|
|
|
@@ -754,6 +790,12 @@ module Google
|
|
|
754
790
|
include Google::Apis::Core::JsonObjectSupport
|
|
755
791
|
end
|
|
756
792
|
|
|
793
|
+
class SbomStatus
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
757
799
|
class SbomReferenceIntotoPayload
|
|
758
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
759
801
|
|
|
@@ -802,6 +844,12 @@ module Google
|
|
|
802
844
|
include Google::Apis::Core::JsonObjectSupport
|
|
803
845
|
end
|
|
804
846
|
|
|
847
|
+
class SlsaProvenanceV1
|
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
849
|
+
|
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
851
|
+
end
|
|
852
|
+
|
|
805
853
|
class SlsaProvenanceZeroTwo
|
|
806
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
807
855
|
|
|
@@ -966,6 +1014,7 @@ module Google
|
|
|
966
1014
|
|
|
967
1015
|
property :short_description, as: 'shortDescription'
|
|
968
1016
|
property :state, as: 'state'
|
|
1017
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
|
969
1018
|
end
|
|
970
1019
|
end
|
|
971
1020
|
|
|
@@ -1030,6 +1079,26 @@ module Google
|
|
|
1030
1079
|
end
|
|
1031
1080
|
end
|
|
1032
1081
|
|
|
1082
|
+
class BuildDefinition
|
|
1083
|
+
# @private
|
|
1084
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1085
|
+
property :build_type, as: 'buildType'
|
|
1086
|
+
hash :external_parameters, as: 'externalParameters'
|
|
1087
|
+
hash :internal_parameters, as: 'internalParameters'
|
|
1088
|
+
collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
|
|
1089
|
+
|
|
1090
|
+
end
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
class BuildMetadata
|
|
1094
|
+
# @private
|
|
1095
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1096
|
+
property :finished_on, as: 'finishedOn'
|
|
1097
|
+
property :invocation_id, as: 'invocationId'
|
|
1098
|
+
property :started_on, as: 'startedOn'
|
|
1099
|
+
end
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1033
1102
|
class BuildNote
|
|
1034
1103
|
# @private
|
|
1035
1104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1040,6 +1109,8 @@ module Google
|
|
|
1040
1109
|
class BuildOccurrence
|
|
1041
1110
|
# @private
|
|
1042
1111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1112
|
+
property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1::Representation
|
|
1113
|
+
|
|
1043
1114
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1::InTotoProvenance::Representation
|
|
1044
1115
|
|
|
1045
1116
|
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1::InTotoStatement::Representation
|
|
@@ -1715,6 +1786,8 @@ module Google
|
|
|
1715
1786
|
property :continuous_analysis, as: 'continuousAnalysis'
|
|
1716
1787
|
property :cpe, as: 'cpe'
|
|
1717
1788
|
property :last_scan_time, as: 'lastScanTime'
|
|
1789
|
+
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1::SbomStatus::Representation
|
|
1790
|
+
|
|
1718
1791
|
end
|
|
1719
1792
|
end
|
|
1720
1793
|
|
|
@@ -1953,6 +2026,18 @@ module Google
|
|
|
1953
2026
|
end
|
|
1954
2027
|
end
|
|
1955
2028
|
|
|
2029
|
+
class InTotoSlsaProvenanceV1
|
|
2030
|
+
# @private
|
|
2031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2032
|
+
property :_type, as: '_type'
|
|
2033
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1::Representation
|
|
2034
|
+
|
|
2035
|
+
property :predicate_type, as: 'predicateType'
|
|
2036
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
|
|
2037
|
+
|
|
2038
|
+
end
|
|
2039
|
+
end
|
|
2040
|
+
|
|
1956
2041
|
class InTotoStatement
|
|
1957
2042
|
# @private
|
|
1958
2043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2234,6 +2319,16 @@ module Google
|
|
|
2234
2319
|
end
|
|
2235
2320
|
end
|
|
2236
2321
|
|
|
2322
|
+
class ProvenanceBuilder
|
|
2323
|
+
# @private
|
|
2324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2325
|
+
collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
|
|
2326
|
+
|
|
2327
|
+
property :id, as: 'id'
|
|
2328
|
+
hash :version, as: 'version'
|
|
2329
|
+
end
|
|
2330
|
+
end
|
|
2331
|
+
|
|
2237
2332
|
class Publisher
|
|
2238
2333
|
# @private
|
|
2239
2334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2281,6 +2376,31 @@ module Google
|
|
|
2281
2376
|
end
|
|
2282
2377
|
end
|
|
2283
2378
|
|
|
2379
|
+
class ResourceDescriptor
|
|
2380
|
+
# @private
|
|
2381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2382
|
+
hash :annotations, as: 'annotations'
|
|
2383
|
+
property :content, :base64 => true, as: 'content'
|
|
2384
|
+
hash :digest, as: 'digest'
|
|
2385
|
+
property :download_location, as: 'downloadLocation'
|
|
2386
|
+
property :media_type, as: 'mediaType'
|
|
2387
|
+
property :name, as: 'name'
|
|
2388
|
+
property :uri, as: 'uri'
|
|
2389
|
+
end
|
|
2390
|
+
end
|
|
2391
|
+
|
|
2392
|
+
class RunDetails
|
|
2393
|
+
# @private
|
|
2394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2395
|
+
property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1::ProvenanceBuilder, decorator: Google::Apis::ContaineranalysisV1::ProvenanceBuilder::Representation
|
|
2396
|
+
|
|
2397
|
+
collection :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
|
|
2398
|
+
|
|
2399
|
+
property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1::BuildMetadata, decorator: Google::Apis::ContaineranalysisV1::BuildMetadata::Representation
|
|
2400
|
+
|
|
2401
|
+
end
|
|
2402
|
+
end
|
|
2403
|
+
|
|
2284
2404
|
class SbomReferenceNote
|
|
2285
2405
|
# @private
|
|
2286
2406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2300,6 +2420,14 @@ module Google
|
|
|
2300
2420
|
end
|
|
2301
2421
|
end
|
|
2302
2422
|
|
|
2423
|
+
class SbomStatus
|
|
2424
|
+
# @private
|
|
2425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2426
|
+
property :error, as: 'error'
|
|
2427
|
+
property :sbom_state, as: 'sbomState'
|
|
2428
|
+
end
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2303
2431
|
class SbomReferenceIntotoPayload
|
|
2304
2432
|
# @private
|
|
2305
2433
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2380,6 +2508,16 @@ module Google
|
|
|
2380
2508
|
end
|
|
2381
2509
|
end
|
|
2382
2510
|
|
|
2511
|
+
class SlsaProvenanceV1
|
|
2512
|
+
# @private
|
|
2513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2514
|
+
property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1::BuildDefinition::Representation
|
|
2515
|
+
|
|
2516
|
+
property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1::RunDetails, decorator: Google::Apis::ContaineranalysisV1::RunDetails::Representation
|
|
2517
|
+
|
|
2518
|
+
end
|
|
2519
|
+
end
|
|
2520
|
+
|
|
2383
2521
|
class SlsaProvenanceZeroTwo
|
|
2384
2522
|
# @private
|
|
2385
2523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2533,6 +2671,7 @@ module Google
|
|
|
2533
2671
|
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1::Remediation, decorator: Google::Apis::ContaineranalysisV1::Remediation::Representation
|
|
2534
2672
|
|
|
2535
2673
|
property :state, as: 'state'
|
|
2674
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
|
2536
2675
|
end
|
|
2537
2676
|
end
|
|
2538
2677
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-containeranalysis_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.37.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_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.37.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|