google-apis-containeranalysis_v1 0.36.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b84237236b8315306c696348752fb259e33d0279acaad35f4114cfc5340caedc
|
4
|
+
data.tar.gz: '088d918fbe120408dcb822371f8754591b90d00802637ba6fcbfb25cef19abc6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c15aa7b3bb99b37cec69a60d06f66c11c0e5b9794763dd489adfc0890289efde46be388f1d3329f75418bd35f39be112bd33fb6d10dd15a8af07ce29a87da45f
|
7
|
+
data.tar.gz: 9764f444ef663da8623a8f4e454340b8d63aa4895f55fd1e7931df7ca0b3ce0c6676e6b4bcd8412d7ad8222565e311a338328a9afc62e879dd35fdc507715765
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2023-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230721
|
6
|
+
|
7
|
+
### v0.37.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230717
|
10
|
+
|
3
11
|
### v0.36.0 (2023-07-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230707
|
@@ -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)
|
@@ -565,7 +649,7 @@ module Google
|
|
565
649
|
end
|
566
650
|
end
|
567
651
|
|
568
|
-
# A step in the build pipeline. Next ID:
|
652
|
+
# A step in the build pipeline. Next ID: 21
|
569
653
|
class BuildStep
|
570
654
|
include Google::Apis::Core::Hashable
|
571
655
|
|
@@ -594,6 +678,13 @@ module Google
|
|
594
678
|
# @return [Array<String>]
|
595
679
|
attr_accessor :args
|
596
680
|
|
681
|
+
# Option to include built-in and custom substitutions as env variables for this
|
682
|
+
# build step. This option will override the global option in BuildOption.
|
683
|
+
# Corresponds to the JSON property `automapSubstitutions`
|
684
|
+
# @return [Boolean]
|
685
|
+
attr_accessor :automap_substitutions
|
686
|
+
alias_method :automap_substitutions?, :automap_substitutions
|
687
|
+
|
597
688
|
# Working directory to use when running this step's container. If this value is
|
598
689
|
# a relative path, it is relative to the build's working directory. If this
|
599
690
|
# value is absolute, it may be outside the build's working directory, in which
|
@@ -707,6 +798,7 @@ module Google
|
|
707
798
|
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
708
799
|
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
709
800
|
@args = args[:args] if args.key?(:args)
|
801
|
+
@automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
|
710
802
|
@dir = args[:dir] if args.key?(:dir)
|
711
803
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
712
804
|
@env = args[:env] if args.key?(:env)
|
@@ -1758,6 +1850,13 @@ module Google
|
|
1758
1850
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
|
1759
1851
|
include Google::Apis::Core::Hashable
|
1760
1852
|
|
1853
|
+
# Option to include built-in and custom substitutions as env variables for all
|
1854
|
+
# build steps.
|
1855
|
+
# Corresponds to the JSON property `automapSubstitutions`
|
1856
|
+
# @return [Boolean]
|
1857
|
+
attr_accessor :automap_substitutions
|
1858
|
+
alias_method :automap_substitutions?, :automap_substitutions
|
1859
|
+
|
1761
1860
|
# Optional. Option to specify how default logs buckets are setup.
|
1762
1861
|
# Corresponds to the JSON property `defaultLogsBucketBehavior`
|
1763
1862
|
# @return [String]
|
@@ -1858,6 +1957,7 @@ module Google
|
|
1858
1957
|
|
1859
1958
|
# Update properties of this object
|
1860
1959
|
def update!(**args)
|
1960
|
+
@automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
|
1861
1961
|
@default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
|
1862
1962
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1863
1963
|
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
@@ -1927,6 +2027,13 @@ module Google
|
|
1927
2027
|
# @return [Array<String>]
|
1928
2028
|
attr_accessor :args
|
1929
2029
|
|
2030
|
+
# Option to include built-in and custom substitutions as env variables for this
|
2031
|
+
# build step. This option will override the global option in BuildOption.
|
2032
|
+
# Corresponds to the JSON property `automapSubstitutions`
|
2033
|
+
# @return [Boolean]
|
2034
|
+
attr_accessor :automap_substitutions
|
2035
|
+
alias_method :automap_substitutions?, :automap_substitutions
|
2036
|
+
|
1930
2037
|
# Working directory to use when running this step's container. If this value is
|
1931
2038
|
# a relative path, it is relative to the build's working directory. If this
|
1932
2039
|
# value is absolute, it may be outside the build's working directory, in which
|
@@ -2040,6 +2147,7 @@ module Google
|
|
2040
2147
|
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
2041
2148
|
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
2042
2149
|
@args = args[:args] if args.key?(:args)
|
2150
|
+
@automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
|
2043
2151
|
@dir = args[:dir] if args.key?(:dir)
|
2044
2152
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
2045
2153
|
@env = args[:env] if args.key?(:env)
|
@@ -3952,6 +4060,46 @@ module Google
|
|
3952
4060
|
end
|
3953
4061
|
end
|
3954
4062
|
|
4063
|
+
#
|
4064
|
+
class InTotoSlsaProvenanceV1
|
4065
|
+
include Google::Apis::Core::Hashable
|
4066
|
+
|
4067
|
+
# InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
4068
|
+
# statement
|
4069
|
+
# Corresponds to the JSON property `_type`
|
4070
|
+
# @return [String]
|
4071
|
+
attr_accessor :_type
|
4072
|
+
|
4073
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
4074
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
4075
|
+
# ProvenanceBuilder because of Java conflicts.
|
4076
|
+
# Corresponds to the JSON property `predicate`
|
4077
|
+
# @return [Google::Apis::ContaineranalysisV1::SlsaProvenanceV1]
|
4078
|
+
attr_accessor :predicate
|
4079
|
+
|
4080
|
+
#
|
4081
|
+
# Corresponds to the JSON property `predicateType`
|
4082
|
+
# @return [String]
|
4083
|
+
attr_accessor :predicate_type
|
4084
|
+
|
4085
|
+
#
|
4086
|
+
# Corresponds to the JSON property `subject`
|
4087
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
|
4088
|
+
attr_accessor :subject
|
4089
|
+
|
4090
|
+
def initialize(**args)
|
4091
|
+
update!(**args)
|
4092
|
+
end
|
4093
|
+
|
4094
|
+
# Update properties of this object
|
4095
|
+
def update!(**args)
|
4096
|
+
@_type = args[:_type] if args.key?(:_type)
|
4097
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
4098
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
4099
|
+
@subject = args[:subject] if args.key?(:subject)
|
4100
|
+
end
|
4101
|
+
end
|
4102
|
+
|
3955
4103
|
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
3956
4104
|
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
3957
4105
|
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
@@ -5027,6 +5175,37 @@ module Google
|
|
5027
5175
|
end
|
5028
5176
|
end
|
5029
5177
|
|
5178
|
+
#
|
5179
|
+
class ProvenanceBuilder
|
5180
|
+
include Google::Apis::Core::Hashable
|
5181
|
+
|
5182
|
+
#
|
5183
|
+
# Corresponds to the JSON property `builderDependencies`
|
5184
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
|
5185
|
+
attr_accessor :builder_dependencies
|
5186
|
+
|
5187
|
+
#
|
5188
|
+
# Corresponds to the JSON property `id`
|
5189
|
+
# @return [String]
|
5190
|
+
attr_accessor :id
|
5191
|
+
|
5192
|
+
#
|
5193
|
+
# Corresponds to the JSON property `version`
|
5194
|
+
# @return [Hash<String,String>]
|
5195
|
+
attr_accessor :version
|
5196
|
+
|
5197
|
+
def initialize(**args)
|
5198
|
+
update!(**args)
|
5199
|
+
end
|
5200
|
+
|
5201
|
+
# Update properties of this object
|
5202
|
+
def update!(**args)
|
5203
|
+
@builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
|
5204
|
+
@id = args[:id] if args.key?(:id)
|
5205
|
+
@version = args[:version] if args.key?(:version)
|
5206
|
+
end
|
5207
|
+
end
|
5208
|
+
|
5030
5209
|
# Publisher contains information about the publisher of this Note.
|
5031
5210
|
class Publisher
|
5032
5211
|
include Google::Apis::Core::Hashable
|
@@ -5205,6 +5384,93 @@ module Google
|
|
5205
5384
|
end
|
5206
5385
|
end
|
5207
5386
|
|
5387
|
+
#
|
5388
|
+
class ResourceDescriptor
|
5389
|
+
include Google::Apis::Core::Hashable
|
5390
|
+
|
5391
|
+
#
|
5392
|
+
# Corresponds to the JSON property `annotations`
|
5393
|
+
# @return [Hash<String,Object>]
|
5394
|
+
attr_accessor :annotations
|
5395
|
+
|
5396
|
+
#
|
5397
|
+
# Corresponds to the JSON property `content`
|
5398
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5399
|
+
# @return [String]
|
5400
|
+
attr_accessor :content
|
5401
|
+
|
5402
|
+
#
|
5403
|
+
# Corresponds to the JSON property `digest`
|
5404
|
+
# @return [Hash<String,String>]
|
5405
|
+
attr_accessor :digest
|
5406
|
+
|
5407
|
+
#
|
5408
|
+
# Corresponds to the JSON property `downloadLocation`
|
5409
|
+
# @return [String]
|
5410
|
+
attr_accessor :download_location
|
5411
|
+
|
5412
|
+
#
|
5413
|
+
# Corresponds to the JSON property `mediaType`
|
5414
|
+
# @return [String]
|
5415
|
+
attr_accessor :media_type
|
5416
|
+
|
5417
|
+
#
|
5418
|
+
# Corresponds to the JSON property `name`
|
5419
|
+
# @return [String]
|
5420
|
+
attr_accessor :name
|
5421
|
+
|
5422
|
+
#
|
5423
|
+
# Corresponds to the JSON property `uri`
|
5424
|
+
# @return [String]
|
5425
|
+
attr_accessor :uri
|
5426
|
+
|
5427
|
+
def initialize(**args)
|
5428
|
+
update!(**args)
|
5429
|
+
end
|
5430
|
+
|
5431
|
+
# Update properties of this object
|
5432
|
+
def update!(**args)
|
5433
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
5434
|
+
@content = args[:content] if args.key?(:content)
|
5435
|
+
@digest = args[:digest] if args.key?(:digest)
|
5436
|
+
@download_location = args[:download_location] if args.key?(:download_location)
|
5437
|
+
@media_type = args[:media_type] if args.key?(:media_type)
|
5438
|
+
@name = args[:name] if args.key?(:name)
|
5439
|
+
@uri = args[:uri] if args.key?(:uri)
|
5440
|
+
end
|
5441
|
+
end
|
5442
|
+
|
5443
|
+
#
|
5444
|
+
class RunDetails
|
5445
|
+
include Google::Apis::Core::Hashable
|
5446
|
+
|
5447
|
+
#
|
5448
|
+
# Corresponds to the JSON property `builder`
|
5449
|
+
# @return [Google::Apis::ContaineranalysisV1::ProvenanceBuilder]
|
5450
|
+
attr_accessor :builder
|
5451
|
+
|
5452
|
+
#
|
5453
|
+
# Corresponds to the JSON property `byproducts`
|
5454
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
|
5455
|
+
attr_accessor :byproducts
|
5456
|
+
|
5457
|
+
#
|
5458
|
+
# Corresponds to the JSON property `metadata`
|
5459
|
+
# @return [Google::Apis::ContaineranalysisV1::BuildMetadata]
|
5460
|
+
attr_accessor :metadata
|
5461
|
+
|
5462
|
+
def initialize(**args)
|
5463
|
+
update!(**args)
|
5464
|
+
end
|
5465
|
+
|
5466
|
+
# Update properties of this object
|
5467
|
+
def update!(**args)
|
5468
|
+
@builder = args[:builder] if args.key?(:builder)
|
5469
|
+
@byproducts = args[:byproducts] if args.key?(:byproducts)
|
5470
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
5471
|
+
end
|
5472
|
+
end
|
5473
|
+
|
5208
5474
|
# The note representing an SBOM reference.
|
5209
5475
|
class SbomReferenceNote
|
5210
5476
|
include Google::Apis::Core::Hashable
|
@@ -5615,6 +5881,33 @@ module Google
|
|
5615
5881
|
end
|
5616
5882
|
end
|
5617
5883
|
|
5884
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
5885
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
5886
|
+
# ProvenanceBuilder because of Java conflicts.
|
5887
|
+
class SlsaProvenanceV1
|
5888
|
+
include Google::Apis::Core::Hashable
|
5889
|
+
|
5890
|
+
#
|
5891
|
+
# Corresponds to the JSON property `buildDefinition`
|
5892
|
+
# @return [Google::Apis::ContaineranalysisV1::BuildDefinition]
|
5893
|
+
attr_accessor :build_definition
|
5894
|
+
|
5895
|
+
#
|
5896
|
+
# Corresponds to the JSON property `runDetails`
|
5897
|
+
# @return [Google::Apis::ContaineranalysisV1::RunDetails]
|
5898
|
+
attr_accessor :run_details
|
5899
|
+
|
5900
|
+
def initialize(**args)
|
5901
|
+
update!(**args)
|
5902
|
+
end
|
5903
|
+
|
5904
|
+
# Update properties of this object
|
5905
|
+
def update!(**args)
|
5906
|
+
@build_definition = args[:build_definition] if args.key?(:build_definition)
|
5907
|
+
@run_details = args[:run_details] if args.key?(:run_details)
|
5908
|
+
end
|
5909
|
+
end
|
5910
|
+
|
5618
5911
|
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
5619
5912
|
class SlsaProvenanceZeroTwo
|
5620
5913
|
include Google::Apis::Core::Hashable
|
@@ -6133,7 +6426,8 @@ module Google
|
|
6133
6426
|
include Google::Apis::Core::Hashable
|
6134
6427
|
|
6135
6428
|
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
6136
|
-
# number for the vulnerability.
|
6429
|
+
# number for the vulnerability. Deprecated: Use vulnerability_id instead to
|
6430
|
+
# denote CVEs.
|
6137
6431
|
# Corresponds to the JSON property `cve`
|
6138
6432
|
# @return [String]
|
6139
6433
|
attr_accessor :cve
|
@@ -6172,6 +6466,12 @@ module Google
|
|
6172
6466
|
# @return [String]
|
6173
6467
|
attr_accessor :state
|
6174
6468
|
|
6469
|
+
# The vulnerability identifier for this Assessment. Will hold one of common
|
6470
|
+
# identifiers e.g. CVE, GHSA etc.
|
6471
|
+
# Corresponds to the JSON property `vulnerabilityId`
|
6472
|
+
# @return [String]
|
6473
|
+
attr_accessor :vulnerability_id
|
6474
|
+
|
6175
6475
|
def initialize(**args)
|
6176
6476
|
update!(**args)
|
6177
6477
|
end
|
@@ -6185,6 +6485,7 @@ module Google
|
|
6185
6485
|
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
6186
6486
|
@remediations = args[:remediations] if args.key?(:remediations)
|
6187
6487
|
@state = args[:state] if args.key?(:state)
|
6488
|
+
@vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
|
6188
6489
|
end
|
6189
6490
|
end
|
6190
6491
|
|
@@ -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.38.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 = "20230721"
|
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
|
|
@@ -808,6 +844,12 @@ module Google
|
|
808
844
|
include Google::Apis::Core::JsonObjectSupport
|
809
845
|
end
|
810
846
|
|
847
|
+
class SlsaProvenanceV1
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
811
853
|
class SlsaProvenanceZeroTwo
|
812
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
855
|
|
@@ -972,6 +1014,7 @@ module Google
|
|
972
1014
|
|
973
1015
|
property :short_description, as: 'shortDescription'
|
974
1016
|
property :state, as: 'state'
|
1017
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
975
1018
|
end
|
976
1019
|
end
|
977
1020
|
|
@@ -1036,6 +1079,26 @@ module Google
|
|
1036
1079
|
end
|
1037
1080
|
end
|
1038
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
|
+
|
1039
1102
|
class BuildNote
|
1040
1103
|
# @private
|
1041
1104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1046,6 +1109,8 @@ module Google
|
|
1046
1109
|
class BuildOccurrence
|
1047
1110
|
# @private
|
1048
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
|
+
|
1049
1114
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1::InTotoProvenance::Representation
|
1050
1115
|
|
1051
1116
|
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1::InTotoStatement::Representation
|
@@ -1084,6 +1149,7 @@ module Google
|
|
1084
1149
|
collection :allow_exit_codes, as: 'allowExitCodes'
|
1085
1150
|
property :allow_failure, as: 'allowFailure'
|
1086
1151
|
collection :args, as: 'args'
|
1152
|
+
property :automap_substitutions, as: 'automapSubstitutions'
|
1087
1153
|
property :dir, as: 'dir'
|
1088
1154
|
property :entrypoint, as: 'entrypoint'
|
1089
1155
|
collection :env, as: 'env'
|
@@ -1366,6 +1432,7 @@ module Google
|
|
1366
1432
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
|
1367
1433
|
# @private
|
1368
1434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1435
|
+
property :automap_substitutions, as: 'automapSubstitutions'
|
1369
1436
|
property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
|
1370
1437
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
1371
1438
|
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
@@ -1398,6 +1465,7 @@ module Google
|
|
1398
1465
|
collection :allow_exit_codes, as: 'allowExitCodes'
|
1399
1466
|
property :allow_failure, as: 'allowFailure'
|
1400
1467
|
collection :args, as: 'args'
|
1468
|
+
property :automap_substitutions, as: 'automapSubstitutions'
|
1401
1469
|
property :dir, as: 'dir'
|
1402
1470
|
property :entrypoint, as: 'entrypoint'
|
1403
1471
|
collection :env, as: 'env'
|
@@ -1961,6 +2029,18 @@ module Google
|
|
1961
2029
|
end
|
1962
2030
|
end
|
1963
2031
|
|
2032
|
+
class InTotoSlsaProvenanceV1
|
2033
|
+
# @private
|
2034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2035
|
+
property :_type, as: '_type'
|
2036
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1::Representation
|
2037
|
+
|
2038
|
+
property :predicate_type, as: 'predicateType'
|
2039
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
|
2040
|
+
|
2041
|
+
end
|
2042
|
+
end
|
2043
|
+
|
1964
2044
|
class InTotoStatement
|
1965
2045
|
# @private
|
1966
2046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2242,6 +2322,16 @@ module Google
|
|
2242
2322
|
end
|
2243
2323
|
end
|
2244
2324
|
|
2325
|
+
class ProvenanceBuilder
|
2326
|
+
# @private
|
2327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2328
|
+
collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
|
2329
|
+
|
2330
|
+
property :id, as: 'id'
|
2331
|
+
hash :version, as: 'version'
|
2332
|
+
end
|
2333
|
+
end
|
2334
|
+
|
2245
2335
|
class Publisher
|
2246
2336
|
# @private
|
2247
2337
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2289,6 +2379,31 @@ module Google
|
|
2289
2379
|
end
|
2290
2380
|
end
|
2291
2381
|
|
2382
|
+
class ResourceDescriptor
|
2383
|
+
# @private
|
2384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2385
|
+
hash :annotations, as: 'annotations'
|
2386
|
+
property :content, :base64 => true, as: 'content'
|
2387
|
+
hash :digest, as: 'digest'
|
2388
|
+
property :download_location, as: 'downloadLocation'
|
2389
|
+
property :media_type, as: 'mediaType'
|
2390
|
+
property :name, as: 'name'
|
2391
|
+
property :uri, as: 'uri'
|
2392
|
+
end
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
class RunDetails
|
2396
|
+
# @private
|
2397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2398
|
+
property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1::ProvenanceBuilder, decorator: Google::Apis::ContaineranalysisV1::ProvenanceBuilder::Representation
|
2399
|
+
|
2400
|
+
collection :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
|
2401
|
+
|
2402
|
+
property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1::BuildMetadata, decorator: Google::Apis::ContaineranalysisV1::BuildMetadata::Representation
|
2403
|
+
|
2404
|
+
end
|
2405
|
+
end
|
2406
|
+
|
2292
2407
|
class SbomReferenceNote
|
2293
2408
|
# @private
|
2294
2409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2396,6 +2511,16 @@ module Google
|
|
2396
2511
|
end
|
2397
2512
|
end
|
2398
2513
|
|
2514
|
+
class SlsaProvenanceV1
|
2515
|
+
# @private
|
2516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2517
|
+
property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1::BuildDefinition::Representation
|
2518
|
+
|
2519
|
+
property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1::RunDetails, decorator: Google::Apis::ContaineranalysisV1::RunDetails::Representation
|
2520
|
+
|
2521
|
+
end
|
2522
|
+
end
|
2523
|
+
|
2399
2524
|
class SlsaProvenanceZeroTwo
|
2400
2525
|
# @private
|
2401
2526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2549,6 +2674,7 @@ module Google
|
|
2549
2674
|
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1::Remediation, decorator: Google::Apis::ContaineranalysisV1::Remediation::Representation
|
2550
2675
|
|
2551
2676
|
property :state, as: 'state'
|
2677
|
+
property :vulnerability_id, as: 'vulnerabilityId'
|
2552
2678
|
end
|
2553
2679
|
end
|
2554
2680
|
|
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.38.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-08-06 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.38.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: []
|