google-cloud-container_analysis-v1 0.4.6 → 0.4.7
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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/container_analysis/v1/container_analysis/client.rb +1 -1
- data/lib/google/cloud/container_analysis/v1/version.rb +1 -1
- data/lib/google/devtools/containeranalysis/v1/containeranalysis_pb.rb +3 -1
- data/proto_docs/google/devtools/containeranalysis/v1/containeranalysis.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/grafeas/v1/attestation.rb +98 -0
- data/proto_docs/grafeas/v1/build.rb +64 -0
- data/proto_docs/grafeas/v1/compliance.rb +98 -0
- data/proto_docs/grafeas/v1/cvss.rb +105 -0
- data/proto_docs/grafeas/v1/deployment.rb +74 -0
- data/proto_docs/grafeas/v1/discovery.rb +95 -0
- data/proto_docs/grafeas/v1/dsse_attestation.rb +59 -0
- data/proto_docs/grafeas/v1/grafeas.rb +419 -0
- data/proto_docs/grafeas/v1/image.rb +95 -0
- data/proto_docs/grafeas/v1/intoto_provenance.rb +134 -0
- data/proto_docs/grafeas/v1/intoto_statement.rb +65 -0
- data/proto_docs/grafeas/v1/provenance.rb +318 -0
- data/proto_docs/grafeas/v1/severity.rb +43 -0
- data/proto_docs/grafeas/v1/slsa_provenance.rb +152 -0
- data/proto_docs/grafeas/v1/upgrade.rb +148 -0
- data/proto_docs/grafeas/v1/vulnerability.rb +1 -35
- metadata +25 -7
@@ -0,0 +1,148 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Grafeas
|
21
|
+
module V1
|
22
|
+
# An Upgrade Note represents a potential upgrade of a package to a given
|
23
|
+
# version. For each package version combination (i.e. bash 4.0, bash 4.1,
|
24
|
+
# bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field
|
25
|
+
# represents the information related to the update.
|
26
|
+
# @!attribute [rw] package
|
27
|
+
# @return [::String]
|
28
|
+
# Required for non-Windows OS. The package this Upgrade is for.
|
29
|
+
# @!attribute [rw] version
|
30
|
+
# @return [::Grafeas::V1::Version]
|
31
|
+
# Required for non-Windows OS. The version of the package in machine + human
|
32
|
+
# readable form.
|
33
|
+
# @!attribute [rw] distributions
|
34
|
+
# @return [::Array<::Grafeas::V1::UpgradeDistribution>]
|
35
|
+
# Metadata about the upgrade for each specific operating system.
|
36
|
+
# @!attribute [rw] windows_update
|
37
|
+
# @return [::Grafeas::V1::WindowsUpdate]
|
38
|
+
# Required for Windows OS. Represents the metadata about the Windows update.
|
39
|
+
class UpgradeNote
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
|
44
|
+
# The Upgrade Distribution represents metadata about the Upgrade for each
|
45
|
+
# operating system (CPE). Some distributions have additional metadata around
|
46
|
+
# updates, classifying them into various categories and severities.
|
47
|
+
# @!attribute [rw] cpe_uri
|
48
|
+
# @return [::String]
|
49
|
+
# Required - The specific operating system this metadata applies to. See
|
50
|
+
# https://cpe.mitre.org/specification/.
|
51
|
+
# @!attribute [rw] classification
|
52
|
+
# @return [::String]
|
53
|
+
# The operating system classification of this Upgrade, as specified by the
|
54
|
+
# upstream operating system upgrade feed. For Windows the classification is
|
55
|
+
# one of the category_ids listed at
|
56
|
+
# https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
|
57
|
+
# @!attribute [rw] severity
|
58
|
+
# @return [::String]
|
59
|
+
# The severity as specified by the upstream operating system.
|
60
|
+
# @!attribute [rw] cve
|
61
|
+
# @return [::Array<::String>]
|
62
|
+
# The cve tied to this Upgrade.
|
63
|
+
class UpgradeDistribution
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
67
|
+
|
68
|
+
# Windows Update represents the metadata about the update for the Windows
|
69
|
+
# operating system. The fields in this message come from the Windows Update API
|
70
|
+
# documented at
|
71
|
+
# https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.
|
72
|
+
# @!attribute [rw] identity
|
73
|
+
# @return [::Grafeas::V1::WindowsUpdate::Identity]
|
74
|
+
# Required - The unique identifier for the update.
|
75
|
+
# @!attribute [rw] title
|
76
|
+
# @return [::String]
|
77
|
+
# The localized title of the update.
|
78
|
+
# @!attribute [rw] description
|
79
|
+
# @return [::String]
|
80
|
+
# The localized description of the update.
|
81
|
+
# @!attribute [rw] categories
|
82
|
+
# @return [::Array<::Grafeas::V1::WindowsUpdate::Category>]
|
83
|
+
# The list of categories to which the update belongs.
|
84
|
+
# @!attribute [rw] kb_article_ids
|
85
|
+
# @return [::Array<::String>]
|
86
|
+
# The Microsoft Knowledge Base article IDs that are associated with the
|
87
|
+
# update.
|
88
|
+
# @!attribute [rw] support_url
|
89
|
+
# @return [::String]
|
90
|
+
# The hyperlink to the support information for the update.
|
91
|
+
# @!attribute [rw] last_published_timestamp
|
92
|
+
# @return [::Google::Protobuf::Timestamp]
|
93
|
+
# The last published timestamp of the update.
|
94
|
+
class WindowsUpdate
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
|
98
|
+
# The unique identifier of the update.
|
99
|
+
# @!attribute [rw] update_id
|
100
|
+
# @return [::String]
|
101
|
+
# The revision independent identifier of the update.
|
102
|
+
# @!attribute [rw] revision
|
103
|
+
# @return [::Integer]
|
104
|
+
# The revision number of the update.
|
105
|
+
class Identity
|
106
|
+
include ::Google::Protobuf::MessageExts
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
|
+
end
|
109
|
+
|
110
|
+
# The category to which the update belongs.
|
111
|
+
# @!attribute [rw] category_id
|
112
|
+
# @return [::String]
|
113
|
+
# The identifier of the category.
|
114
|
+
# @!attribute [rw] name
|
115
|
+
# @return [::String]
|
116
|
+
# The localized name of the category.
|
117
|
+
class Category
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# An Upgrade Occurrence represents that a specific resource_url could install a
|
124
|
+
# specific upgrade. This presence is supplied via local sources (i.e. it is
|
125
|
+
# present in the mirror and the running system has noticed its availability).
|
126
|
+
# For Windows, both distribution and windows_update contain information for the
|
127
|
+
# Windows update.
|
128
|
+
# @!attribute [rw] package
|
129
|
+
# @return [::String]
|
130
|
+
# Required for non-Windows OS. The package this Upgrade is for.
|
131
|
+
# @!attribute [rw] parsed_version
|
132
|
+
# @return [::Grafeas::V1::Version]
|
133
|
+
# Required for non-Windows OS. The version of the package in a machine +
|
134
|
+
# human readable form.
|
135
|
+
# @!attribute [rw] distribution
|
136
|
+
# @return [::Grafeas::V1::UpgradeDistribution]
|
137
|
+
# Metadata about the upgrade for available for the specific operating system
|
138
|
+
# for the resource_url. This allows efficient filtering, as well as
|
139
|
+
# making it easier to use the occurrence.
|
140
|
+
# @!attribute [rw] windows_update
|
141
|
+
# @return [::Grafeas::V1::WindowsUpdate]
|
142
|
+
# Required for Windows OS. Represents the metadata about the Windows update.
|
143
|
+
class UpgradeOccurrence
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
@@ -168,7 +168,7 @@ module Grafeas
|
|
168
168
|
# scale of 0 - 10 where 0 indicates low severity and 10 indicates high
|
169
169
|
# severity.
|
170
170
|
# @!attribute [rw] cvssv3
|
171
|
-
# @return [::Grafeas::V1::
|
171
|
+
# @return [::Grafeas::V1::CVSS]
|
172
172
|
# The cvss v3 score for the vulnerability.
|
173
173
|
# @!attribute [rw] package_issue
|
174
174
|
# @return [::Array<::Grafeas::V1::VulnerabilityOccurrence::PackageIssue>]
|
@@ -203,19 +203,6 @@ module Grafeas
|
|
203
203
|
include ::Google::Protobuf::MessageExts
|
204
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
205
|
|
206
|
-
# The CVSS v3 score for this vulnerability.
|
207
|
-
# @!attribute [rw] base_score
|
208
|
-
# @return [::Float]
|
209
|
-
# The base score for for this vulnerability according to cvss v3.
|
210
|
-
# @!attribute [rw] severity
|
211
|
-
# @return [::Grafeas::V1::Severity]
|
212
|
-
# The severity rating assigned to this vulnerability by vulnerability
|
213
|
-
# provider.
|
214
|
-
class CVSSV3
|
215
|
-
include ::Google::Protobuf::MessageExts
|
216
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
217
|
-
end
|
218
|
-
|
219
206
|
# A detail for a distro and package this vulnerability occurrence was found
|
220
207
|
# in and its associated fix (if one is available).
|
221
208
|
# @!attribute [rw] affected_cpe_uri
|
@@ -258,26 +245,5 @@ module Grafeas
|
|
258
245
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
259
246
|
end
|
260
247
|
end
|
261
|
-
|
262
|
-
# Note provider assigned severity/impact ranking.
|
263
|
-
module Severity
|
264
|
-
# Unknown.
|
265
|
-
SEVERITY_UNSPECIFIED = 0
|
266
|
-
|
267
|
-
# Minimal severity.
|
268
|
-
MINIMAL = 1
|
269
|
-
|
270
|
-
# Low severity.
|
271
|
-
LOW = 2
|
272
|
-
|
273
|
-
# Medium severity.
|
274
|
-
MEDIUM = 3
|
275
|
-
|
276
|
-
# High severity.
|
277
|
-
HIGH = 4
|
278
|
-
|
279
|
-
# Critical severity.
|
280
|
-
CRITICAL = 5
|
281
|
-
end
|
282
248
|
end
|
283
249
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container_analysis-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -48,9 +48,9 @@ dependencies:
|
|
48
48
|
name: grafeas-v1
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -58,9 +58,9 @@ dependencies:
|
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -227,11 +227,29 @@ files:
|
|
227
227
|
- proto_docs/google/iam/v1/iam_policy.rb
|
228
228
|
- proto_docs/google/iam/v1/options.rb
|
229
229
|
- proto_docs/google/iam/v1/policy.rb
|
230
|
+
- proto_docs/google/protobuf/any.rb
|
231
|
+
- proto_docs/google/protobuf/empty.rb
|
232
|
+
- proto_docs/google/protobuf/field_mask.rb
|
230
233
|
- proto_docs/google/protobuf/timestamp.rb
|
234
|
+
- proto_docs/google/rpc/status.rb
|
231
235
|
- proto_docs/google/type/expr.rb
|
236
|
+
- proto_docs/grafeas/v1/attestation.rb
|
237
|
+
- proto_docs/grafeas/v1/build.rb
|
232
238
|
- proto_docs/grafeas/v1/common.rb
|
239
|
+
- proto_docs/grafeas/v1/compliance.rb
|
233
240
|
- proto_docs/grafeas/v1/cvss.rb
|
241
|
+
- proto_docs/grafeas/v1/deployment.rb
|
242
|
+
- proto_docs/grafeas/v1/discovery.rb
|
243
|
+
- proto_docs/grafeas/v1/dsse_attestation.rb
|
244
|
+
- proto_docs/grafeas/v1/grafeas.rb
|
245
|
+
- proto_docs/grafeas/v1/image.rb
|
246
|
+
- proto_docs/grafeas/v1/intoto_provenance.rb
|
247
|
+
- proto_docs/grafeas/v1/intoto_statement.rb
|
234
248
|
- proto_docs/grafeas/v1/package.rb
|
249
|
+
- proto_docs/grafeas/v1/provenance.rb
|
250
|
+
- proto_docs/grafeas/v1/severity.rb
|
251
|
+
- proto_docs/grafeas/v1/slsa_provenance.rb
|
252
|
+
- proto_docs/grafeas/v1/upgrade.rb
|
235
253
|
- proto_docs/grafeas/v1/vulnerability.rb
|
236
254
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
237
255
|
licenses:
|
@@ -252,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
270
|
- !ruby/object:Gem::Version
|
253
271
|
version: '0'
|
254
272
|
requirements: []
|
255
|
-
rubygems_version: 3.3.
|
273
|
+
rubygems_version: 3.3.5
|
256
274
|
signing_key:
|
257
275
|
specification_version: 4
|
258
276
|
summary: API Client library for the Container Analysis V1 API
|