google-apis-containeranalysis_v1beta1 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b16306ae1f2986db894951c0d40226fbcd7dde4de53043986a037c7fcb4c597f
4
- data.tar.gz: 6c4eff67eb6c50d87868c6f974346560bc66f476b812f791013ed96d0ad28c2d
3
+ metadata.gz: 1787b08674c8117192e9714846b99254eb233157c7a9bb330fad885cedde1cb1
4
+ data.tar.gz: 95cde596c94fca14df4049d75fd8b76a12a1a56bf7193e544bb4bcc7b9eeadd8
5
5
  SHA512:
6
- metadata.gz: 295713c5578ab06efcf66e5e0b0615d070fe3aae2517ea09defae6ceebacdd32deba0a27bd36350e643d45cb22b450216b4d0ff97c4cf0895b9e60df78bfe818
7
- data.tar.gz: 8bc1e175e73666da4cb109e4e3a47fbbfc15cce4529ce54b66468a7718d211645b9a15f1f4dc718bdbd1838af964f3cd96dc7d6ad5fba38be1365d07c439a860
6
+ metadata.gz: c96c3f7c1fd66b675112fee92eb320b689164973a4a33931641ff56179dcb0c18f44fe0aa5ffdcc90d4618bb62491af08ec48f3b4b4770b2333b02e612f544c1
7
+ data.tar.gz: e801234f2541d3d08a70bf1101d88c57c7ddb82eee90f64cbdd7ff4ae332db16d997d7a79ba5de8fcbc70b95ca8519a772992f418b19df67ce9e70e811ff9773
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.35.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230303
6
+
3
7
  ### v0.34.0 (2023-02-26)
4
8
 
5
9
  * 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
 
@@ -4010,6 +4018,32 @@ module Google
4010
4018
  end
4011
4019
  end
4012
4020
 
4021
+ # Justification provides the justification when the state of the assessment if
4022
+ # NOT_AFFECTED.
4023
+ class Justification
4024
+ include Google::Apis::Core::Hashable
4025
+
4026
+ # Additional details on why this justification was chosen.
4027
+ # Corresponds to the JSON property `details`
4028
+ # @return [String]
4029
+ attr_accessor :details
4030
+
4031
+ # The justification type for this vulnerability.
4032
+ # Corresponds to the JSON property `justificationType`
4033
+ # @return [String]
4034
+ attr_accessor :justification_type
4035
+
4036
+ def initialize(**args)
4037
+ update!(**args)
4038
+ end
4039
+
4040
+ # Update properties of this object
4041
+ def update!(**args)
4042
+ @details = args[:details] if args.key?(:details)
4043
+ @justification_type = args[:justification_type] if args.key?(:justification_type)
4044
+ end
4045
+ end
4046
+
4013
4047
  #
4014
4048
  class KnowledgeBase
4015
4049
  include Google::Apis::Core::Hashable
@@ -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.35.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 = "20230303"
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
 
@@ -1880,6 +1881,14 @@ module Google
1880
1881
  end
1881
1882
  end
1882
1883
 
1884
+ class Justification
1885
+ # @private
1886
+ class Representation < Google::Apis::Core::JsonRepresentation
1887
+ property :details, as: 'details'
1888
+ property :justification_type, as: 'justificationType'
1889
+ end
1890
+ end
1891
+
1883
1892
  class KnowledgeBase
1884
1893
  # @private
1885
1894
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.35.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-12 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.35.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: []