google-cloud-os_config-v1alpha 0.1.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/client.rb +529 -43
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/operations.rb +115 -12
- data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/paths.rb +42 -0
- data/lib/google/cloud/os_config/v1alpha/version.rb +1 -1
- data/lib/google/cloud/osconfig/v1alpha/config_common_pb.rb +1 -0
- data/lib/google/cloud/osconfig/v1alpha/instance_os_policies_compliance_pb.rb +3 -2
- data/lib/google/cloud/osconfig/v1alpha/inventory_pb.rb +13 -2
- data/lib/google/cloud/osconfig/v1alpha/os_policy_assignment_reports_pb.rb +93 -0
- data/lib/google/cloud/osconfig/v1alpha/os_policy_assignments_pb.rb +10 -2
- data/lib/google/cloud/osconfig/v1alpha/os_policy_pb.rb +8 -1
- data/lib/google/cloud/osconfig/v1alpha/osconfig_common_pb.rb +1 -0
- data/lib/google/cloud/osconfig/v1alpha/osconfig_zonal_service_pb.rb +3 -2
- data/lib/google/cloud/osconfig/v1alpha/osconfig_zonal_service_services_pb.rb +7 -1
- data/lib/google/cloud/osconfig/v1alpha/vulnerability_pb.rb +12 -2
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/osconfig/v1alpha/inventory.rb +30 -4
- data/proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb +44 -11
- data/proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb +293 -0
- data/proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignments.rb +33 -5
- data/proto_docs/google/cloud/osconfig/v1alpha/vulnerability.rb +38 -5
- data/proto_docs/google/type/date.rb +53 -0
- metadata +6 -3
@@ -37,8 +37,8 @@ module Google
|
|
37
37
|
# Output only. List of vulnerabilities affecting the VM.
|
38
38
|
# @!attribute [r] update_time
|
39
39
|
# @return [::Google::Protobuf::Timestamp]
|
40
|
-
# Output only. The timestamp for when the last vulnerability report was
|
41
|
-
#
|
40
|
+
# Output only. The timestamp for when the last vulnerability report was generated for the
|
41
|
+
# VM.
|
42
42
|
class VulnerabilityReport
|
43
43
|
include ::Google::Protobuf::MessageExts
|
44
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -69,6 +69,9 @@ module Google
|
|
69
69
|
# @!attribute [rw] update_time
|
70
70
|
# @return [::Google::Protobuf::Timestamp]
|
71
71
|
# The timestamp for when the vulnerability was last modified.
|
72
|
+
# @!attribute [rw] items
|
73
|
+
# @return [::Array<::Google::Cloud::OsConfig::V1alpha::VulnerabilityReport::Vulnerability::Item>]
|
74
|
+
# List of items affected by the vulnerability.
|
72
75
|
class Vulnerability
|
73
76
|
include ::Google::Protobuf::MessageExts
|
74
77
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -104,11 +107,43 @@ module Google
|
|
104
107
|
# @!attribute [rw] url
|
105
108
|
# @return [::String]
|
106
109
|
# The url of the reference.
|
110
|
+
# @!attribute [rw] source
|
111
|
+
# @return [::String]
|
112
|
+
# The source of the reference e.g. NVD.
|
107
113
|
class Reference
|
108
114
|
include ::Google::Protobuf::MessageExts
|
109
115
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
116
|
end
|
111
117
|
end
|
118
|
+
|
119
|
+
# OS inventory item that is affected by a vulnerability or fixed as a
|
120
|
+
# result of a vulnerability.
|
121
|
+
# @!attribute [rw] installed_inventory_item_id
|
122
|
+
# @return [::String]
|
123
|
+
# Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
124
|
+
# This field displays the inventory items affected by this vulnerability.
|
125
|
+
# If the vulnerability report was not updated after the VM inventory
|
126
|
+
# update, these values might not display in VM inventory. For some
|
127
|
+
# operating systems, this field might be empty.
|
128
|
+
# @!attribute [rw] available_inventory_item_id
|
129
|
+
# @return [::String]
|
130
|
+
# Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
131
|
+
# If the vulnerability report was not updated after the VM inventory
|
132
|
+
# update, these values might not display in VM inventory. If there is no
|
133
|
+
# available fix, the field is empty. The `inventory_item` value specifies
|
134
|
+
# the latest `SoftwarePackage` available to the VM that fixes the
|
135
|
+
# vulnerability.
|
136
|
+
# @!attribute [rw] fixed_cpe_uri
|
137
|
+
# @return [::String]
|
138
|
+
# The recommended [CPE URI](https://cpe.mitre.org/specification/) update
|
139
|
+
# that contains a fix for this vulnerability.
|
140
|
+
# @!attribute [rw] upstream_fix
|
141
|
+
# @return [::String]
|
142
|
+
# The upstream OS patch, packages or KB that fixes the vulnerability.
|
143
|
+
class Item
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
112
147
|
end
|
113
148
|
end
|
114
149
|
|
@@ -134,11 +169,9 @@ module Google
|
|
134
169
|
# @return [::String]
|
135
170
|
# Required. The parent resource name.
|
136
171
|
#
|
137
|
-
# Format: `projects/{project}/locations/{location}/instances
|
172
|
+
# Format: `projects/{project}/locations/{location}/instances/-`
|
138
173
|
#
|
139
174
|
# For `{project}`, either `project-number` or `project-id` can be provided.
|
140
|
-
# For `{instance}`, only `-` character is supported to list vulnerability
|
141
|
-
# reports across VMs.
|
142
175
|
# @!attribute [rw] page_size
|
143
176
|
# @return [::Integer]
|
144
177
|
# The maximum number of results to return.
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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 Google
|
21
|
+
module Type
|
22
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
23
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
25
|
+
# following:
|
26
|
+
#
|
27
|
+
# * A full date, with non-zero year, month, and day values
|
28
|
+
# * A month and day value, with a zero year, such as an anniversary
|
29
|
+
# * A year on its own, with zero month and day values
|
30
|
+
# * A year and month value, with a zero day, such as a credit card expiration
|
31
|
+
# date
|
32
|
+
#
|
33
|
+
# Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
34
|
+
# `google.protobuf.Timestamp`.
|
35
|
+
# @!attribute [rw] year
|
36
|
+
# @return [::Integer]
|
37
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
38
|
+
# a year.
|
39
|
+
# @!attribute [rw] month
|
40
|
+
# @return [::Integer]
|
41
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a
|
42
|
+
# month and day.
|
43
|
+
# @!attribute [rw] day
|
44
|
+
# @return [::Integer]
|
45
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
|
46
|
+
# to specify a year by itself or a year and month where the day isn't
|
47
|
+
# significant.
|
48
|
+
class Date
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_config-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- lib/google/cloud/osconfig/v1alpha/config_common_pb.rb
|
182
182
|
- lib/google/cloud/osconfig/v1alpha/instance_os_policies_compliance_pb.rb
|
183
183
|
- lib/google/cloud/osconfig/v1alpha/inventory_pb.rb
|
184
|
+
- lib/google/cloud/osconfig/v1alpha/os_policy_assignment_reports_pb.rb
|
184
185
|
- lib/google/cloud/osconfig/v1alpha/os_policy_assignments_pb.rb
|
185
186
|
- lib/google/cloud/osconfig/v1alpha/os_policy_pb.rb
|
186
187
|
- lib/google/cloud/osconfig/v1alpha/osconfig_common_pb.rb
|
@@ -194,6 +195,7 @@ files:
|
|
194
195
|
- proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb
|
195
196
|
- proto_docs/google/cloud/osconfig/v1alpha/inventory.rb
|
196
197
|
- proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb
|
198
|
+
- proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb
|
197
199
|
- proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignments.rb
|
198
200
|
- proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb
|
199
201
|
- proto_docs/google/cloud/osconfig/v1alpha/vulnerability.rb
|
@@ -204,6 +206,7 @@ files:
|
|
204
206
|
- proto_docs/google/protobuf/field_mask.rb
|
205
207
|
- proto_docs/google/protobuf/timestamp.rb
|
206
208
|
- proto_docs/google/rpc/status.rb
|
209
|
+
- proto_docs/google/type/date.rb
|
207
210
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
208
211
|
licenses:
|
209
212
|
- Apache-2.0
|
@@ -223,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
226
|
- !ruby/object:Gem::Version
|
224
227
|
version: '0'
|
225
228
|
requirements: []
|
226
|
-
rubygems_version: 3.
|
229
|
+
rubygems_version: 3.3.5
|
227
230
|
signing_key:
|
228
231
|
specification_version: 4
|
229
232
|
summary: API Client library for the Cloud OS Config V1alpha API
|