google-apis-containeranalysis_v1beta1 0.34.0 → 0.36.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: b16306ae1f2986db894951c0d40226fbcd7dde4de53043986a037c7fcb4c597f
4
- data.tar.gz: 6c4eff67eb6c50d87868c6f974346560bc66f476b812f791013ed96d0ad28c2d
3
+ metadata.gz: f569d338aee4175641dd5f9d7402211bdc952e051d5819090c926decc3a3a5fa
4
+ data.tar.gz: '089002f3b1166c42a1533bb74b018d357e437c059b61d64cd590e5002534c526'
5
5
  SHA512:
6
- metadata.gz: 295713c5578ab06efcf66e5e0b0615d070fe3aae2517ea09defae6ceebacdd32deba0a27bd36350e643d45cb22b450216b4d0ff97c4cf0895b9e60df78bfe818
7
- data.tar.gz: 8bc1e175e73666da4cb109e4e3a47fbbfc15cce4529ce54b66468a7718d211645b9a15f1f4dc718bdbd1838af964f3cd96dc7d6ad5fba38be1365d07c439a860
6
+ metadata.gz: 23d1512d803ef79e9eba59235a931fceea5ec43a811d7f7c93c1e77f3791e162ea17617fc24481fc620aea259248ddb35b1f56d8e980ebda92feac3b33296195
7
+ data.tar.gz: db3ba93eb62552eb56be1385326836dfa8edee366a185b44f96bf644f8077bea2c39759f28d3aa2bcc1fe71a5caf7f7af94039c6a9bad8de00bb5c73321bf4cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.36.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
7
+ ### v0.35.0 (2023-03-12)
8
+
9
+ * Regenerated from discovery document revision 20230303
10
+
3
11
  ### v0.34.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230221
@@ -153,6 +153,18 @@ module Google
153
153
  # @return [String]
154
154
  attr_accessor :cve
155
155
 
156
+ # Contains information about the impact of this vulnerability, this will change
157
+ # with time.
158
+ # Corresponds to the JSON property `impacts`
159
+ # @return [Array<String>]
160
+ attr_accessor :impacts
161
+
162
+ # Justification provides the justification when the state of the assessment if
163
+ # NOT_AFFECTED.
164
+ # Corresponds to the JSON property `justification`
165
+ # @return [Google::Apis::ContaineranalysisV1beta1::Justification]
166
+ attr_accessor :justification
167
+
156
168
  # A detailed description of this Vex.
157
169
  # Corresponds to the JSON property `longDescription`
158
170
  # @return [String]
@@ -181,11 +193,6 @@ module Google
181
193
  # @return [String]
182
194
  attr_accessor :state
183
195
 
184
- # Contains information about this vulnerability, this will change with time.
185
- # Corresponds to the JSON property `threats`
186
- # @return [Array<Google::Apis::ContaineranalysisV1beta1::Threat>]
187
- attr_accessor :threats
188
-
189
196
  def initialize(**args)
190
197
  update!(**args)
191
198
  end
@@ -193,12 +200,13 @@ module Google
193
200
  # Update properties of this object
194
201
  def update!(**args)
195
202
  @cve = args[:cve] if args.key?(:cve)
203
+ @impacts = args[:impacts] if args.key?(:impacts)
204
+ @justification = args[:justification] if args.key?(:justification)
196
205
  @long_description = args[:long_description] if args.key?(:long_description)
197
206
  @related_uris = args[:related_uris] if args.key?(:related_uris)
198
207
  @remediations = args[:remediations] if args.key?(:remediations)
199
208
  @short_description = args[:short_description] if args.key?(:short_description)
200
209
  @state = args[:state] if args.key?(:state)
201
- @threats = args[:threats] if args.key?(:threats)
202
210
  end
203
211
  end
204
212
 
@@ -1576,6 +1584,11 @@ module Google
1576
1584
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1577
1585
  include Google::Apis::Core::Hashable
1578
1586
 
1587
+ # Optional. Option to specify how default logs buckets are setup.
1588
+ # Corresponds to the JSON property `defaultLogsBucketBehavior`
1589
+ # @return [String]
1590
+ attr_accessor :default_logs_bucket_behavior
1591
+
1579
1592
  # Requested disk size for the VM that runs the build. Note that this is *NOT* "
1580
1593
  # disk free"; some of the space will be used by the operating system and build
1581
1594
  # utilities. Also note that this is the minimum disk size that will be allocated
@@ -1671,6 +1684,7 @@ module Google
1671
1684
 
1672
1685
  # Update properties of this object
1673
1686
  def update!(**args)
1687
+ @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1674
1688
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1675
1689
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
1676
1690
  @env = args[:env] if args.key?(:env)
@@ -4010,6 +4024,32 @@ module Google
4010
4024
  end
4011
4025
  end
4012
4026
 
4027
+ # Justification provides the justification when the state of the assessment if
4028
+ # NOT_AFFECTED.
4029
+ class Justification
4030
+ include Google::Apis::Core::Hashable
4031
+
4032
+ # Additional details on why this justification was chosen.
4033
+ # Corresponds to the JSON property `details`
4034
+ # @return [String]
4035
+ attr_accessor :details
4036
+
4037
+ # The justification type for this vulnerability.
4038
+ # Corresponds to the JSON property `justificationType`
4039
+ # @return [String]
4040
+ attr_accessor :justification_type
4041
+
4042
+ def initialize(**args)
4043
+ update!(**args)
4044
+ end
4045
+
4046
+ # Update properties of this object
4047
+ def update!(**args)
4048
+ @details = args[:details] if args.key?(:details)
4049
+ @justification_type = args[:justification_type] if args.key?(:justification_type)
4050
+ end
4051
+ end
4052
+
4013
4053
  #
4014
4054
  class KnowledgeBase
4015
4055
  include Google::Apis::Core::Hashable
@@ -5114,13 +5154,6 @@ module Google
5114
5154
  class Publisher
5115
5155
  include Google::Apis::Core::Hashable
5116
5156
 
5117
- # The context or namespace. Contains a URL which is under control of the issuing
5118
- # party and can be used as a globally unique identifier for that issuing party.
5119
- # Example: https://csaf.io
5120
- # Corresponds to the JSON property `context`
5121
- # @return [String]
5122
- attr_accessor :context
5123
-
5124
5157
  # Provides information about the authority of the issuing party to release the
5125
5158
  # document, in particular, the party's constituency and responsibilities or
5126
5159
  # other obligations.
@@ -5133,15 +5166,22 @@ module Google
5133
5166
  # @return [String]
5134
5167
  attr_accessor :name
5135
5168
 
5169
+ # The context or namespace. Contains a URL which is under control of the issuing
5170
+ # party and can be used as a globally unique identifier for that issuing party.
5171
+ # Example: https://csaf.io
5172
+ # Corresponds to the JSON property `publisherNamespace`
5173
+ # @return [String]
5174
+ attr_accessor :publisher_namespace
5175
+
5136
5176
  def initialize(**args)
5137
5177
  update!(**args)
5138
5178
  end
5139
5179
 
5140
5180
  # Update properties of this object
5141
5181
  def update!(**args)
5142
- @context = args[:context] if args.key?(:context)
5143
5182
  @issuing_authority = args[:issuing_authority] if args.key?(:issuing_authority)
5144
5183
  @name = args[:name] if args.key?(:name)
5184
+ @publisher_namespace = args[:publisher_namespace] if args.key?(:publisher_namespace)
5145
5185
  end
5146
5186
  end
5147
5187
 
@@ -5243,11 +5283,6 @@ module Google
5243
5283
  # @return [String]
5244
5284
  attr_accessor :details
5245
5285
 
5246
- # Contains the date from which the remediation is available.
5247
- # Corresponds to the JSON property `remediationTime`
5248
- # @return [String]
5249
- attr_accessor :remediation_time
5250
-
5251
5286
  # The type of remediation that can be applied.
5252
5287
  # Corresponds to the JSON property `remediationType`
5253
5288
  # @return [String]
@@ -5265,7 +5300,6 @@ module Google
5265
5300
  # Update properties of this object
5266
5301
  def update!(**args)
5267
5302
  @details = args[:details] if args.key?(:details)
5268
- @remediation_time = args[:remediation_time] if args.key?(:remediation_time)
5269
5303
  @remediation_type = args[:remediation_type] if args.key?(:remediation_type)
5270
5304
  @remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri)
5271
5305
  end
@@ -5639,32 +5673,6 @@ module Google
5639
5673
  end
5640
5674
  end
5641
5675
 
5642
- # Contains the vulnerability kinetic information. This information can change as
5643
- # the vulnerability ages and new information becomes available.
5644
- class Threat
5645
- include Google::Apis::Core::Hashable
5646
-
5647
- # Represents a thorough human-readable discussion of the threat.
5648
- # Corresponds to the JSON property `details`
5649
- # @return [String]
5650
- attr_accessor :details
5651
-
5652
- # The type of threat.
5653
- # Corresponds to the JSON property `threatType`
5654
- # @return [String]
5655
- attr_accessor :threat_type
5656
-
5657
- def initialize(**args)
5658
- update!(**args)
5659
- end
5660
-
5661
- # Update properties of this object
5662
- def update!(**args)
5663
- @details = args[:details] if args.key?(:details)
5664
- @threat_type = args[:threat_type] if args.key?(:threat_type)
5665
- end
5666
- end
5667
-
5668
5676
  # Start and end times for a build execution phase. Next ID: 3
5669
5677
  class TimeSpan
5670
5678
  include Google::Apis::Core::Hashable
@@ -5750,6 +5758,18 @@ module Google
5750
5758
  # @return [String]
5751
5759
  attr_accessor :cve
5752
5760
 
5761
+ # Contains information about the impact of this vulnerability, this will change
5762
+ # with time.
5763
+ # Corresponds to the JSON property `impacts`
5764
+ # @return [Array<String>]
5765
+ attr_accessor :impacts
5766
+
5767
+ # Justification provides the justification when the state of the assessment if
5768
+ # NOT_AFFECTED.
5769
+ # Corresponds to the JSON property `justification`
5770
+ # @return [Google::Apis::ContaineranalysisV1beta1::Justification]
5771
+ attr_accessor :justification
5772
+
5753
5773
  # The VulnerabilityAssessment note from which this VexAssessment was generated.
5754
5774
  # This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
5755
5775
  # Corresponds to the JSON property `noteName`
@@ -5772,11 +5792,6 @@ module Google
5772
5792
  # @return [String]
5773
5793
  attr_accessor :state
5774
5794
 
5775
- # Contains information about this vulnerability, this will change with time.
5776
- # Corresponds to the JSON property `threats`
5777
- # @return [Array<Google::Apis::ContaineranalysisV1beta1::Threat>]
5778
- attr_accessor :threats
5779
-
5780
5795
  def initialize(**args)
5781
5796
  update!(**args)
5782
5797
  end
@@ -5784,11 +5799,12 @@ module Google
5784
5799
  # Update properties of this object
5785
5800
  def update!(**args)
5786
5801
  @cve = args[:cve] if args.key?(:cve)
5802
+ @impacts = args[:impacts] if args.key?(:impacts)
5803
+ @justification = args[:justification] if args.key?(:justification)
5787
5804
  @note_name = args[:note_name] if args.key?(:note_name)
5788
5805
  @related_uris = args[:related_uris] if args.key?(:related_uris)
5789
5806
  @remediations = args[:remediations] if args.key?(:remediations)
5790
5807
  @state = args[:state] if args.key?(:state)
5791
- @threats = args[:threats] if args.key?(:threats)
5792
5808
  end
5793
5809
  end
5794
5810
 
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20230310"
26
26
  end
27
27
  end
28
28
  end
@@ -586,6 +586,12 @@ module Google
586
586
  include Google::Apis::Core::JsonObjectSupport
587
587
  end
588
588
 
589
+ class Justification
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
589
595
  class KnowledgeBase
590
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
597
 
@@ -784,12 +790,6 @@ module Google
784
790
  include Google::Apis::Core::JsonObjectSupport
785
791
  end
786
792
 
787
- class Threat
788
- class Representation < Google::Apis::Core::JsonRepresentation; end
789
-
790
- include Google::Apis::Core::JsonObjectSupport
791
- end
792
-
793
793
  class TimeSpan
794
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
795
 
@@ -886,6 +886,9 @@ module Google
886
886
  # @private
887
887
  class Representation < Google::Apis::Core::JsonRepresentation
888
888
  property :cve, as: 'cve'
889
+ collection :impacts, as: 'impacts'
890
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1beta1::Justification, decorator: Google::Apis::ContaineranalysisV1beta1::Justification::Representation
891
+
889
892
  property :long_description, as: 'longDescription'
890
893
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
891
894
 
@@ -893,8 +896,6 @@ module Google
893
896
 
894
897
  property :short_description, as: 'shortDescription'
895
898
  property :state, as: 'state'
896
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1beta1::Threat, decorator: Google::Apis::ContaineranalysisV1beta1::Threat::Representation
897
-
898
899
  end
899
900
  end
900
901
 
@@ -1228,6 +1229,7 @@ module Google
1228
1229
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1229
1230
  # @private
1230
1231
  class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1231
1233
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1232
1234
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
1233
1235
  collection :env, as: 'env'
@@ -1880,6 +1882,14 @@ module Google
1880
1882
  end
1881
1883
  end
1882
1884
 
1885
+ class Justification
1886
+ # @private
1887
+ class Representation < Google::Apis::Core::JsonRepresentation
1888
+ property :details, as: 'details'
1889
+ property :justification_type, as: 'justificationType'
1890
+ end
1891
+ end
1892
+
1883
1893
  class KnowledgeBase
1884
1894
  # @private
1885
1895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2153,9 +2163,9 @@ module Google
2153
2163
  class Publisher
2154
2164
  # @private
2155
2165
  class Representation < Google::Apis::Core::JsonRepresentation
2156
- property :context, as: 'context'
2157
2166
  property :issuing_authority, as: 'issuingAuthority'
2158
2167
  property :name, as: 'name'
2168
+ property :publisher_namespace, as: 'publisherNamespace'
2159
2169
  end
2160
2170
  end
2161
2171
 
@@ -2188,7 +2198,6 @@ module Google
2188
2198
  # @private
2189
2199
  class Representation < Google::Apis::Core::JsonRepresentation
2190
2200
  property :details, as: 'details'
2191
- property :remediation_time, as: 'remediationTime'
2192
2201
  property :remediation_type, as: 'remediationType'
2193
2202
  property :remediation_uri, as: 'remediationUri', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
2194
2203
 
@@ -2289,14 +2298,6 @@ module Google
2289
2298
  end
2290
2299
  end
2291
2300
 
2292
- class Threat
2293
- # @private
2294
- class Representation < Google::Apis::Core::JsonRepresentation
2295
- property :details, as: 'details'
2296
- property :threat_type, as: 'threatType'
2297
- end
2298
- end
2299
-
2300
2301
  class TimeSpan
2301
2302
  # @private
2302
2303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2320,14 +2321,15 @@ module Google
2320
2321
  # @private
2321
2322
  class Representation < Google::Apis::Core::JsonRepresentation
2322
2323
  property :cve, as: 'cve'
2324
+ collection :impacts, as: 'impacts'
2325
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1beta1::Justification, decorator: Google::Apis::ContaineranalysisV1beta1::Justification::Representation
2326
+
2323
2327
  property :note_name, as: 'noteName'
2324
2328
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
2325
2329
 
2326
2330
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1beta1::Remediation, decorator: Google::Apis::ContaineranalysisV1beta1::Remediation::Representation
2327
2331
 
2328
2332
  property :state, as: 'state'
2329
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1beta1::Threat, decorator: Google::Apis::ContaineranalysisV1beta1::Threat::Representation
2330
-
2331
2333
  end
2332
2334
  end
2333
2335
 
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.34.0
4
+ version: 0.36.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-03-19 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.36.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: []