google-apis-containeranalysis_v1beta1 0.41.0 → 0.43.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: 1447a5f0d9fc670f89c67a93a7473d2ae18c7db04bcb2a2bd469e3890ea84b15
4
- data.tar.gz: '0089e14e0084e253954f9c428bc2b846f2a78e10f3e1c73c8340dc9fe9c58700'
3
+ metadata.gz: 12b2735e005d101516f2a7c5cea833c3ca81ebfe2082a80e343487d77e7ba5b6
4
+ data.tar.gz: 18f0362131f4c37abe38ffa0b02d039278d5c92029a7004d68decf66742a7f69
5
5
  SHA512:
6
- metadata.gz: dd8a787c6f20cc559a64f07a51d3f9d0436129bfec734b2d2d5212b0938dd20e1b8403714df88b1b3f8677d8e085171cb5d3d4fbdca155c7a1df1cd4f12c4071
7
- data.tar.gz: fca17d5c39a947885d1e0cd0a5aa67292a937dfa96a590e009ab12586bc631a0c47c21c0fd560a56e53d81b869f6804640bb500bb6022c57f93d4f40c7e69375
6
+ metadata.gz: 7c68c0350d01efe7cd74a3ea7c128fdc44c2cb87f86360e4a08fcc8343de94d7ff404aaf1fe32173f20df8c5fd68ab755a319433badd70ce5410542dc70a684e
7
+ data.tar.gz: 59fa76699e92385cb86ebb599d3c52f6c28da1731283f581cb973ad1eecfe208f8a39ac881c5da8cae3787a1fac33659787a5811c6341a4a2aa9c53e56b93ff6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.43.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230717
6
+
7
+ ### v0.42.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230707
10
+
3
11
  ### v0.41.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230623
@@ -148,7 +148,8 @@ module Google
148
148
  include Google::Apis::Core::Hashable
149
149
 
150
150
  # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
151
- # number for the vulnerability.
151
+ # number for the vulnerability. Deprecated: Use vulnerability_id instead to
152
+ # denote CVEs.
152
153
  # Corresponds to the JSON property `cve`
153
154
  # @return [String]
154
155
  attr_accessor :cve
@@ -193,6 +194,12 @@ module Google
193
194
  # @return [String]
194
195
  attr_accessor :state
195
196
 
197
+ # The vulnerability identifier for this Assessment. Will hold one of common
198
+ # identifiers e.g. CVE, GHSA etc.
199
+ # Corresponds to the JSON property `vulnerabilityId`
200
+ # @return [String]
201
+ attr_accessor :vulnerability_id
202
+
196
203
  def initialize(**args)
197
204
  update!(**args)
198
205
  end
@@ -207,6 +214,7 @@ module Google
207
214
  @remediations = args[:remediations] if args.key?(:remediations)
208
215
  @short_description = args[:short_description] if args.key?(:short_description)
209
216
  @state = args[:state] if args.key?(:state)
217
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
210
218
  end
211
219
  end
212
220
 
@@ -2998,6 +3006,11 @@ module Google
2998
3006
  # @return [String]
2999
3007
  attr_accessor :last_analysis_time
3000
3008
 
3009
+ # The status of an SBOM generation.
3010
+ # Corresponds to the JSON property `sbomStatus`
3011
+ # @return [Google::Apis::ContaineranalysisV1beta1::SbomStatus]
3012
+ attr_accessor :sbom_status
3013
+
3001
3014
  def initialize(**args)
3002
3015
  update!(**args)
3003
3016
  end
@@ -3010,6 +3023,7 @@ module Google
3010
3023
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
3011
3024
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
3012
3025
  @last_analysis_time = args[:last_analysis_time] if args.key?(:last_analysis_time)
3026
+ @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
3013
3027
  end
3014
3028
  end
3015
3029
 
@@ -3304,8 +3318,9 @@ module Google
3304
3318
  class ExportSbomResponse
3305
3319
  include Google::Apis::Core::Hashable
3306
3320
 
3307
- # The id of the discovery occurrence that can be used to track the progression
3308
- # of the SBOM export.
3321
+ # The name of the discovery occurrence in the form "projects/`project_id`/
3322
+ # occurrences/`OCCURRENCE_ID` It can be used to track the progression of the
3323
+ # SBOM export.
3309
3324
  # Corresponds to the JSON property `discoveryOccurrenceId`
3310
3325
  # @return [String]
3311
3326
  attr_accessor :discovery_occurrence_id
@@ -3808,9 +3823,7 @@ module Google
3808
3823
  class GrafeasV1beta1BuildDetails
3809
3824
  include Google::Apis::Core::Hashable
3810
3825
 
3811
- # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
3812
- # docs/provenance/schema/v1/provenance.proto Builder renamed to
3813
- # ProvenanceBuilder because of Java conflicts.
3826
+ #
3814
3827
  # Corresponds to the JSON property `inTotoSlsaProvenanceV1`
3815
3828
  # @return [Google::Apis::ContaineranalysisV1beta1::InTotoSlsaProvenanceV1]
3816
3829
  attr_accessor :in_toto_slsa_provenance_v1
@@ -4209,21 +4222,32 @@ module Google
4209
4222
  end
4210
4223
  end
4211
4224
 
4212
- # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
4213
- # docs/provenance/schema/v1/provenance.proto Builder renamed to
4214
- # ProvenanceBuilder because of Java conflicts.
4225
+ #
4215
4226
  class InTotoSlsaProvenanceV1
4216
4227
  include Google::Apis::Core::Hashable
4217
4228
 
4229
+ # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
4230
+ # statement
4231
+ # Corresponds to the JSON property `_type`
4232
+ # @return [String]
4233
+ attr_accessor :_type
4234
+
4235
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
4236
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
4237
+ # ProvenanceBuilder because of Java conflicts.
4238
+ # Corresponds to the JSON property `predicate`
4239
+ # @return [Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1]
4240
+ attr_accessor :predicate
4241
+
4218
4242
  #
4219
- # Corresponds to the JSON property `buildDefinition`
4220
- # @return [Google::Apis::ContaineranalysisV1beta1::BuildDefinition]
4221
- attr_accessor :build_definition
4243
+ # Corresponds to the JSON property `predicateType`
4244
+ # @return [String]
4245
+ attr_accessor :predicate_type
4222
4246
 
4223
4247
  #
4224
- # Corresponds to the JSON property `runDetails`
4225
- # @return [Google::Apis::ContaineranalysisV1beta1::RunDetails]
4226
- attr_accessor :run_details
4248
+ # Corresponds to the JSON property `subject`
4249
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::Subject>]
4250
+ attr_accessor :subject
4227
4251
 
4228
4252
  def initialize(**args)
4229
4253
  update!(**args)
@@ -4231,8 +4255,10 @@ module Google
4231
4255
 
4232
4256
  # Update properties of this object
4233
4257
  def update!(**args)
4234
- @build_definition = args[:build_definition] if args.key?(:build_definition)
4235
- @run_details = args[:run_details] if args.key?(:run_details)
4258
+ @_type = args[:_type] if args.key?(:_type)
4259
+ @predicate = args[:predicate] if args.key?(:predicate)
4260
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
4261
+ @subject = args[:subject] if args.key?(:subject)
4236
4262
  end
4237
4263
  end
4238
4264
 
@@ -5882,6 +5908,32 @@ module Google
5882
5908
  end
5883
5909
  end
5884
5910
 
5911
+ # The status of an SBOM generation.
5912
+ class SbomStatus
5913
+ include Google::Apis::Core::Hashable
5914
+
5915
+ # If there was an error generating an SBOM, this will indicate what that error
5916
+ # was.
5917
+ # Corresponds to the JSON property `error`
5918
+ # @return [String]
5919
+ attr_accessor :error
5920
+
5921
+ # The progress of the SBOM generation.
5922
+ # Corresponds to the JSON property `sbomState`
5923
+ # @return [String]
5924
+ attr_accessor :sbom_state
5925
+
5926
+ def initialize(**args)
5927
+ update!(**args)
5928
+ end
5929
+
5930
+ # Update properties of this object
5931
+ def update!(**args)
5932
+ @error = args[:error] if args.key?(:error)
5933
+ @sbom_state = args[:sbom_state] if args.key?(:sbom_state)
5934
+ end
5935
+ end
5936
+
5885
5937
  # The actual payload that contains the SBOM Reference data. The payload follows
5886
5938
  # the intoto statement specification. See https://github.com/in-toto/attestation/
5887
5939
  # blob/main/spec/v1.0/statement.md for more details.
@@ -6104,6 +6156,33 @@ module Google
6104
6156
  end
6105
6157
  end
6106
6158
 
6159
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
6160
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
6161
+ # ProvenanceBuilder because of Java conflicts.
6162
+ class SlsaProvenanceV1
6163
+ include Google::Apis::Core::Hashable
6164
+
6165
+ #
6166
+ # Corresponds to the JSON property `buildDefinition`
6167
+ # @return [Google::Apis::ContaineranalysisV1beta1::BuildDefinition]
6168
+ attr_accessor :build_definition
6169
+
6170
+ #
6171
+ # Corresponds to the JSON property `runDetails`
6172
+ # @return [Google::Apis::ContaineranalysisV1beta1::RunDetails]
6173
+ attr_accessor :run_details
6174
+
6175
+ def initialize(**args)
6176
+ update!(**args)
6177
+ end
6178
+
6179
+ # Update properties of this object
6180
+ def update!(**args)
6181
+ @build_definition = args[:build_definition] if args.key?(:build_definition)
6182
+ @run_details = args[:run_details] if args.key?(:run_details)
6183
+ end
6184
+ end
6185
+
6107
6186
  # Source describes the location of the source used for the build.
6108
6187
  class Source
6109
6188
  include Google::Apis::Core::Hashable
@@ -6375,7 +6454,8 @@ module Google
6375
6454
  include Google::Apis::Core::Hashable
6376
6455
 
6377
6456
  # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
6378
- # number for the vulnerability.
6457
+ # number for the vulnerability. Deprecated: Use vulnerability_id instead to
6458
+ # denote CVEs.
6379
6459
  # Corresponds to the JSON property `cve`
6380
6460
  # @return [String]
6381
6461
  attr_accessor :cve
@@ -6414,6 +6494,12 @@ module Google
6414
6494
  # @return [String]
6415
6495
  attr_accessor :state
6416
6496
 
6497
+ # The vulnerability identifier for this Assessment. Will hold one of common
6498
+ # identifiers e.g. CVE, GHSA etc.
6499
+ # Corresponds to the JSON property `vulnerabilityId`
6500
+ # @return [String]
6501
+ attr_accessor :vulnerability_id
6502
+
6417
6503
  def initialize(**args)
6418
6504
  update!(**args)
6419
6505
  end
@@ -6427,6 +6513,7 @@ module Google
6427
6513
  @related_uris = args[:related_uris] if args.key?(:related_uris)
6428
6514
  @remediations = args[:remediations] if args.key?(:remediations)
6429
6515
  @state = args[:state] if args.key?(:state)
6516
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
6430
6517
  end
6431
6518
  end
6432
6519
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.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 = "20230623"
25
+ REVISION = "20230717"
26
26
  end
27
27
  end
28
28
  end
@@ -838,6 +838,12 @@ module Google
838
838
  include Google::Apis::Core::JsonObjectSupport
839
839
  end
840
840
 
841
+ class SbomStatus
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
841
847
  class SbomReferenceIntotoPayload
842
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
849
 
@@ -868,6 +874,12 @@ module Google
868
874
  include Google::Apis::Core::JsonObjectSupport
869
875
  end
870
876
 
877
+ class SlsaProvenanceV1
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
871
883
  class Source
872
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
885
 
@@ -1010,6 +1022,7 @@ module Google
1010
1022
 
1011
1023
  property :short_description, as: 'shortDescription'
1012
1024
  property :state, as: 'state'
1025
+ property :vulnerability_id, as: 'vulnerabilityId'
1013
1026
  end
1014
1027
  end
1015
1028
 
@@ -1712,6 +1725,8 @@ module Google
1712
1725
 
1713
1726
  property :continuous_analysis, as: 'continuousAnalysis'
1714
1727
  property :last_analysis_time, as: 'lastAnalysisTime'
1728
+ property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1beta1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1beta1::SbomStatus::Representation
1729
+
1715
1730
  end
1716
1731
  end
1717
1732
 
@@ -2058,9 +2073,11 @@ module Google
2058
2073
  class InTotoSlsaProvenanceV1
2059
2074
  # @private
2060
2075
  class Representation < Google::Apis::Core::JsonRepresentation
2061
- property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1beta1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1beta1::BuildDefinition::Representation
2076
+ property :_type, as: '_type'
2077
+ property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1beta1::SlsaProvenanceV1::Representation
2062
2078
 
2063
- property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1beta1::RunDetails, decorator: Google::Apis::ContaineranalysisV1beta1::RunDetails::Representation
2079
+ property :predicate_type, as: 'predicateType'
2080
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1beta1::Subject, decorator: Google::Apis::ContaineranalysisV1beta1::Subject::Representation
2064
2081
 
2065
2082
  end
2066
2083
  end
@@ -2497,6 +2514,14 @@ module Google
2497
2514
  end
2498
2515
  end
2499
2516
 
2517
+ class SbomStatus
2518
+ # @private
2519
+ class Representation < Google::Apis::Core::JsonRepresentation
2520
+ property :error, as: 'error'
2521
+ property :sbom_state, as: 'sbomState'
2522
+ end
2523
+ end
2524
+
2500
2525
  class SbomReferenceIntotoPayload
2501
2526
  # @private
2502
2527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2545,6 +2570,16 @@ module Google
2545
2570
  end
2546
2571
  end
2547
2572
 
2573
+ class SlsaProvenanceV1
2574
+ # @private
2575
+ class Representation < Google::Apis::Core::JsonRepresentation
2576
+ property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1beta1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1beta1::BuildDefinition::Representation
2577
+
2578
+ property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1beta1::RunDetails, decorator: Google::Apis::ContaineranalysisV1beta1::RunDetails::Representation
2579
+
2580
+ end
2581
+ end
2582
+
2548
2583
  class Source
2549
2584
  # @private
2550
2585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2634,6 +2669,7 @@ module Google
2634
2669
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1beta1::Remediation, decorator: Google::Apis::ContaineranalysisV1beta1::Remediation::Representation
2635
2670
 
2636
2671
  property :state, as: 'state'
2672
+ property :vulnerability_id, as: 'vulnerabilityId'
2637
2673
  end
2638
2674
  end
2639
2675
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.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-02 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []