grafeas-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +11 -0
- data/LICENSE.md +203 -0
- data/README.md +63 -0
- data/lib/grafeas-v1.rb +21 -0
- data/lib/grafeas/v1.rb +31 -0
- data/lib/grafeas/v1/attestation_pb.rb +28 -0
- data/lib/grafeas/v1/build_pb.rb +24 -0
- data/lib/grafeas/v1/common_pb.rb +36 -0
- data/lib/grafeas/v1/cvss_pb.rb +68 -0
- data/lib/grafeas/v1/deployment_pb.rb +36 -0
- data/lib/grafeas/v1/discovery_pb.rb +44 -0
- data/lib/grafeas/v1/grafeas.rb +57 -0
- data/lib/grafeas/v1/grafeas/client.rb +1459 -0
- data/lib/grafeas/v1/grafeas/paths.rb +77 -0
- data/lib/grafeas/v1/grafeas_pb.rb +169 -0
- data/lib/grafeas/v1/grafeas_services_pb.rb +85 -0
- data/lib/grafeas/v1/image_pb.rb +37 -0
- data/lib/grafeas/v1/package_pb.rb +60 -0
- data/lib/grafeas/v1/provenance_pb.rb +117 -0
- data/lib/grafeas/v1/upgrade_pb.rb +57 -0
- data/lib/grafeas/v1/version.rb +24 -0
- data/lib/grafeas/v1/vulnerability_pb.rb +85 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/grafeas/v1/attestation.rb +77 -0
- data/proto_docs/grafeas/v1/build.rb +54 -0
- data/proto_docs/grafeas/v1/common.rb +118 -0
- data/proto_docs/grafeas/v1/cvss.rb +111 -0
- data/proto_docs/grafeas/v1/deployment.rb +74 -0
- data/proto_docs/grafeas/v1/discovery.rb +92 -0
- data/proto_docs/grafeas/v1/grafeas.rb +404 -0
- data/proto_docs/grafeas/v1/image.rb +95 -0
- data/proto_docs/grafeas/v1/package.rb +144 -0
- data/proto_docs/grafeas/v1/provenance.rb +318 -0
- data/proto_docs/grafeas/v1/upgrade.rb +148 -0
- data/proto_docs/grafeas/v1/vulnerability.rb +245 -0
- metadata +225 -0
@@ -0,0 +1,148 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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
|
@@ -0,0 +1,245 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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
|
+
# A security vulnerability that can be found in resources.
|
23
|
+
# @!attribute [rw] cvss_score
|
24
|
+
# @return [::Float]
|
25
|
+
# The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
|
26
|
+
# where 0 indicates low severity and 10 indicates high severity.
|
27
|
+
# @!attribute [rw] severity
|
28
|
+
# @return [::Grafeas::V1::Severity]
|
29
|
+
# The note provider assigned severity of this vulnerability.
|
30
|
+
# @!attribute [rw] details
|
31
|
+
# @return [::Array<::Grafeas::V1::VulnerabilityNote::Detail>]
|
32
|
+
# Details of all known distros and packages affected by this vulnerability.
|
33
|
+
# @!attribute [rw] cvss_v3
|
34
|
+
# @return [::Grafeas::V1::CVSSv3]
|
35
|
+
# The full description of the CVSSv3 for this vulnerability.
|
36
|
+
# @!attribute [rw] windows_details
|
37
|
+
# @return [::Array<::Grafeas::V1::VulnerabilityNote::WindowsDetail>]
|
38
|
+
# Windows details get their own format because the information format and
|
39
|
+
# model don't match a normal detail. Specifically Windows updates are done as
|
40
|
+
# patches, thus Windows vulnerabilities really are a missing package, rather
|
41
|
+
# than a package being at an incorrect version.
|
42
|
+
# @!attribute [rw] source_update_time
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
44
|
+
# The time this information was last changed at the source. This is an
|
45
|
+
# upstream timestamp from the underlying information source - e.g. Ubuntu
|
46
|
+
# security tracker.
|
47
|
+
class VulnerabilityNote
|
48
|
+
include ::Google::Protobuf::MessageExts
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
50
|
+
|
51
|
+
# A detail for a distro and package affected by this vulnerability and its
|
52
|
+
# associated fix (if one is available).
|
53
|
+
# @!attribute [rw] severity_name
|
54
|
+
# @return [::String]
|
55
|
+
# The distro assigned severity of this vulnerability.
|
56
|
+
# @!attribute [rw] description
|
57
|
+
# @return [::String]
|
58
|
+
# A vendor-specific description of this vulnerability.
|
59
|
+
# @!attribute [rw] package_type
|
60
|
+
# @return [::String]
|
61
|
+
# The type of package; whether native or non native (e.g., ruby gems,
|
62
|
+
# node.js packages, etc.).
|
63
|
+
# @!attribute [rw] affected_cpe_uri
|
64
|
+
# @return [::String]
|
65
|
+
# Required. The [CPE URI](https://cpe.mitre.org/specification/) this
|
66
|
+
# vulnerability affects.
|
67
|
+
# @!attribute [rw] affected_package
|
68
|
+
# @return [::String]
|
69
|
+
# Required. The package this vulnerability affects.
|
70
|
+
# @!attribute [rw] affected_version_start
|
71
|
+
# @return [::Grafeas::V1::Version]
|
72
|
+
# The version number at the start of an interval in which this
|
73
|
+
# vulnerability exists. A vulnerability can affect a package between
|
74
|
+
# version numbers that are disjoint sets of intervals (example:
|
75
|
+
# [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be
|
76
|
+
# represented in its own Detail. If a specific affected version is provided
|
77
|
+
# by a vulnerability database, affected_version_start and
|
78
|
+
# affected_version_end will be the same in that Detail.
|
79
|
+
# @!attribute [rw] affected_version_end
|
80
|
+
# @return [::Grafeas::V1::Version]
|
81
|
+
# The version number at the end of an interval in which this vulnerability
|
82
|
+
# exists. A vulnerability can affect a package between version numbers
|
83
|
+
# that are disjoint sets of intervals (example: [1.0.0-1.1.0],
|
84
|
+
# [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its
|
85
|
+
# own Detail. If a specific affected version is provided by a vulnerability
|
86
|
+
# database, affected_version_start and affected_version_end will be the
|
87
|
+
# same in that Detail.
|
88
|
+
# @!attribute [rw] fixed_cpe_uri
|
89
|
+
# @return [::String]
|
90
|
+
# The distro recommended [CPE URI](https://cpe.mitre.org/specification/)
|
91
|
+
# to update to that contains a fix for this vulnerability. It is possible
|
92
|
+
# for this to be different from the affected_cpe_uri.
|
93
|
+
# @!attribute [rw] fixed_package
|
94
|
+
# @return [::String]
|
95
|
+
# The distro recommended package to update to that contains a fix for this
|
96
|
+
# vulnerability. It is possible for this to be different from the
|
97
|
+
# affected_package.
|
98
|
+
# @!attribute [rw] fixed_version
|
99
|
+
# @return [::Grafeas::V1::Version]
|
100
|
+
# The distro recommended version to update to that contains a
|
101
|
+
# fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no
|
102
|
+
# such version is yet available.
|
103
|
+
# @!attribute [rw] is_obsolete
|
104
|
+
# @return [::Boolean]
|
105
|
+
# Whether this detail is obsolete. Occurrences are expected not to point to
|
106
|
+
# obsolete details.
|
107
|
+
# @!attribute [rw] source_update_time
|
108
|
+
# @return [::Google::Protobuf::Timestamp]
|
109
|
+
# The time this information was last changed at the source. This is an
|
110
|
+
# upstream timestamp from the underlying information source - e.g. Ubuntu
|
111
|
+
# security tracker.
|
112
|
+
class Detail
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
117
|
+
# @!attribute [rw] cpe_uri
|
118
|
+
# @return [::String]
|
119
|
+
# Required. The [CPE URI](https://cpe.mitre.org/specification/) this
|
120
|
+
# vulnerability affects.
|
121
|
+
# @!attribute [rw] name
|
122
|
+
# @return [::String]
|
123
|
+
# Required. The name of this vulnerability.
|
124
|
+
# @!attribute [rw] description
|
125
|
+
# @return [::String]
|
126
|
+
# The description of this vulnerability.
|
127
|
+
# @!attribute [rw] fixing_kbs
|
128
|
+
# @return [::Array<::Grafeas::V1::VulnerabilityNote::WindowsDetail::KnowledgeBase>]
|
129
|
+
# Required. The names of the KBs which have hotfixes to mitigate this
|
130
|
+
# vulnerability. Note that there may be multiple hotfixes (and thus
|
131
|
+
# multiple KBs) that mitigate a given vulnerability. Currently any listed
|
132
|
+
# KBs presence is considered a fix.
|
133
|
+
class WindowsDetail
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
|
137
|
+
# @!attribute [rw] name
|
138
|
+
# @return [::String]
|
139
|
+
# The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).
|
140
|
+
# @!attribute [rw] url
|
141
|
+
# @return [::String]
|
142
|
+
# A link to the KB in the [Windows update catalog]
|
143
|
+
# (https://www.catalog.update.microsoft.com/).
|
144
|
+
class KnowledgeBase
|
145
|
+
include ::Google::Protobuf::MessageExts
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# An occurrence of a severity vulnerability on a resource.
|
152
|
+
# @!attribute [rw] type
|
153
|
+
# @return [::String]
|
154
|
+
# The type of package; whether native or non native (e.g., ruby gems, node.js
|
155
|
+
# packages, etc.).
|
156
|
+
# @!attribute [rw] severity
|
157
|
+
# @return [::Grafeas::V1::Severity]
|
158
|
+
# Output only. The note provider assigned severity of this vulnerability.
|
159
|
+
# @!attribute [rw] cvss_score
|
160
|
+
# @return [::Float]
|
161
|
+
# Output only. The CVSS score of this vulnerability. CVSS score is on a
|
162
|
+
# scale of 0 - 10 where 0 indicates low severity and 10 indicates high
|
163
|
+
# severity.
|
164
|
+
# @!attribute [rw] package_issue
|
165
|
+
# @return [::Array<::Grafeas::V1::VulnerabilityOccurrence::PackageIssue>]
|
166
|
+
# Required. The set of affected locations and their fixes (if available)
|
167
|
+
# within the associated resource.
|
168
|
+
# @!attribute [rw] short_description
|
169
|
+
# @return [::String]
|
170
|
+
# Output only. A one sentence description of this vulnerability.
|
171
|
+
# @!attribute [rw] long_description
|
172
|
+
# @return [::String]
|
173
|
+
# Output only. A detailed description of this vulnerability.
|
174
|
+
# @!attribute [rw] related_urls
|
175
|
+
# @return [::Array<::Grafeas::V1::RelatedUrl>]
|
176
|
+
# Output only. URLs related to this vulnerability.
|
177
|
+
# @!attribute [rw] effective_severity
|
178
|
+
# @return [::Grafeas::V1::Severity]
|
179
|
+
# The distro assigned severity for this vulnerability when it is available,
|
180
|
+
# otherwise this is the note provider assigned severity.
|
181
|
+
# @!attribute [rw] fix_available
|
182
|
+
# @return [::Boolean]
|
183
|
+
# Output only. Whether at least one of the affected packages has a fix
|
184
|
+
# available.
|
185
|
+
class VulnerabilityOccurrence
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
|
189
|
+
# A detail for a distro and package this vulnerability occurrence was found
|
190
|
+
# in and its associated fix (if one is available).
|
191
|
+
# @!attribute [rw] affected_cpe_uri
|
192
|
+
# @return [::String]
|
193
|
+
# Required. The [CPE URI](https://cpe.mitre.org/specification/) this
|
194
|
+
# vulnerability was found in.
|
195
|
+
# @!attribute [rw] affected_package
|
196
|
+
# @return [::String]
|
197
|
+
# Required. The package this vulnerability was found in.
|
198
|
+
# @!attribute [rw] affected_version
|
199
|
+
# @return [::Grafeas::V1::Version]
|
200
|
+
# Required. The version of the package that is installed on the resource
|
201
|
+
# affected by this vulnerability.
|
202
|
+
# @!attribute [rw] fixed_cpe_uri
|
203
|
+
# @return [::String]
|
204
|
+
# The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability
|
205
|
+
# was fixed in. It is possible for this to be different from the
|
206
|
+
# affected_cpe_uri.
|
207
|
+
# @!attribute [rw] fixed_package
|
208
|
+
# @return [::String]
|
209
|
+
# The package this vulnerability was fixed in. It is possible for this to
|
210
|
+
# be different from the affected_package.
|
211
|
+
# @!attribute [rw] fixed_version
|
212
|
+
# @return [::Grafeas::V1::Version]
|
213
|
+
# Required. The version of the package this vulnerability was fixed in.
|
214
|
+
# Setting this to VersionKind.MAXIMUM means no fix is yet available.
|
215
|
+
# @!attribute [rw] fix_available
|
216
|
+
# @return [::Boolean]
|
217
|
+
# Output only. Whether a fix is available for this package.
|
218
|
+
class PackageIssue
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# Note provider assigned severity/impact ranking.
|
225
|
+
module Severity
|
226
|
+
# Unknown.
|
227
|
+
SEVERITY_UNSPECIFIED = 0
|
228
|
+
|
229
|
+
# Minimal severity.
|
230
|
+
MINIMAL = 1
|
231
|
+
|
232
|
+
# Low severity.
|
233
|
+
LOW = 2
|
234
|
+
|
235
|
+
# Medium severity.
|
236
|
+
MEDIUM = 3
|
237
|
+
|
238
|
+
# High severity.
|
239
|
+
HIGH = 4
|
240
|
+
|
241
|
+
# Critical severity.
|
242
|
+
CRITICAL = 5
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
metadata
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: grafeas-v1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gapic-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: google-cloud-errors
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: google-style
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.24.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.24.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.14'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '12.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '12.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: redcarpet
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.18'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.18'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.9'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.9'
|
153
|
+
description: The Grafeas API stores, and enables querying and retrieval of, critical
|
154
|
+
metadata about all of your software artifacts.
|
155
|
+
email: googleapis-packages@google.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".yardopts"
|
161
|
+
- LICENSE.md
|
162
|
+
- README.md
|
163
|
+
- lib/grafeas-v1.rb
|
164
|
+
- lib/grafeas/v1.rb
|
165
|
+
- lib/grafeas/v1/attestation_pb.rb
|
166
|
+
- lib/grafeas/v1/build_pb.rb
|
167
|
+
- lib/grafeas/v1/common_pb.rb
|
168
|
+
- lib/grafeas/v1/cvss_pb.rb
|
169
|
+
- lib/grafeas/v1/deployment_pb.rb
|
170
|
+
- lib/grafeas/v1/discovery_pb.rb
|
171
|
+
- lib/grafeas/v1/grafeas.rb
|
172
|
+
- lib/grafeas/v1/grafeas/client.rb
|
173
|
+
- lib/grafeas/v1/grafeas/paths.rb
|
174
|
+
- lib/grafeas/v1/grafeas_pb.rb
|
175
|
+
- lib/grafeas/v1/grafeas_services_pb.rb
|
176
|
+
- lib/grafeas/v1/image_pb.rb
|
177
|
+
- lib/grafeas/v1/package_pb.rb
|
178
|
+
- lib/grafeas/v1/provenance_pb.rb
|
179
|
+
- lib/grafeas/v1/upgrade_pb.rb
|
180
|
+
- lib/grafeas/v1/version.rb
|
181
|
+
- lib/grafeas/v1/vulnerability_pb.rb
|
182
|
+
- proto_docs/README.md
|
183
|
+
- proto_docs/google/api/field_behavior.rb
|
184
|
+
- proto_docs/google/api/resource.rb
|
185
|
+
- proto_docs/google/protobuf/any.rb
|
186
|
+
- proto_docs/google/protobuf/empty.rb
|
187
|
+
- proto_docs/google/protobuf/field_mask.rb
|
188
|
+
- proto_docs/google/protobuf/timestamp.rb
|
189
|
+
- proto_docs/google/rpc/status.rb
|
190
|
+
- proto_docs/grafeas/v1/attestation.rb
|
191
|
+
- proto_docs/grafeas/v1/build.rb
|
192
|
+
- proto_docs/grafeas/v1/common.rb
|
193
|
+
- proto_docs/grafeas/v1/cvss.rb
|
194
|
+
- proto_docs/grafeas/v1/deployment.rb
|
195
|
+
- proto_docs/grafeas/v1/discovery.rb
|
196
|
+
- proto_docs/grafeas/v1/grafeas.rb
|
197
|
+
- proto_docs/grafeas/v1/image.rb
|
198
|
+
- proto_docs/grafeas/v1/package.rb
|
199
|
+
- proto_docs/grafeas/v1/provenance.rb
|
200
|
+
- proto_docs/grafeas/v1/upgrade.rb
|
201
|
+
- proto_docs/grafeas/v1/vulnerability.rb
|
202
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
203
|
+
licenses:
|
204
|
+
- Apache-2.0
|
205
|
+
metadata: {}
|
206
|
+
post_install_message:
|
207
|
+
rdoc_options: []
|
208
|
+
require_paths:
|
209
|
+
- lib
|
210
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '2.4'
|
215
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
requirements: []
|
221
|
+
rubygems_version: 3.1.3
|
222
|
+
signing_key:
|
223
|
+
specification_version: 4
|
224
|
+
summary: API Client library for the Grafeas V1 API
|
225
|
+
test_files: []
|