google-apis-containeranalysis_v1alpha1 0.44.0 → 0.45.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: 9c979af17b73b82c7689b55828e7056c53767cc64930692306d3026cd4c72809
4
+ data.tar.gz: 1b2468b7722550249ad02c2f81b9ac3ef69333744ef6371666cfb8c2320e49c5
5
5
  SHA512:
6
- metadata.gz: 7f9fd7bfe6c3f279ea1f45749f51d70d3331492560962d7e1659be4f3023cc66fe4dcab53eb0e395accf8354fbbd032671cf8416f639f338ea6fe3528c256ae3
7
- data.tar.gz: 30fbb2f552af2f079c672def2caf8bd8417859f80cea76cf4f1e9b8da5db0ea057db222ab52148970e290d9daa7d9fcb8cc44c065627cd5660c054fdaf64b415
6
+ metadata.gz: acd5c05bf52f03e69d262603f9feba3ad18041781f730f55bb54161401310f90c2b5722d9ebe749bd9fa0d586f2e8431ca4daf43353d2c3a35b52152959dbb98
7
+ data.tar.gz: 7dc643861422302f23034d2c6f61b75dbb88c3b15dd32b1625ff5c299acbea28fe89bfb85ce7befd6d6dc08ee3686d84eaec5dcc4bd6ff0b20666a68cb0a5b6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.45.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
3
7
  ### v0.44.0 (2023-02-26)
4
8
 
5
9
  * 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
@@ -5391,13 +5431,6 @@ module Google
5391
5431
  class Publisher
5392
5432
  include Google::Apis::Core::Hashable
5393
5433
 
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
5434
  # Provides information about the authority of the issuing party to release the
5402
5435
  # document, in particular, the party's constituency and responsibilities or
5403
5436
  # other obligations.
@@ -5410,15 +5443,22 @@ module Google
5410
5443
  # @return [String]
5411
5444
  attr_accessor :name
5412
5445
 
5446
+ # The context or namespace. Contains a URL which is under control of the issuing
5447
+ # party and can be used as a globally unique identifier for that issuing party.
5448
+ # Example: https://csaf.io
5449
+ # Corresponds to the JSON property `publisherNamespace`
5450
+ # @return [String]
5451
+ attr_accessor :publisher_namespace
5452
+
5413
5453
  def initialize(**args)
5414
5454
  update!(**args)
5415
5455
  end
5416
5456
 
5417
5457
  # Update properties of this object
5418
5458
  def update!(**args)
5419
- @context = args[:context] if args.key?(:context)
5420
5459
  @issuing_authority = args[:issuing_authority] if args.key?(:issuing_authority)
5421
5460
  @name = args[:name] if args.key?(:name)
5461
+ @publisher_namespace = args[:publisher_namespace] if args.key?(:publisher_namespace)
5422
5462
  end
5423
5463
  end
5424
5464
 
@@ -5578,11 +5618,6 @@ module Google
5578
5618
  # @return [String]
5579
5619
  attr_accessor :details
5580
5620
 
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
5621
  # The type of remediation that can be applied.
5587
5622
  # Corresponds to the JSON property `remediationType`
5588
5623
  # @return [String]
@@ -5600,7 +5635,6 @@ module Google
5600
5635
  # Update properties of this object
5601
5636
  def update!(**args)
5602
5637
  @details = args[:details] if args.key?(:details)
5603
- @remediation_time = args[:remediation_time] if args.key?(:remediation_time)
5604
5638
  @remediation_type = args[:remediation_type] if args.key?(:remediation_type)
5605
5639
  @remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri)
5606
5640
  end
@@ -6251,32 +6285,6 @@ module Google
6251
6285
  end
6252
6286
  end
6253
6287
 
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
6288
  # Start and end times for a build execution phase. Next ID: 3
6281
6289
  class TimeSpan
6282
6290
  include Google::Apis::Core::Hashable
@@ -6529,6 +6537,18 @@ module Google
6529
6537
  # @return [String]
6530
6538
  attr_accessor :cve
6531
6539
 
6540
+ # Contains information about the impact of this vulnerability, this will change
6541
+ # with time.
6542
+ # Corresponds to the JSON property `impacts`
6543
+ # @return [Array<String>]
6544
+ attr_accessor :impacts
6545
+
6546
+ # Justification provides the justification when the state of the assessment if
6547
+ # NOT_AFFECTED.
6548
+ # Corresponds to the JSON property `justification`
6549
+ # @return [Google::Apis::ContaineranalysisV1alpha1::Justification]
6550
+ attr_accessor :justification
6551
+
6532
6552
  # The VulnerabilityAssessment note from which this VexAssessment was generated.
6533
6553
  # This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
6534
6554
  # Corresponds to the JSON property `noteName`
@@ -6553,11 +6573,6 @@ module Google
6553
6573
  # @return [String]
6554
6574
  attr_accessor :state
6555
6575
 
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
6576
  def initialize(**args)
6562
6577
  update!(**args)
6563
6578
  end
@@ -6565,11 +6580,12 @@ module Google
6565
6580
  # Update properties of this object
6566
6581
  def update!(**args)
6567
6582
  @cve = args[:cve] if args.key?(:cve)
6583
+ @impacts = args[:impacts] if args.key?(:impacts)
6584
+ @justification = args[:justification] if args.key?(:justification)
6568
6585
  @note_name = args[:note_name] if args.key?(:note_name)
6569
6586
  @related_uris = args[:related_uris] if args.key?(:related_uris)
6570
6587
  @remediations = args[:remediations] if args.key?(:remediations)
6571
6588
  @state = args[:state] if args.key?(:state)
6572
- @threats = args[:threats] if args.key?(:threats)
6573
6589
  end
6574
6590
  end
6575
6591
 
@@ -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.45.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
@@ -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
 
@@ -862,12 +868,6 @@ module Google
862
868
  include Google::Apis::Core::JsonObjectSupport
863
869
  end
864
870
 
865
- class Threat
866
- class Representation < Google::Apis::Core::JsonRepresentation; end
867
-
868
- include Google::Apis::Core::JsonObjectSupport
869
- end
870
-
871
871
  class TimeSpan
872
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
873
 
@@ -967,6 +967,9 @@ module Google
967
967
  # @private
968
968
  class Representation < Google::Apis::Core::JsonRepresentation
969
969
  property :cve, as: 'cve'
970
+ collection :impacts, as: 'impacts'
971
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1alpha1::Justification, decorator: Google::Apis::ContaineranalysisV1alpha1::Justification::Representation
972
+
970
973
  property :long_description, as: 'longDescription'
971
974
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
972
975
 
@@ -974,8 +977,6 @@ module Google
974
977
 
975
978
  property :short_description, as: 'shortDescription'
976
979
  property :state, as: 'state'
977
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1alpha1::Threat, decorator: Google::Apis::ContaineranalysisV1alpha1::Threat::Representation
978
-
979
980
  end
980
981
  end
981
982
 
@@ -1317,6 +1318,7 @@ module Google
1317
1318
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1318
1319
  # @private
1319
1320
  class Representation < Google::Apis::Core::JsonRepresentation
1321
+ property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1320
1322
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1321
1323
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
1322
1324
  collection :env, as: 'env'
@@ -2013,6 +2015,14 @@ module Google
2013
2015
  end
2014
2016
  end
2015
2017
 
2018
+ class Justification
2019
+ # @private
2020
+ class Representation < Google::Apis::Core::JsonRepresentation
2021
+ property :details, as: 'details'
2022
+ property :justification_type, as: 'justificationType'
2023
+ end
2024
+ end
2025
+
2016
2026
  class Layer
2017
2027
  # @private
2018
2028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2314,9 +2324,9 @@ module Google
2314
2324
  class Publisher
2315
2325
  # @private
2316
2326
  class Representation < Google::Apis::Core::JsonRepresentation
2317
- property :context, as: 'context'
2318
2327
  property :issuing_authority, as: 'issuingAuthority'
2319
2328
  property :name, as: 'name'
2329
+ property :publisher_namespace, as: 'publisherNamespace'
2320
2330
  end
2321
2331
  end
2322
2332
 
@@ -2360,7 +2370,6 @@ module Google
2360
2370
  # @private
2361
2371
  class Representation < Google::Apis::Core::JsonRepresentation
2362
2372
  property :details, as: 'details'
2363
- property :remediation_time, as: 'remediationTime'
2364
2373
  property :remediation_type, as: 'remediationType'
2365
2374
  property :remediation_uri, as: 'remediationUri', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
2366
2375
 
@@ -2542,14 +2551,6 @@ module Google
2542
2551
  end
2543
2552
  end
2544
2553
 
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
2554
  class TimeSpan
2554
2555
  # @private
2555
2556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2622,14 +2623,15 @@ module Google
2622
2623
  # @private
2623
2624
  class Representation < Google::Apis::Core::JsonRepresentation
2624
2625
  property :cve, as: 'cve'
2626
+ collection :impacts, as: 'impacts'
2627
+ property :justification, as: 'justification', class: Google::Apis::ContaineranalysisV1alpha1::Justification, decorator: Google::Apis::ContaineranalysisV1alpha1::Justification::Representation
2628
+
2625
2629
  property :note_name, as: 'noteName'
2626
2630
  collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1alpha1::Uri, decorator: Google::Apis::ContaineranalysisV1alpha1::Uri::Representation
2627
2631
 
2628
2632
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1alpha1::Remediation, decorator: Google::Apis::ContaineranalysisV1alpha1::Remediation::Representation
2629
2633
 
2630
2634
  property :state, as: 'state'
2631
- collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1alpha1::Threat, decorator: Google::Apis::ContaineranalysisV1alpha1::Threat::Representation
2632
-
2633
2635
  end
2634
2636
  end
2635
2637
 
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.45.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_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.45.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: []