google-apis-containeranalysis_v1beta1 0.33.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1787b08674c8117192e9714846b99254eb233157c7a9bb330fad885cedde1cb1
|
4
|
+
data.tar.gz: 95cde596c94fca14df4049d75fd8b76a12a1a56bf7193e544bb4bcc7b9eeadd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c96c3f7c1fd66b675112fee92eb320b689164973a4a33931641ff56179dcb0c18f44fe0aa5ffdcc90d4618bb62491af08ec48f3b4b4770b2333b02e612f544c1
|
7
|
+
data.tar.gz: e801234f2541d3d08a70bf1101d88c57c7ddb82eee90f64cbdd7ff4ae332db16d997d7a79ba5de8fcbc70b95ca8519a772992f418b19df67ce9e70e811ff9773
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.34.0 (2023-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230221
|
10
|
+
|
3
11
|
### v0.33.0 (2023-02-19)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -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
|
|
@@ -3750,6 +3758,24 @@ module Google
|
|
3750
3758
|
# @return [Float]
|
3751
3759
|
attr_accessor :cvss_score
|
3752
3760
|
|
3761
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
3762
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
3763
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
3764
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
3765
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
3766
|
+
# Corresponds to the JSON property `cvssV2`
|
3767
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::Cvss]
|
3768
|
+
attr_accessor :cvss_v2
|
3769
|
+
|
3770
|
+
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
|
3771
|
+
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
|
3772
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
|
3773
|
+
# details, see https://www.first.org/cvss/specification-document CVSS v3
|
3774
|
+
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator
|
3775
|
+
# Corresponds to the JSON property `cvssV3`
|
3776
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::Cvss]
|
3777
|
+
attr_accessor :cvss_v3
|
3778
|
+
|
3753
3779
|
# Output only. CVSS version used to populate cvss_score and severity.
|
3754
3780
|
# Corresponds to the JSON property `cvssVersion`
|
3755
3781
|
# @return [String]
|
@@ -3813,6 +3839,8 @@ module Google
|
|
3813
3839
|
# Update properties of this object
|
3814
3840
|
def update!(**args)
|
3815
3841
|
@cvss_score = args[:cvss_score] if args.key?(:cvss_score)
|
3842
|
+
@cvss_v2 = args[:cvss_v2] if args.key?(:cvss_v2)
|
3843
|
+
@cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
|
3816
3844
|
@cvss_version = args[:cvss_version] if args.key?(:cvss_version)
|
3817
3845
|
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
3818
3846
|
@long_description = args[:long_description] if args.key?(:long_description)
|
@@ -3990,6 +4018,32 @@ module Google
|
|
3990
4018
|
end
|
3991
4019
|
end
|
3992
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
|
+
|
3993
4047
|
#
|
3994
4048
|
class KnowledgeBase
|
3995
4049
|
include Google::Apis::Core::Hashable
|
@@ -5619,32 +5673,6 @@ module Google
|
|
5619
5673
|
end
|
5620
5674
|
end
|
5621
5675
|
|
5622
|
-
# Contains the vulnerability kinetic information. This information can change as
|
5623
|
-
# the vulnerability ages and new information becomes available.
|
5624
|
-
class Threat
|
5625
|
-
include Google::Apis::Core::Hashable
|
5626
|
-
|
5627
|
-
# Represents a thorough human-readable discussion of the threat.
|
5628
|
-
# Corresponds to the JSON property `details`
|
5629
|
-
# @return [String]
|
5630
|
-
attr_accessor :details
|
5631
|
-
|
5632
|
-
# The type of threat.
|
5633
|
-
# Corresponds to the JSON property `threatType`
|
5634
|
-
# @return [String]
|
5635
|
-
attr_accessor :threat_type
|
5636
|
-
|
5637
|
-
def initialize(**args)
|
5638
|
-
update!(**args)
|
5639
|
-
end
|
5640
|
-
|
5641
|
-
# Update properties of this object
|
5642
|
-
def update!(**args)
|
5643
|
-
@details = args[:details] if args.key?(:details)
|
5644
|
-
@threat_type = args[:threat_type] if args.key?(:threat_type)
|
5645
|
-
end
|
5646
|
-
end
|
5647
|
-
|
5648
5676
|
# Start and end times for a build execution phase. Next ID: 3
|
5649
5677
|
class TimeSpan
|
5650
5678
|
include Google::Apis::Core::Hashable
|
@@ -5730,6 +5758,18 @@ module Google
|
|
5730
5758
|
# @return [String]
|
5731
5759
|
attr_accessor :cve
|
5732
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
|
+
|
5733
5773
|
# The VulnerabilityAssessment note from which this VexAssessment was generated.
|
5734
5774
|
# This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
|
5735
5775
|
# Corresponds to the JSON property `noteName`
|
@@ -5752,11 +5792,6 @@ module Google
|
|
5752
5792
|
# @return [String]
|
5753
5793
|
attr_accessor :state
|
5754
5794
|
|
5755
|
-
# Contains information about this vulnerability, this will change with time.
|
5756
|
-
# Corresponds to the JSON property `threats`
|
5757
|
-
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Threat>]
|
5758
|
-
attr_accessor :threats
|
5759
|
-
|
5760
5795
|
def initialize(**args)
|
5761
5796
|
update!(**args)
|
5762
5797
|
end
|
@@ -5764,11 +5799,12 @@ module Google
|
|
5764
5799
|
# Update properties of this object
|
5765
5800
|
def update!(**args)
|
5766
5801
|
@cve = args[:cve] if args.key?(:cve)
|
5802
|
+
@impacts = args[:impacts] if args.key?(:impacts)
|
5803
|
+
@justification = args[:justification] if args.key?(:justification)
|
5767
5804
|
@note_name = args[:note_name] if args.key?(:note_name)
|
5768
5805
|
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
5769
5806
|
@remediations = args[:remediations] if args.key?(:remediations)
|
5770
5807
|
@state = args[:state] if args.key?(:state)
|
5771
|
-
@threats = args[:threats] if args.key?(:threats)
|
5772
5808
|
end
|
5773
5809
|
end
|
5774
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.
|
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 = "
|
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
|
|
@@ -1815,6 +1816,10 @@ module Google
|
|
1815
1816
|
# @private
|
1816
1817
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1817
1818
|
property :cvss_score, as: 'cvssScore'
|
1819
|
+
property :cvss_v2, as: 'cvssV2', class: Google::Apis::ContaineranalysisV1beta1::Cvss, decorator: Google::Apis::ContaineranalysisV1beta1::Cvss::Representation
|
1820
|
+
|
1821
|
+
property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1beta1::Cvss, decorator: Google::Apis::ContaineranalysisV1beta1::Cvss::Representation
|
1822
|
+
|
1818
1823
|
property :cvss_version, as: 'cvssVersion'
|
1819
1824
|
property :effective_severity, as: 'effectiveSeverity'
|
1820
1825
|
property :long_description, as: 'longDescription'
|
@@ -1876,6 +1881,14 @@ module Google
|
|
1876
1881
|
end
|
1877
1882
|
end
|
1878
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
|
+
|
1879
1892
|
class KnowledgeBase
|
1880
1893
|
# @private
|
1881
1894
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2285,14 +2298,6 @@ module Google
|
|
2285
2298
|
end
|
2286
2299
|
end
|
2287
2300
|
|
2288
|
-
class Threat
|
2289
|
-
# @private
|
2290
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2291
|
-
property :details, as: 'details'
|
2292
|
-
property :threat_type, as: 'threatType'
|
2293
|
-
end
|
2294
|
-
end
|
2295
|
-
|
2296
2301
|
class TimeSpan
|
2297
2302
|
# @private
|
2298
2303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2316,14 +2321,15 @@ module Google
|
|
2316
2321
|
# @private
|
2317
2322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2318
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
|
+
|
2319
2327
|
property :note_name, as: 'noteName'
|
2320
2328
|
collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
|
2321
2329
|
|
2322
2330
|
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1beta1::Remediation, decorator: Google::Apis::ContaineranalysisV1beta1::Remediation::Representation
|
2323
2331
|
|
2324
2332
|
property :state, as: 'state'
|
2325
|
-
collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1beta1::Threat, decorator: Google::Apis::ContaineranalysisV1beta1::Threat::Representation
|
2326
|
-
|
2327
2333
|
end
|
2328
2334
|
end
|
2329
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.
|
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-
|
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.
|
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: []
|