google-apis-containeranalysis_v1beta1 0.30.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33e6b6f9d2180fa65a69dea804557ebc458a3b6871835cc54ff03a5b1b4e3f69
|
4
|
+
data.tar.gz: e4c41e81ed43a455ce5d88472ba5dc0c1cb413ef3234d2a75702fc85e6daad44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63637c879f6d47a2fdc11de4e50b62a70e9e9363b5408adde5e6db24d9fbe5e5c528eb2bb908e5cf9d0dec7aef5773ac099fc1f0eec3302188b89f7811a8a9ab
|
7
|
+
data.tar.gz: 004a59d171d7e19c960b77a6f51ad3508ef4c9315a44519577788dd9a00e3f5426100d7bfb6591ad3969099f64af0d3975254126d48a76db18509e84cc3dacc2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1beta1
|
2
2
|
|
3
|
+
### v0.32.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230203
|
6
|
+
|
7
|
+
### v0.31.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230120
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.30.0 (2022-11-18)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221112
|
@@ -142,6 +142,66 @@ module Google
|
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
145
|
+
# Assessment provides all information that is related to a single vulnerability
|
146
|
+
# for this product.
|
147
|
+
class Assessment
|
148
|
+
include Google::Apis::Core::Hashable
|
149
|
+
|
150
|
+
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
151
|
+
# number for the vulnerability.
|
152
|
+
# Corresponds to the JSON property `cve`
|
153
|
+
# @return [String]
|
154
|
+
attr_accessor :cve
|
155
|
+
|
156
|
+
# A detailed description of this Vex.
|
157
|
+
# Corresponds to the JSON property `longDescription`
|
158
|
+
# @return [String]
|
159
|
+
attr_accessor :long_description
|
160
|
+
|
161
|
+
# Holds a list of references associated with this vulnerability item and
|
162
|
+
# assessment. These uris have additional information about the vulnerability and
|
163
|
+
# the assessment itself. E.g. Link to a document which details how this
|
164
|
+
# assessment concluded the state of this vulnerability.
|
165
|
+
# Corresponds to the JSON property `relatedUris`
|
166
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::RelatedUrl>]
|
167
|
+
attr_accessor :related_uris
|
168
|
+
|
169
|
+
# Specifies details on how to handle (and presumably, fix) a vulnerability.
|
170
|
+
# Corresponds to the JSON property `remediations`
|
171
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Remediation>]
|
172
|
+
attr_accessor :remediations
|
173
|
+
|
174
|
+
# A one sentence description of this Vex.
|
175
|
+
# Corresponds to the JSON property `shortDescription`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :short_description
|
178
|
+
|
179
|
+
# Provides the state of this Vulnerability assessment.
|
180
|
+
# Corresponds to the JSON property `state`
|
181
|
+
# @return [String]
|
182
|
+
attr_accessor :state
|
183
|
+
|
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
|
+
def initialize(**args)
|
190
|
+
update!(**args)
|
191
|
+
end
|
192
|
+
|
193
|
+
# Update properties of this object
|
194
|
+
def update!(**args)
|
195
|
+
@cve = args[:cve] if args.key?(:cve)
|
196
|
+
@long_description = args[:long_description] if args.key?(:long_description)
|
197
|
+
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
198
|
+
@remediations = args[:remediations] if args.key?(:remediations)
|
199
|
+
@short_description = args[:short_description] if args.key?(:short_description)
|
200
|
+
@state = args[:state] if args.key?(:state)
|
201
|
+
@threats = args[:threats] if args.key?(:threats)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
145
205
|
# Occurrence that represents a single "attestation". The authenticity of an
|
146
206
|
# attestation can be verified using the attached signature. If the verifier
|
147
207
|
# trusts the public key of the signer, then verifying the signature is
|
@@ -352,22 +412,22 @@ module Google
|
|
352
412
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
353
413
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
354
414
|
# email address that represents a Google group. For example, `admins@example.com`
|
355
|
-
# . * `
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
# the
|
360
|
-
#
|
361
|
-
#
|
415
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
416
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
417
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
418
|
+
# representing a user that has been recently deleted. For example, `alice@
|
419
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
420
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
421
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
422
|
+
# (plus unique identifier) representing a service account that has been recently
|
423
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
362
424
|
# 123456789012345678901`. If the service account is undeleted, this value
|
363
425
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
364
426
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
365
427
|
# An email address (plus unique identifier) representing a Google group that has
|
366
428
|
# been recently deleted. For example, `admins@example.com?uid=
|
367
429
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
368
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
369
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
370
|
-
# of that domain. For example, `google.com` or `example.com`.
|
430
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
371
431
|
# Corresponds to the JSON property `members`
|
372
432
|
# @return [Array<String>]
|
373
433
|
attr_accessor :members
|
@@ -1398,7 +1458,7 @@ module Google
|
|
1398
1458
|
# Amount of time that this build should be allowed to run, to second granularity.
|
1399
1459
|
# If this amount of time elapses, work on the build will cease and the build
|
1400
1460
|
# status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default
|
1401
|
-
# time is
|
1461
|
+
# time is 60 minutes.
|
1402
1462
|
# Corresponds to the JSON property `timeout`
|
1403
1463
|
# @return [String]
|
1404
1464
|
attr_accessor :timeout
|
@@ -3740,6 +3800,12 @@ module Google
|
|
3740
3800
|
# @return [String]
|
3741
3801
|
attr_accessor :type
|
3742
3802
|
|
3803
|
+
# VexAssessment provides all publisher provided Vex information that is related
|
3804
|
+
# to this vulnerability.
|
3805
|
+
# Corresponds to the JSON property `vexAssessment`
|
3806
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::VexAssessment]
|
3807
|
+
attr_accessor :vex_assessment
|
3808
|
+
|
3743
3809
|
def initialize(**args)
|
3744
3810
|
update!(**args)
|
3745
3811
|
end
|
@@ -3755,6 +3821,7 @@ module Google
|
|
3755
3821
|
@severity = args[:severity] if args.key?(:severity)
|
3756
3822
|
@short_description = args[:short_description] if args.key?(:short_description)
|
3757
3823
|
@type = args[:type] if args.key?(:type)
|
3824
|
+
@vex_assessment = args[:vex_assessment] if args.key?(:vex_assessment)
|
3758
3825
|
end
|
3759
3826
|
end
|
3760
3827
|
|
@@ -4296,6 +4363,12 @@ module Google
|
|
4296
4363
|
# @return [Google::Apis::ContaineranalysisV1beta1::Vulnerability]
|
4297
4364
|
attr_accessor :vulnerability
|
4298
4365
|
|
4366
|
+
# A single VulnerabilityAssessmentNote represents one particular product's
|
4367
|
+
# vulnerability assessment for one CVE.
|
4368
|
+
# Corresponds to the JSON property `vulnerabilityAssessment`
|
4369
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityAssessmentNote]
|
4370
|
+
attr_accessor :vulnerability_assessment
|
4371
|
+
|
4299
4372
|
def initialize(**args)
|
4300
4373
|
update!(**args)
|
4301
4374
|
end
|
@@ -4323,6 +4396,7 @@ module Google
|
|
4323
4396
|
@spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
|
4324
4397
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4325
4398
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
4399
|
+
@vulnerability_assessment = args[:vulnerability_assessment] if args.key?(:vulnerability_assessment)
|
4326
4400
|
end
|
4327
4401
|
end
|
4328
4402
|
|
@@ -4956,6 +5030,40 @@ module Google
|
|
4956
5030
|
end
|
4957
5031
|
end
|
4958
5032
|
|
5033
|
+
# Product contains information about a product and how to uniquely identify it.
|
5034
|
+
class Product
|
5035
|
+
include Google::Apis::Core::Hashable
|
5036
|
+
|
5037
|
+
# Contains a URI which is vendor-specific. Example: The artifact repository URL
|
5038
|
+
# of an image.
|
5039
|
+
# Corresponds to the JSON property `genericUri`
|
5040
|
+
# @return [String]
|
5041
|
+
attr_accessor :generic_uri
|
5042
|
+
|
5043
|
+
# Token that identifies a product so that it can be referred to from other parts
|
5044
|
+
# in the document. There is no predefined format as long as it uniquely
|
5045
|
+
# identifies a group in the context of the current document.
|
5046
|
+
# Corresponds to the JSON property `id`
|
5047
|
+
# @return [String]
|
5048
|
+
attr_accessor :id
|
5049
|
+
|
5050
|
+
# Name of the product.
|
5051
|
+
# Corresponds to the JSON property `name`
|
5052
|
+
# @return [String]
|
5053
|
+
attr_accessor :name
|
5054
|
+
|
5055
|
+
def initialize(**args)
|
5056
|
+
update!(**args)
|
5057
|
+
end
|
5058
|
+
|
5059
|
+
# Update properties of this object
|
5060
|
+
def update!(**args)
|
5061
|
+
@generic_uri = args[:generic_uri] if args.key?(:generic_uri)
|
5062
|
+
@id = args[:id] if args.key?(:id)
|
5063
|
+
@name = args[:name] if args.key?(:name)
|
5064
|
+
end
|
5065
|
+
end
|
5066
|
+
|
4959
5067
|
# Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31)
|
4960
5068
|
# and a repo name within that project.
|
4961
5069
|
class ProjectRepoId
|
@@ -4982,6 +5090,41 @@ module Google
|
|
4982
5090
|
end
|
4983
5091
|
end
|
4984
5092
|
|
5093
|
+
# Publisher contains information about the publisher of this Note.
|
5094
|
+
class Publisher
|
5095
|
+
include Google::Apis::Core::Hashable
|
5096
|
+
|
5097
|
+
# The context or namespace. Contains a URL which is under control of the issuing
|
5098
|
+
# party and can be used as a globally unique identifier for that issuing party.
|
5099
|
+
# Example: https://csaf.io
|
5100
|
+
# Corresponds to the JSON property `context`
|
5101
|
+
# @return [String]
|
5102
|
+
attr_accessor :context
|
5103
|
+
|
5104
|
+
# Provides information about the authority of the issuing party to release the
|
5105
|
+
# document, in particular, the party's constituency and responsibilities or
|
5106
|
+
# other obligations.
|
5107
|
+
# Corresponds to the JSON property `issuingAuthority`
|
5108
|
+
# @return [String]
|
5109
|
+
attr_accessor :issuing_authority
|
5110
|
+
|
5111
|
+
# Name of the publisher. Examples: 'Google', 'Google Cloud Platform'.
|
5112
|
+
# Corresponds to the JSON property `name`
|
5113
|
+
# @return [String]
|
5114
|
+
attr_accessor :name
|
5115
|
+
|
5116
|
+
def initialize(**args)
|
5117
|
+
update!(**args)
|
5118
|
+
end
|
5119
|
+
|
5120
|
+
# Update properties of this object
|
5121
|
+
def update!(**args)
|
5122
|
+
@context = args[:context] if args.key?(:context)
|
5123
|
+
@issuing_authority = args[:issuing_authority] if args.key?(:issuing_authority)
|
5124
|
+
@name = args[:name] if args.key?(:name)
|
5125
|
+
end
|
5126
|
+
end
|
5127
|
+
|
4985
5128
|
# Metadata for any related URL information.
|
4986
5129
|
class RelatedUrl
|
4987
5130
|
include Google::Apis::Core::Hashable
|
@@ -5071,6 +5214,43 @@ module Google
|
|
5071
5214
|
end
|
5072
5215
|
end
|
5073
5216
|
|
5217
|
+
# Specifies details on how to handle (and presumably, fix) a vulnerability.
|
5218
|
+
class Remediation
|
5219
|
+
include Google::Apis::Core::Hashable
|
5220
|
+
|
5221
|
+
# Contains a comprehensive human-readable discussion of the remediation.
|
5222
|
+
# Corresponds to the JSON property `details`
|
5223
|
+
# @return [String]
|
5224
|
+
attr_accessor :details
|
5225
|
+
|
5226
|
+
# Contains the date from which the remediation is available.
|
5227
|
+
# Corresponds to the JSON property `remediationTime`
|
5228
|
+
# @return [String]
|
5229
|
+
attr_accessor :remediation_time
|
5230
|
+
|
5231
|
+
# The type of remediation that can be applied.
|
5232
|
+
# Corresponds to the JSON property `remediationType`
|
5233
|
+
# @return [String]
|
5234
|
+
attr_accessor :remediation_type
|
5235
|
+
|
5236
|
+
# Metadata for any related URL information.
|
5237
|
+
# Corresponds to the JSON property `remediationUri`
|
5238
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::RelatedUrl]
|
5239
|
+
attr_accessor :remediation_uri
|
5240
|
+
|
5241
|
+
def initialize(**args)
|
5242
|
+
update!(**args)
|
5243
|
+
end
|
5244
|
+
|
5245
|
+
# Update properties of this object
|
5246
|
+
def update!(**args)
|
5247
|
+
@details = args[:details] if args.key?(:details)
|
5248
|
+
@remediation_time = args[:remediation_time] if args.key?(:remediation_time)
|
5249
|
+
@remediation_type = args[:remediation_type] if args.key?(:remediation_type)
|
5250
|
+
@remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri)
|
5251
|
+
end
|
5252
|
+
end
|
5253
|
+
|
5074
5254
|
# A unique identifier for a Cloud Repo.
|
5075
5255
|
class RepoId
|
5076
5256
|
include Google::Apis::Core::Hashable
|
@@ -5439,6 +5619,32 @@ module Google
|
|
5439
5619
|
end
|
5440
5620
|
end
|
5441
5621
|
|
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
|
+
|
5442
5648
|
# Start and end times for a build execution phase. Next ID: 3
|
5443
5649
|
class TimeSpan
|
5444
5650
|
include Google::Apis::Core::Hashable
|
@@ -5513,6 +5719,59 @@ module Google
|
|
5513
5719
|
end
|
5514
5720
|
end
|
5515
5721
|
|
5722
|
+
# VexAssessment provides all publisher provided Vex information that is related
|
5723
|
+
# to this vulnerability.
|
5724
|
+
class VexAssessment
|
5725
|
+
include Google::Apis::Core::Hashable
|
5726
|
+
|
5727
|
+
# Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
|
5728
|
+
# number for the vulnerability.
|
5729
|
+
# Corresponds to the JSON property `cve`
|
5730
|
+
# @return [String]
|
5731
|
+
attr_accessor :cve
|
5732
|
+
|
5733
|
+
# The VulnerabilityAssessment note from which this VexAssessment was generated.
|
5734
|
+
# This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
|
5735
|
+
# Corresponds to the JSON property `noteName`
|
5736
|
+
# @return [String]
|
5737
|
+
attr_accessor :note_name
|
5738
|
+
|
5739
|
+
# Holds a list of references associated with this vulnerability item and
|
5740
|
+
# assessment.
|
5741
|
+
# Corresponds to the JSON property `relatedUris`
|
5742
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::RelatedUrl>]
|
5743
|
+
attr_accessor :related_uris
|
5744
|
+
|
5745
|
+
# Specifies details on how to handle (and presumably, fix) a vulnerability.
|
5746
|
+
# Corresponds to the JSON property `remediations`
|
5747
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Remediation>]
|
5748
|
+
attr_accessor :remediations
|
5749
|
+
|
5750
|
+
# Provides the state of this Vulnerability assessment.
|
5751
|
+
# Corresponds to the JSON property `state`
|
5752
|
+
# @return [String]
|
5753
|
+
attr_accessor :state
|
5754
|
+
|
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
|
+
def initialize(**args)
|
5761
|
+
update!(**args)
|
5762
|
+
end
|
5763
|
+
|
5764
|
+
# Update properties of this object
|
5765
|
+
def update!(**args)
|
5766
|
+
@cve = args[:cve] if args.key?(:cve)
|
5767
|
+
@note_name = args[:note_name] if args.key?(:note_name)
|
5768
|
+
@related_uris = args[:related_uris] if args.key?(:related_uris)
|
5769
|
+
@remediations = args[:remediations] if args.key?(:remediations)
|
5770
|
+
@state = args[:state] if args.key?(:state)
|
5771
|
+
@threats = args[:threats] if args.key?(:threats)
|
5772
|
+
end
|
5773
|
+
end
|
5774
|
+
|
5516
5775
|
# Volume describes a Docker container volume which is mounted into build steps
|
5517
5776
|
# in order to persist files across build step execution. Next ID: 3
|
5518
5777
|
class Volume
|
@@ -5623,6 +5882,64 @@ module Google
|
|
5623
5882
|
end
|
5624
5883
|
end
|
5625
5884
|
|
5885
|
+
# A single VulnerabilityAssessmentNote represents one particular product's
|
5886
|
+
# vulnerability assessment for one CVE.
|
5887
|
+
class VulnerabilityAssessmentNote
|
5888
|
+
include Google::Apis::Core::Hashable
|
5889
|
+
|
5890
|
+
# Assessment provides all information that is related to a single vulnerability
|
5891
|
+
# for this product.
|
5892
|
+
# Corresponds to the JSON property `assessment`
|
5893
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::Assessment]
|
5894
|
+
attr_accessor :assessment
|
5895
|
+
|
5896
|
+
# Identifies the language used by this document, corresponding to IETF BCP 47 /
|
5897
|
+
# RFC 5646.
|
5898
|
+
# Corresponds to the JSON property `languageCode`
|
5899
|
+
# @return [String]
|
5900
|
+
attr_accessor :language_code
|
5901
|
+
|
5902
|
+
# A detailed description of this Vex.
|
5903
|
+
# Corresponds to the JSON property `longDescription`
|
5904
|
+
# @return [String]
|
5905
|
+
attr_accessor :long_description
|
5906
|
+
|
5907
|
+
# Product contains information about a product and how to uniquely identify it.
|
5908
|
+
# Corresponds to the JSON property `product`
|
5909
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::Product]
|
5910
|
+
attr_accessor :product
|
5911
|
+
|
5912
|
+
# Publisher contains information about the publisher of this Note.
|
5913
|
+
# Corresponds to the JSON property `publisher`
|
5914
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::Publisher]
|
5915
|
+
attr_accessor :publisher
|
5916
|
+
|
5917
|
+
# A one sentence description of this Vex.
|
5918
|
+
# Corresponds to the JSON property `shortDescription`
|
5919
|
+
# @return [String]
|
5920
|
+
attr_accessor :short_description
|
5921
|
+
|
5922
|
+
# The title of the note. E.g. `Vex-Debian-11.4`
|
5923
|
+
# Corresponds to the JSON property `title`
|
5924
|
+
# @return [String]
|
5925
|
+
attr_accessor :title
|
5926
|
+
|
5927
|
+
def initialize(**args)
|
5928
|
+
update!(**args)
|
5929
|
+
end
|
5930
|
+
|
5931
|
+
# Update properties of this object
|
5932
|
+
def update!(**args)
|
5933
|
+
@assessment = args[:assessment] if args.key?(:assessment)
|
5934
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5935
|
+
@long_description = args[:long_description] if args.key?(:long_description)
|
5936
|
+
@product = args[:product] if args.key?(:product)
|
5937
|
+
@publisher = args[:publisher] if args.key?(:publisher)
|
5938
|
+
@short_description = args[:short_description] if args.key?(:short_description)
|
5939
|
+
@title = args[:title] if args.key?(:title)
|
5940
|
+
end
|
5941
|
+
end
|
5942
|
+
|
5626
5943
|
# The location of the vulnerability.
|
5627
5944
|
class VulnerabilityLocation
|
5628
5945
|
include Google::Apis::Core::Hashable
|
@@ -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.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class Assessment
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Attestation
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -676,12 +682,24 @@ module Google
|
|
676
682
|
include Google::Apis::Core::JsonObjectSupport
|
677
683
|
end
|
678
684
|
|
685
|
+
class Product
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
679
691
|
class ProjectRepoId
|
680
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
693
|
|
682
694
|
include Google::Apis::Core::JsonObjectSupport
|
683
695
|
end
|
684
696
|
|
697
|
+
class Publisher
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
685
703
|
class RelatedUrl
|
686
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
705
|
|
@@ -700,6 +718,12 @@ module Google
|
|
700
718
|
include Google::Apis::Core::JsonObjectSupport
|
701
719
|
end
|
702
720
|
|
721
|
+
class Remediation
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
703
727
|
class RepoId
|
704
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
729
|
|
@@ -760,6 +784,12 @@ module Google
|
|
760
784
|
include Google::Apis::Core::JsonObjectSupport
|
761
785
|
end
|
762
786
|
|
787
|
+
class Threat
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
|
+
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
791
|
+
end
|
792
|
+
|
763
793
|
class TimeSpan
|
764
794
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
795
|
|
@@ -772,6 +802,12 @@ module Google
|
|
772
802
|
include Google::Apis::Core::JsonObjectSupport
|
773
803
|
end
|
774
804
|
|
805
|
+
class VexAssessment
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
|
+
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
809
|
+
end
|
810
|
+
|
775
811
|
class Volume
|
776
812
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
813
|
|
@@ -784,6 +820,12 @@ module Google
|
|
784
820
|
include Google::Apis::Core::JsonObjectSupport
|
785
821
|
end
|
786
822
|
|
823
|
+
class VulnerabilityAssessmentNote
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
787
829
|
class VulnerabilityLocation
|
788
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
831
|
|
@@ -840,6 +882,22 @@ module Google
|
|
840
882
|
end
|
841
883
|
end
|
842
884
|
|
885
|
+
class Assessment
|
886
|
+
# @private
|
887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
888
|
+
property :cve, as: 'cve'
|
889
|
+
property :long_description, as: 'longDescription'
|
890
|
+
collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
|
891
|
+
|
892
|
+
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1beta1::Remediation, decorator: Google::Apis::ContaineranalysisV1beta1::Remediation::Representation
|
893
|
+
|
894
|
+
property :short_description, as: 'shortDescription'
|
895
|
+
property :state, as: 'state'
|
896
|
+
collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1beta1::Threat, decorator: Google::Apis::ContaineranalysisV1beta1::Threat::Representation
|
897
|
+
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
843
901
|
class Attestation
|
844
902
|
# @private
|
845
903
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1767,6 +1825,8 @@ module Google
|
|
1767
1825
|
property :severity, as: 'severity'
|
1768
1826
|
property :short_description, as: 'shortDescription'
|
1769
1827
|
property :type, as: 'type'
|
1828
|
+
property :vex_assessment, as: 'vexAssessment', class: Google::Apis::ContaineranalysisV1beta1::VexAssessment, decorator: Google::Apis::ContaineranalysisV1beta1::VexAssessment::Representation
|
1829
|
+
|
1770
1830
|
end
|
1771
1831
|
end
|
1772
1832
|
|
@@ -1929,6 +1989,8 @@ module Google
|
|
1929
1989
|
property :update_time, as: 'updateTime'
|
1930
1990
|
property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::Vulnerability, decorator: Google::Apis::ContaineranalysisV1beta1::Vulnerability::Representation
|
1931
1991
|
|
1992
|
+
property :vulnerability_assessment, as: 'vulnerabilityAssessment', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityAssessmentNote, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityAssessmentNote::Representation
|
1993
|
+
|
1932
1994
|
end
|
1933
1995
|
end
|
1934
1996
|
|
@@ -2067,6 +2129,15 @@ module Google
|
|
2067
2129
|
end
|
2068
2130
|
end
|
2069
2131
|
|
2132
|
+
class Product
|
2133
|
+
# @private
|
2134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2135
|
+
property :generic_uri, as: 'genericUri'
|
2136
|
+
property :id, as: 'id'
|
2137
|
+
property :name, as: 'name'
|
2138
|
+
end
|
2139
|
+
end
|
2140
|
+
|
2070
2141
|
class ProjectRepoId
|
2071
2142
|
# @private
|
2072
2143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2075,6 +2146,15 @@ module Google
|
|
2075
2146
|
end
|
2076
2147
|
end
|
2077
2148
|
|
2149
|
+
class Publisher
|
2150
|
+
# @private
|
2151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2152
|
+
property :context, as: 'context'
|
2153
|
+
property :issuing_authority, as: 'issuingAuthority'
|
2154
|
+
property :name, as: 'name'
|
2155
|
+
end
|
2156
|
+
end
|
2157
|
+
|
2078
2158
|
class RelatedUrl
|
2079
2159
|
# @private
|
2080
2160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2100,6 +2180,17 @@ module Google
|
|
2100
2180
|
end
|
2101
2181
|
end
|
2102
2182
|
|
2183
|
+
class Remediation
|
2184
|
+
# @private
|
2185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2186
|
+
property :details, as: 'details'
|
2187
|
+
property :remediation_time, as: 'remediationTime'
|
2188
|
+
property :remediation_type, as: 'remediationType'
|
2189
|
+
property :remediation_uri, as: 'remediationUri', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
|
2190
|
+
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
2103
2194
|
class RepoId
|
2104
2195
|
# @private
|
2105
2196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2194,6 +2285,14 @@ module Google
|
|
2194
2285
|
end
|
2195
2286
|
end
|
2196
2287
|
|
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
|
+
|
2197
2296
|
class TimeSpan
|
2198
2297
|
# @private
|
2199
2298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2213,6 +2312,21 @@ module Google
|
|
2213
2312
|
end
|
2214
2313
|
end
|
2215
2314
|
|
2315
|
+
class VexAssessment
|
2316
|
+
# @private
|
2317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2318
|
+
property :cve, as: 'cve'
|
2319
|
+
property :note_name, as: 'noteName'
|
2320
|
+
collection :related_uris, as: 'relatedUris', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
|
2321
|
+
|
2322
|
+
collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1beta1::Remediation, decorator: Google::Apis::ContaineranalysisV1beta1::Remediation::Representation
|
2323
|
+
|
2324
|
+
property :state, as: 'state'
|
2325
|
+
collection :threats, as: 'threats', class: Google::Apis::ContaineranalysisV1beta1::Threat, decorator: Google::Apis::ContaineranalysisV1beta1::Threat::Representation
|
2326
|
+
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2216
2330
|
class Volume
|
2217
2331
|
# @private
|
2218
2332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2240,6 +2354,22 @@ module Google
|
|
2240
2354
|
end
|
2241
2355
|
end
|
2242
2356
|
|
2357
|
+
class VulnerabilityAssessmentNote
|
2358
|
+
# @private
|
2359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2360
|
+
property :assessment, as: 'assessment', class: Google::Apis::ContaineranalysisV1beta1::Assessment, decorator: Google::Apis::ContaineranalysisV1beta1::Assessment::Representation
|
2361
|
+
|
2362
|
+
property :language_code, as: 'languageCode'
|
2363
|
+
property :long_description, as: 'longDescription'
|
2364
|
+
property :product, as: 'product', class: Google::Apis::ContaineranalysisV1beta1::Product, decorator: Google::Apis::ContaineranalysisV1beta1::Product::Representation
|
2365
|
+
|
2366
|
+
property :publisher, as: 'publisher', class: Google::Apis::ContaineranalysisV1beta1::Publisher, decorator: Google::Apis::ContaineranalysisV1beta1::Publisher::Representation
|
2367
|
+
|
2368
|
+
property :short_description, as: 'shortDescription'
|
2369
|
+
property :title, as: 'title'
|
2370
|
+
end
|
2371
|
+
end
|
2372
|
+
|
2243
2373
|
class VulnerabilityLocation
|
2244
2374
|
# @private
|
2245
2375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.32.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:
|
11
|
+
date: 2023-02-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.32.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Container Analysis API V1beta1
|