google-apis-containeranalysis_v1alpha1 0.44.0 → 0.46.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: 44acba6644f7c7435f01f0237f8e4c76cea0895af5aa057ceac05e22302235ff
4
- data.tar.gz: a98d9cf8c8fbd65b30d08c7464495e922fd618350ba2e7324f8481bbb8d35b94
3
+ metadata.gz: 5abe474b081377e44a45e4779d84d60fbdbcb2d82cb5450352076809c4ea676e
4
+ data.tar.gz: 51c5a4fb76b07f40a86e098e6422620456c875b9e8b0ab17f281881603165357
5
5
  SHA512:
6
- metadata.gz: 7f9fd7bfe6c3f279ea1f45749f51d70d3331492560962d7e1659be4f3023cc66fe4dcab53eb0e395accf8354fbbd032671cf8416f639f338ea6fe3528c256ae3
7
- data.tar.gz: 30fbb2f552af2f079c672def2caf8bd8417859f80cea76cf4f1e9b8da5db0ea057db222ab52148970e290d9daa7d9fcb8cc44c065627cd5660c054fdaf64b415
6
+ metadata.gz: c3cc8bacf3a22c4954ae5df5b8cc4f23d140550b7edb011b0ec730c2bbf7c9532507e69fd831cd065c38d469a9e24c89a0dc884383648a0e211a1baf20706d39
7
+ data.tar.gz: e41bd808d51c4ce59da0f09a0a7b08fd6f08d7596298c828a0823701870619075caf3957c33b8d729def07a8c571d463d1e0f43bbc6525b77977ac96ddc892bd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.46.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230324
6
+
7
+ ### v0.45.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230310
10
+
3
11
  ### v0.44.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230221
@@ -102,6 +102,18 @@ module Google
102
102
  # @return [String]
103
103
  attr_accessor :cve
104
104
 
105
+ # Contains information about the impact of this vulnerability, this will change
106
+ # with time.
107
+ # Corresponds to the JSON property `impacts`
108
+ # @return [Array<String>]
109
+ attr_accessor :impacts
110
+
111
+ # Justification provides the justification when the state of the assessment if
112
+ # NOT_AFFECTED.
113
+ # Corresponds to the JSON property `justification`
114
+ # @return [Google::Apis::ContaineranalysisV1alpha1::Justification]
115
+ attr_accessor :justification
116
+
105
117
  # A detailed description of this Vex.
106
118
  # Corresponds to the JSON property `longDescription`
107
119
  # @return [String]
@@ -130,11 +142,6 @@ module Google
130
142
  # @return [String]
131
143
  attr_accessor :state
132
144
 
133
- # Contains information about this vulnerability, this will change with time.
134
- # Corresponds to the JSON property `threats`
135
- # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Threat>]
136
- attr_accessor :threats
137
-
138
145
  def initialize(**args)
139
146
  update!(**args)
140
147
  end
@@ -142,12 +149,13 @@ module Google
142
149
  # Update properties of this object
143
150
  def update!(**args)
144
151
  @cve = args[:cve] if args.key?(:cve)
152
+ @impacts = args[:impacts] if args.key?(:impacts)
153
+ @justification = args[:justification] if args.key?(:justification)
145
154
  @long_description = args[:long_description] if args.key?(:long_description)
146
155
  @related_uris = args[:related_uris] if args.key?(:related_uris)
147
156
  @remediations = args[:remediations] if args.key?(:remediations)
148
157
  @short_description = args[:short_description] if args.key?(:short_description)
149
158
  @state = args[:state] if args.key?(:state)
150
- @threats = args[:threats] if args.key?(:threats)
151
159
  end
152
160
  end
153
161
 
@@ -1577,6 +1585,11 @@ module Google
1577
1585
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1578
1586
  include Google::Apis::Core::Hashable
1579
1587
 
1588
+ # Optional. Option to specify how default logs buckets are setup.
1589
+ # Corresponds to the JSON property `defaultLogsBucketBehavior`
1590
+ # @return [String]
1591
+ attr_accessor :default_logs_bucket_behavior
1592
+
1580
1593
  # Requested disk size for the VM that runs the build. Note that this is *NOT* "
1581
1594
  # disk free"; some of the space will be used by the operating system and build
1582
1595
  # utilities. Also note that this is the minimum disk size that will be allocated
@@ -1672,6 +1685,7 @@ module Google
1672
1685
 
1673
1686
  # Update properties of this object
1674
1687
  def update!(**args)
1688
+ @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1675
1689
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1676
1690
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
1677
1691
  @env = args[:env] if args.key?(:env)
@@ -4148,6 +4162,32 @@ module Google
4148
4162
  end
4149
4163
  end
4150
4164
 
4165
+ # Justification provides the justification when the state of the assessment if
4166
+ # NOT_AFFECTED.
4167
+ class Justification
4168
+ include Google::Apis::Core::Hashable
4169
+
4170
+ # Additional details on why this justification was chosen.
4171
+ # Corresponds to the JSON property `details`
4172
+ # @return [String]
4173
+ attr_accessor :details
4174
+
4175
+ # The justification type for this vulnerability.
4176
+ # Corresponds to the JSON property `justificationType`
4177
+ # @return [String]
4178
+ attr_accessor :justification_type
4179
+
4180
+ def initialize(**args)
4181
+ update!(**args)
4182
+ end
4183
+
4184
+ # Update properties of this object
4185
+ def update!(**args)
4186
+ @details = args[:details] if args.key?(:details)
4187
+ @justification_type = args[:justification_type] if args.key?(:justification_type)
4188
+ end
4189
+ end
4190
+
4151
4191
  # Layer holds metadata specific to a layer of a Docker image.
4152
4192
  class Layer
4153
4193
  include Google::Apis::Core::Hashable
@@ -4544,6 +4584,11 @@ module Google
4544
4584
  # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentNote]
4545
4585
  attr_accessor :sbom
4546
4586
 
4587
+ # The note representing an SBOM reference.
4588
+ # Corresponds to the JSON property `sbomReference`
4589
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote]
4590
+ attr_accessor :sbom_reference
4591
+
4547
4592
  # A one sentence description of this `Note`.
4548
4593
  # Corresponds to the JSON property `shortDescription`
4549
4594
  # @return [String]
@@ -4614,6 +4659,7 @@ module Google
4614
4659
  @package = args[:package] if args.key?(:package)
4615
4660
  @related_url = args[:related_url] if args.key?(:related_url)
4616
4661
  @sbom = args[:sbom] if args.key?(:sbom)
4662
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4617
4663
  @short_description = args[:short_description] if args.key?(:short_description)
4618
4664
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
4619
4665
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -4731,6 +4777,13 @@ module Google
4731
4777
  # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence]
4732
4778
  attr_accessor :sbom
4733
4779
 
4780
+ # The occurrence representing an SBOM reference as applied to a specific
4781
+ # resource. The occurrence follows the DSSE specification. See https://github.
4782
+ # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
4783
+ # Corresponds to the JSON property `sbomReference`
4784
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence]
4785
+ attr_accessor :sbom_reference
4786
+
4734
4787
  # FileOccurrence represents an SPDX File Information section: https://spdx.
4735
4788
  # github.io/spdx-spec/4-file-information/
4736
4789
  # Corresponds to the JSON property `spdxFile`
@@ -4790,6 +4843,7 @@ module Google
4790
4843
  @resource = args[:resource] if args.key?(:resource)
4791
4844
  @resource_url = args[:resource_url] if args.key?(:resource_url)
4792
4845
  @sbom = args[:sbom] if args.key?(:sbom)
4846
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4793
4847
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
4794
4848
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
4795
4849
  @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -5391,13 +5445,6 @@ module Google
5391
5445
  class Publisher
5392
5446
  include Google::Apis::Core::Hashable
5393
5447
 
5394
- # The context or namespace. Contains a URL which is under control of the issuing
5395
- # party and can be used as a globally unique identifier for that issuing party.
5396
- # Example: https://csaf.io
5397
- # Corresponds to the JSON property `context`
5398
- # @return [String]
5399
- attr_accessor :context
5400
-
5401
5448
  # Provides information about the authority of the issuing party to release the
5402
5449
  # document, in particular, the party's constituency and responsibilities or
5403
5450
  # other obligations.
@@ -5410,15 +5457,22 @@ module Google
5410
5457
  # @return [String]
5411
5458
  attr_accessor :name
5412
5459
 
5460
+ # The context or namespace. Contains a URL which is under control of the issuing
5461
+ # party and can be used as a globally unique identifier for that issuing party.
5462
+ # Example: https://csaf.io
5463
+ # Corresponds to the JSON property `publisherNamespace`
5464
+ # @return [String]
5465
+ attr_accessor :publisher_namespace
5466
+
5413
5467
  def initialize(**args)
5414
5468
  update!(**args)
5415
5469
  end
5416
5470
 
5417
5471
  # Update properties of this object
5418
5472
  def update!(**args)
5419
- @context = args[:context] if args.key?(:context)
5420
5473
  @issuing_authority = args[:issuing_authority] if args.key?(:issuing_authority)
5421
5474
  @name = args[:name] if args.key?(:name)
5475
+ @publisher_namespace = args[:publisher_namespace] if args.key?(:publisher_namespace)
5422
5476
  end
5423
5477
  end
5424
5478
 
@@ -5578,11 +5632,6 @@ module Google
5578
5632
  # @return [String]
5579
5633
  attr_accessor :details
5580
5634
 
5581
- # Contains the date from which the remediation is available.
5582
- # Corresponds to the JSON property `remediationTime`
5583
- # @return [String]
5584
- attr_accessor :remediation_time
5585
-
5586
5635
  # The type of remediation that can be applied.
5587
5636
  # Corresponds to the JSON property `remediationType`
5588
5637
  # @return [String]
@@ -5600,7 +5649,6 @@ module Google
5600
5649
  # Update properties of this object
5601
5650
  def update!(**args)
5602
5651
  @details = args[:details] if args.key?(:details)
5603
- @remediation_time = args[:remediation_time] if args.key?(:remediation_time)
5604
5652
  @remediation_type = args[:remediation_type] if args.key?(:remediation_type)
5605
5653
  @remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri)
5606
5654
  end
@@ -5682,6 +5730,145 @@ module Google
5682
5730
  end
5683
5731
  end
5684
5732
 
5733
+ # The note representing an SBOM reference.
5734
+ class SbomReferenceNote
5735
+ include Google::Apis::Core::Hashable
5736
+
5737
+ # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
5738
+ # Corresponds to the JSON property `format`
5739
+ # @return [String]
5740
+ attr_accessor :format
5741
+
5742
+ # The version of the format that the SBOM takes. E.g. if the format is spdx, the
5743
+ # version may be 2.3.
5744
+ # Corresponds to the JSON property `version`
5745
+ # @return [String]
5746
+ attr_accessor :version
5747
+
5748
+ def initialize(**args)
5749
+ update!(**args)
5750
+ end
5751
+
5752
+ # Update properties of this object
5753
+ def update!(**args)
5754
+ @format = args[:format] if args.key?(:format)
5755
+ @version = args[:version] if args.key?(:version)
5756
+ end
5757
+ end
5758
+
5759
+ # The occurrence representing an SBOM reference as applied to a specific
5760
+ # resource. The occurrence follows the DSSE specification. See https://github.
5761
+ # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
5762
+ class SbomReferenceOccurrence
5763
+ include Google::Apis::Core::Hashable
5764
+
5765
+ # The actual payload that contains the SBOM Reference data. The payload follows
5766
+ # the intoto statement specification. See https://github.com/in-toto/attestation/
5767
+ # blob/main/spec/v1.0/statement.md for more details.
5768
+ # Corresponds to the JSON property `payload`
5769
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload]
5770
+ attr_accessor :payload
5771
+
5772
+ # The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the
5773
+ # intoto format, this value is expected to be 'application/vnd.in-toto+json'.
5774
+ # Corresponds to the JSON property `payloadType`
5775
+ # @return [String]
5776
+ attr_accessor :payload_type
5777
+
5778
+ # The signatures over the payload.
5779
+ # Corresponds to the JSON property `signatures`
5780
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature>]
5781
+ attr_accessor :signatures
5782
+
5783
+ def initialize(**args)
5784
+ update!(**args)
5785
+ end
5786
+
5787
+ # Update properties of this object
5788
+ def update!(**args)
5789
+ @payload = args[:payload] if args.key?(:payload)
5790
+ @payload_type = args[:payload_type] if args.key?(:payload_type)
5791
+ @signatures = args[:signatures] if args.key?(:signatures)
5792
+ end
5793
+ end
5794
+
5795
+ # The actual payload that contains the SBOM Reference data. The payload follows
5796
+ # the intoto statement specification. See https://github.com/in-toto/attestation/
5797
+ # blob/main/spec/v1.0/statement.md for more details.
5798
+ class SbomReferenceIntotoPayload
5799
+ include Google::Apis::Core::Hashable
5800
+
5801
+ # Identifier for the schema of the Statement.
5802
+ # Corresponds to the JSON property `_type`
5803
+ # @return [String]
5804
+ attr_accessor :_type
5805
+
5806
+ # A predicate which describes the SBOM being referenced.
5807
+ # Corresponds to the JSON property `predicate`
5808
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate]
5809
+ attr_accessor :predicate
5810
+
5811
+ # URI identifying the type of the Predicate.
5812
+ # Corresponds to the JSON property `predicateType`
5813
+ # @return [String]
5814
+ attr_accessor :predicate_type
5815
+
5816
+ # Set of software artifacts that the attestation applies to. Each element
5817
+ # represents a single software artifact.
5818
+ # Corresponds to the JSON property `subject`
5819
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Subject>]
5820
+ attr_accessor :subject
5821
+
5822
+ def initialize(**args)
5823
+ update!(**args)
5824
+ end
5825
+
5826
+ # Update properties of this object
5827
+ def update!(**args)
5828
+ @_type = args[:_type] if args.key?(:_type)
5829
+ @predicate = args[:predicate] if args.key?(:predicate)
5830
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
5831
+ @subject = args[:subject] if args.key?(:subject)
5832
+ end
5833
+ end
5834
+
5835
+ # A predicate which describes the SBOM being referenced.
5836
+ class SbomReferenceIntotoPredicate
5837
+ include Google::Apis::Core::Hashable
5838
+
5839
+ # A map of algorithm to digest of the contents of the SBOM.
5840
+ # Corresponds to the JSON property `digest`
5841
+ # @return [Hash<String,String>]
5842
+ attr_accessor :digest
5843
+
5844
+ # The location of the SBOM.
5845
+ # Corresponds to the JSON property `location`
5846
+ # @return [String]
5847
+ attr_accessor :location
5848
+
5849
+ # The mime type of the SBOM.
5850
+ # Corresponds to the JSON property `mimeType`
5851
+ # @return [String]
5852
+ attr_accessor :mime_type
5853
+
5854
+ # The person or system referring this predicate to the consumer.
5855
+ # Corresponds to the JSON property `referrerId`
5856
+ # @return [String]
5857
+ attr_accessor :referrer_id
5858
+
5859
+ def initialize(**args)
5860
+ update!(**args)
5861
+ end
5862
+
5863
+ # Update properties of this object
5864
+ def update!(**args)
5865
+ @digest = args[:digest] if args.key?(:digest)
5866
+ @location = args[:location] if args.key?(:location)
5867
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
5868
+ @referrer_id = args[:referrer_id] if args.key?(:referrer_id)
5869
+ end
5870
+ end
5871
+
5685
5872
  # Indicates various scans and whether they are turned on or off.
5686
5873
  class ScanConfig
5687
5874
  include Google::Apis::Core::Hashable
@@ -6251,32 +6438,6 @@ module Google
6251
6438
  end
6252
6439
  end
6253
6440
 
6254
- # Contains the vulnerability kinetic information. This information can change as
6255
- # the vulnerability ages and new information becomes available.
6256
- class Threat
6257
- include Google::Apis::Core::Hashable
6258
-
6259
- # Represents a thorough human-readable discussion of the threat.
6260
- # Corresponds to the JSON property `details`
6261
- # @return [String]
6262
- attr_accessor :details
6263
-
6264
- # The type of threat.
6265
- # Corresponds to the JSON property `threatType`
6266
- # @return [String]
6267
- attr_accessor :threat_type
6268
-
6269
- def initialize(**args)
6270
- update!(**args)
6271
- end
6272
-
6273
- # Update properties of this object
6274
- def update!(**args)
6275
- @details = args[:details] if args.key?(:details)
6276
- @threat_type = args[:threat_type] if args.key?(:threat_type)
6277
- end
6278
- end
6279
-
6280
6441
  # Start and end times for a build execution phase. Next ID: 3
6281
6442
  class TimeSpan
6282
6443
  include Google::Apis::Core::Hashable
@@ -6529,6 +6690,18 @@ module Google
6529
6690
  # @return [String]
6530
6691
  attr_accessor :cve
6531
6692
 
6693
+ # Contains information about the impact of this vulnerability, this will change
6694
+ # with time.
6695
+ # Corresponds to the JSON property `impacts`
6696
+ # @return [Array<String>]
6697
+ attr_accessor :impacts
6698
+
6699
+ # Justification provides the justification when the state of the assessment if
6700
+ # NOT_AFFECTED.
6701
+ # Corresponds to the JSON property `justification`
6702
+ # @return [Google::Apis::ContaineranalysisV1alpha1::Justification]
6703
+ attr_accessor :justification
6704
+
6532
6705
  # The VulnerabilityAssessment note from which this VexAssessment was generated.
6533
6706
  # This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
6534
6707
  # Corresponds to the JSON property `noteName`
@@ -6553,11 +6726,6 @@ module Google
6553
6726
  # @return [String]
6554
6727
  attr_accessor :state
6555
6728
 
6556
- # Contains information about this vulnerability, this will change with time.
6557
- # Corresponds to the JSON property `threats`
6558
- # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Threat>]
6559
- attr_accessor :threats
6560
-
6561
6729
  def initialize(**args)
6562
6730
  update!(**args)
6563
6731
  end
@@ -6565,11 +6733,12 @@ module Google
6565
6733
  # Update properties of this object
6566
6734
  def update!(**args)
6567
6735
  @cve = args[:cve] if args.key?(:cve)
6736
+ @impacts = args[:impacts] if args.key?(:impacts)
6737
+ @justification = args[:justification] if args.key?(:justification)
6568
6738
  @note_name = args[:note_name] if args.key?(:note_name)
6569
6739
  @related_uris = args[:related_uris] if args.key?(:related_uris)
6570
6740
  @remediations = args[:remediations] if args.key?(:remediations)
6571
6741
  @state = args[:state] if args.key?(:state)
6572
- @threats = args[:threats] if args.key?(:threats)
6573
6742
  end
6574
6743
  end
6575
6744
 
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20230221"
25
+ REVISION = "20230324"
26
26
  end
27
27
  end
28
28
  end
@@ -604,6 +604,12 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class Justification
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
607
613
  class Layer
608
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
615
 
@@ -772,6 +778,30 @@ module Google
772
778
  include Google::Apis::Core::JsonObjectSupport
773
779
  end
774
780
 
781
+ class SbomReferenceNote
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class SbomReferenceOccurrence
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class SbomReferenceIntotoPayload
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class SbomReferenceIntotoPredicate
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
775
805
  class ScanConfig
776
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
807
 
@@ -862,12 +892,6 @@ module Google
862
892
  include Google::Apis::Core::JsonObjectSupport
863
893
  end
864
894
 
865
- class Threat
866
- class Representation < Google::Apis::Core::JsonRepresentation; end
867
-
868
- include Google::Apis::Core::JsonObjectSupport
869
- end
870
-
871
895
  class TimeSpan
872
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
897
 
@@ -967,6 +991,9 @@ module Google
967
991
  # @private
968
992
  class Representation < Google::Apis::Core::JsonRepresentation
969
993
  property :cve, as: 'cve'
994
+ collection :impacts, as: 'impacts'
995
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1alpha1::Justification, decorator: Google::Apis::ContaineranalysisV1alpha1::Justification::Representation
996
+
970
997
  property :long_description, as: 'longDescription'
971
998
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
972
999
 
@@ -974,8 +1001,6 @@ module Google
974
1001
 
975
1002
  property :short_description, as: 'shortDescription'
976
1003
  property :state, as: 'state'
977
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1alpha1::Threat, decorator: Google::Apis::ContaineranalysisV1alpha1::Threat::Representation
978
-
979
1004
  end
980
1005
  end
981
1006
 
@@ -1317,6 +1342,7 @@ module Google
1317
1342
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1318
1343
  # @private
1319
1344
  class Representation < Google::Apis::Core::JsonRepresentation
1345
+ property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1320
1346
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1321
1347
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
1322
1348
  collection :env, as: 'env'
@@ -2013,6 +2039,14 @@ module Google
2013
2039
  end
2014
2040
  end
2015
2041
 
2042
+ class Justification
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :details, as: 'details'
2046
+ property :justification_type, as: 'justificationType'
2047
+ end
2048
+ end
2049
+
2016
2050
  class Layer
2017
2051
  # @private
2018
2052
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2132,6 +2166,8 @@ module Google
2132
2166
 
2133
2167
  property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentNote::Representation
2134
2168
 
2169
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote::Representation
2170
+
2135
2171
  property :short_description, as: 'shortDescription'
2136
2172
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
2137
2173
 
@@ -2180,6 +2216,8 @@ module Google
2180
2216
  property :resource_url, as: 'resourceUrl'
2181
2217
  property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence::Representation
2182
2218
 
2219
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence::Representation
2220
+
2183
2221
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
2184
2222
 
2185
2223
  property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
@@ -2314,9 +2352,9 @@ module Google
2314
2352
  class Publisher
2315
2353
  # @private
2316
2354
  class Representation < Google::Apis::Core::JsonRepresentation
2317
- property :context, as: 'context'
2318
2355
  property :issuing_authority, as: 'issuingAuthority'
2319
2356
  property :name, as: 'name'
2357
+ property :publisher_namespace, as: 'publisherNamespace'
2320
2358
  end
2321
2359
  end
2322
2360
 
@@ -2360,7 +2398,6 @@ module Google
2360
2398
  # @private
2361
2399
  class Representation < Google::Apis::Core::JsonRepresentation
2362
2400
  property :details, as: 'details'
2363
- property :remediation_time, as: 'remediationTime'
2364
2401
  property :remediation_type, as: 'remediationType'
2365
2402
  property :remediation_uri, as: 'remediationUri', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
2366
2403
 
@@ -2388,6 +2425,47 @@ module Google
2388
2425
  end
2389
2426
  end
2390
2427
 
2428
+ class SbomReferenceNote
2429
+ # @private
2430
+ class Representation < Google::Apis::Core::JsonRepresentation
2431
+ property :format, as: 'format'
2432
+ property :version, as: 'version'
2433
+ end
2434
+ end
2435
+
2436
+ class SbomReferenceOccurrence
2437
+ # @private
2438
+ class Representation < Google::Apis::Core::JsonRepresentation
2439
+ property :payload, as: 'payload', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload::Representation
2440
+
2441
+ property :payload_type, as: 'payloadType'
2442
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature, decorator: Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature::Representation
2443
+
2444
+ end
2445
+ end
2446
+
2447
+ class SbomReferenceIntotoPayload
2448
+ # @private
2449
+ class Representation < Google::Apis::Core::JsonRepresentation
2450
+ property :_type, as: '_type'
2451
+ property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate::Representation
2452
+
2453
+ property :predicate_type, as: 'predicateType'
2454
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1alpha1::Subject, decorator: Google::Apis::ContaineranalysisV1alpha1::Subject::Representation
2455
+
2456
+ end
2457
+ end
2458
+
2459
+ class SbomReferenceIntotoPredicate
2460
+ # @private
2461
+ class Representation < Google::Apis::Core::JsonRepresentation
2462
+ hash :digest, as: 'digest'
2463
+ property :location, as: 'location'
2464
+ property :mime_type, as: 'mimeType'
2465
+ property :referrer_id, as: 'referrerId'
2466
+ end
2467
+ end
2468
+
2391
2469
  class ScanConfig
2392
2470
  # @private
2393
2471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2542,14 +2620,6 @@ module Google
2542
2620
  end
2543
2621
  end
2544
2622
 
2545
- class Threat
2546
- # @private
2547
- class Representation < Google::Apis::Core::JsonRepresentation
2548
- property :details, as: 'details'
2549
- property :threat_type, as: 'threatType'
2550
- end
2551
- end
2552
-
2553
2623
  class TimeSpan
2554
2624
  # @private
2555
2625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2622,14 +2692,15 @@ module Google
2622
2692
  # @private
2623
2693
  class Representation < Google::Apis::Core::JsonRepresentation
2624
2694
  property :cve, as: 'cve'
2695
+ collection :impacts, as: 'impacts'
2696
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1alpha1::Justification, decorator: Google::Apis::ContaineranalysisV1alpha1::Justification::Representation
2697
+
2625
2698
  property :note_name, as: 'noteName'
2626
2699
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
2627
2700
 
2628
2701
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1alpha1::Remediation, decorator: Google::Apis::ContaineranalysisV1alpha1::Remediation::Representation
2629
2702
 
2630
2703
  property :state, as: 'state'
2631
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1alpha1::Threat, decorator: Google::Apis::ContaineranalysisV1alpha1::Threat::Representation
2632
-
2633
2704
  end
2634
2705
  end
2635
2706
 
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.44.0
4
+ version: 0.46.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-04-02 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.46.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: []