Debian Codegraph @

securitycenter/apiv1/securitycenterpb/resource_value_config.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1/resource_value_config.proto
20
21 package securitycenterpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Value enum to map to a resource
40 type ResourceValue int32
41
42 const (
43 // Unspecific value
44 ResourceValue_RESOURCE_VALUE_UNSPECIFIED ResourceValue = 0
45 // High resource value
46 ResourceValue_HIGH ResourceValue = 1
47 // Medium resource value
48 ResourceValue_MEDIUM ResourceValue = 2
49 // Low resource value
50 ResourceValue_LOW ResourceValue = 3
51 // No resource value, e.g. ignore these resources
52 ResourceValue_NONE ResourceValue = 4
53 )
54
55 // Enum value maps for ResourceValue.
56 var (
57 ResourceValue_name = map[int32]string{
58 0: "RESOURCE_VALUE_UNSPECIFIED",
59 1: "HIGH",
60 2: "MEDIUM",
61 3: "LOW",
62 4: "NONE",
63 }
64 ResourceValue_value = map[string]int32{
65 "RESOURCE_VALUE_UNSPECIFIED": 0,
66 "HIGH": 1,
67 "MEDIUM": 2,
68 "LOW": 3,
69 "NONE": 4,
70 }
71 )
72
73 func (x ResourceValue) Enum() *ResourceValue {
74 p := new(ResourceValue)
75 *p = x
76 return p
77 }
78
79 func (x ResourceValue) String() string {
80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
81 }
82
83 func (ResourceValue) Descriptor() protoreflect.EnumDescriptor {
84 return file_google_cloud_securitycenter_v1_resource_value_config_proto_enumTypes[0].Descriptor()
85 }
86
87 func (ResourceValue) Type() protoreflect.EnumType {
88 return &file_google_cloud_securitycenter_v1_resource_value_config_proto_enumTypes[0]
89 }
90
91 func (x ResourceValue) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93 }
94
95 // Deprecated: Use ResourceValue.Descriptor instead.
96 func (ResourceValue) EnumDescriptor() ([]byte, []int) {
97 return file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescGZIP(), []int{0}
98 }
99
100 // A resource value configuration (RVC) is a mapping configuration of user's
101 // resources to resource values. Used in Attack path simulations.
102 type ResourceValueConfig struct {
103 state protoimpl.MessageState
104 sizeCache protoimpl.SizeCache
105 unknownFields protoimpl.UnknownFields
106
107 // Name for the resource value configuration
108 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
109 // Required. Resource value level this expression represents
110 ResourceValue ResourceValue `protobuf:"varint,2,opt,name=resource_value,json=resourceValue,proto3,enum=google.cloud.securitycenter.v1.ResourceValue" json:"resource_value,omitempty"`
111 // Required. Tag values combined with `AND` to check against.
112 // Values in the form "tagValues/123"
113 // Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
114 // https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
115 TagValues []string `protobuf:"bytes,3,rep,name=tag_values,json=tagValues,proto3" json:"tag_values,omitempty"`
116 // Apply resource_value only to resources that match resource_type.
117 // resource_type will be checked with `AND` of other resources.
118 // For example, "storage.googleapis.com/Bucket" with resource_value "HIGH"
119 // will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
120 ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
121 // Project or folder to scope this configuration to.
122 // For example, "project/456" would apply this configuration only to resources
123 // in "project/456" scope will be checked with `AND` of other
124 // resources.
125 Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
126 // List of resource labels to search for, evaluated with `AND`.
127 // For example, `"resource_labels_selector": {"key": "value", "env": "prod"}`
128 // will match resources with labels "key": "value" `AND` "env":
129 // "prod"
130 // https://cloud.google.com/resource-manager/docs/creating-managing-labels
131 ResourceLabelsSelector map[string]string `protobuf:"bytes,6,rep,name=resource_labels_selector,json=resourceLabelsSelector,proto3" json:"resource_labels_selector,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
132 // Description of the resource value configuration.
133 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
134 // Output only. Timestamp this resource value configuration was created.
135 CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
136 // Output only. Timestamp this resource value configuration was last updated.
137 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
138 // Cloud provider this configuration applies to
139 CloudProvider CloudProvider `protobuf:"varint,10,opt,name=cloud_provider,json=cloudProvider,proto3,enum=google.cloud.securitycenter.v1.CloudProvider" json:"cloud_provider,omitempty"`
140 // A mapping of the sensitivity on Sensitive Data Protection finding to
141 // resource values. This mapping can only be used in combination with a
142 // resource_type that is related to BigQuery, e.g.
143 // "bigquery.googleapis.com/Dataset".
144 SensitiveDataProtectionMapping *ResourceValueConfig_SensitiveDataProtectionMapping `protobuf:"bytes,11,opt,name=sensitive_data_protection_mapping,json=sensitiveDataProtectionMapping,proto3" json:"sensitive_data_protection_mapping,omitempty"`
145 }
146
147 func (x *ResourceValueConfig) Reset() {
148 *x = ResourceValueConfig{}
149 mi := &file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes[0]
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 ms.StoreMessageInfo(mi)
152 }
153
154 func (x *ResourceValueConfig) String() string {
155 return protoimpl.X.MessageStringOf(x)
156 }
157
158 func (*ResourceValueConfig) ProtoMessage() {}
159
160 func (x *ResourceValueConfig) ProtoReflect() protoreflect.Message {
161 mi := &file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes[0]
162 if x != nil {
163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
164 if ms.LoadMessageInfo() == nil {
165 ms.StoreMessageInfo(mi)
166 }
167 return ms
168 }
169 return mi.MessageOf(x)
170 }
171
172 // Deprecated: Use ResourceValueConfig.ProtoReflect.Descriptor instead.
173 func (*ResourceValueConfig) Descriptor() ([]byte, []int) {
174 return file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescGZIP(), []int{0}
175 }
176
177 func (x *ResourceValueConfig) GetName() string {
178 if x != nil {
179 return x.Name
180 }
181 return ""
182 }
183
184 func (x *ResourceValueConfig) GetResourceValue() ResourceValue {
185 if x != nil {
186 return x.ResourceValue
187 }
188 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
189 }
190
191 func (x *ResourceValueConfig) GetTagValues() []string {
192 if x != nil {
193 return x.TagValues
194 }
195 return nil
196 }
197
198 func (x *ResourceValueConfig) GetResourceType() string {
199 if x != nil {
200 return x.ResourceType
201 }
202 return ""
203 }
204
205 func (x *ResourceValueConfig) GetScope() string {
206 if x != nil {
207 return x.Scope
208 }
209 return ""
210 }
211
212 func (x *ResourceValueConfig) GetResourceLabelsSelector() map[string]string {
213 if x != nil {
214 return x.ResourceLabelsSelector
215 }
216 return nil
217 }
218
219 func (x *ResourceValueConfig) GetDescription() string {
220 if x != nil {
221 return x.Description
222 }
223 return ""
224 }
225
226 func (x *ResourceValueConfig) GetCreateTime() *timestamppb.Timestamp {
227 if x != nil {
228 return x.CreateTime
229 }
230 return nil
231 }
232
233 func (x *ResourceValueConfig) GetUpdateTime() *timestamppb.Timestamp {
234 if x != nil {
235 return x.UpdateTime
236 }
237 return nil
238 }
239
240 func (x *ResourceValueConfig) GetCloudProvider() CloudProvider {
241 if x != nil {
242 return x.CloudProvider
243 }
244 return CloudProvider_CLOUD_PROVIDER_UNSPECIFIED
245 }
246
247 func (x *ResourceValueConfig) GetSensitiveDataProtectionMapping() *ResourceValueConfig_SensitiveDataProtectionMapping {
248 if x != nil {
249 return x.SensitiveDataProtectionMapping
250 }
251 return nil
252 }
253
254 // Resource value mapping for Sensitive Data Protection findings.
255 // If any of these mappings have a resource value that is not unspecified,
256 // the resource_value field will be ignored when reading this configuration.
257 type ResourceValueConfig_SensitiveDataProtectionMapping struct {
258 state protoimpl.MessageState
259 sizeCache protoimpl.SizeCache
260 unknownFields protoimpl.UnknownFields
261
262 // Resource value mapping for high-sensitivity Sensitive Data Protection
263 // findings
264 HighSensitivityMapping ResourceValue `protobuf:"varint,1,opt,name=high_sensitivity_mapping,json=highSensitivityMapping,proto3,enum=google.cloud.securitycenter.v1.ResourceValue" json:"high_sensitivity_mapping,omitempty"`
265 // Resource value mapping for medium-sensitivity Sensitive Data Protection
266 // findings
267 MediumSensitivityMapping ResourceValue `protobuf:"varint,2,opt,name=medium_sensitivity_mapping,json=mediumSensitivityMapping,proto3,enum=google.cloud.securitycenter.v1.ResourceValue" json:"medium_sensitivity_mapping,omitempty"`
268 }
269
270 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) Reset() {
271 *x = ResourceValueConfig_SensitiveDataProtectionMapping{}
272 mi := &file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes[1]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*ResourceValueConfig_SensitiveDataProtectionMapping) ProtoMessage() {}
282
283 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) ProtoReflect() protoreflect.Message {
284 mi := &file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes[1]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use ResourceValueConfig_SensitiveDataProtectionMapping.ProtoReflect.Descriptor instead.
296 func (*ResourceValueConfig_SensitiveDataProtectionMapping) Descriptor() ([]byte, []int) {
297 return file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescGZIP(), []int{0, 0}
298 }
299
300 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) GetHighSensitivityMapping() ResourceValue {
301 if x != nil {
302 return x.HighSensitivityMapping
303 }
304 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
305 }
306
307 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) GetMediumSensitivityMapping() ResourceValue {
308 if x != nil {
309 return x.MediumSensitivityMapping
310 }
311 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
312 }
313
314 var File_google_cloud_securitycenter_v1_resource_value_config_proto protoreflect.FileDescriptor
315
316 var file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDesc = []byte{
317 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
318 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
319 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
320 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
321 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
322 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
323 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
324 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
325 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
326 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
327 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
328 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
329 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
330 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
331 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x09, 0x0a, 0x13, 0x52, 0x65, 0x73,
332 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
333 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
334 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
335 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67,
336 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
337 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
338 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
339 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
340 0x22, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20,
341 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c,
342 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
343 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f,
344 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70,
345 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x89,
346 0x01, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65,
347 0x6c, 0x73, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28,
348 0x0b, 0x32, 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
349 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
350 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
351 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c,
352 0x61, 0x62, 0x65, 0x6c, 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74,
353 0x72, 0x79, 0x52, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65,
354 0x6c, 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
355 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
356 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b,
357 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
358 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
359 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
360 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40,
361 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20,
362 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
363 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
364 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
365 0x12, 0x54, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
366 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
367 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
368 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50,
369 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72,
370 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x9d, 0x01, 0x0a, 0x21, 0x73, 0x65, 0x6e, 0x73, 0x69,
371 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63,
372 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01,
373 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
374 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
375 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75,
376 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
377 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
378 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x1e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
379 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
380 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0xf6, 0x01, 0x0a, 0x1e, 0x53, 0x65, 0x6e, 0x73, 0x69,
381 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
382 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x67, 0x0a, 0x18, 0x68, 0x69, 0x67,
383 0x68, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61,
384 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
385 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
386 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
387 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x68, 0x69, 0x67, 0x68,
388 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69,
389 0x6e, 0x67, 0x12, 0x6b, 0x0a, 0x1a, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x6e,
390 0x73, 0x69, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67,
391 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
392 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
393 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
394 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x18, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x53, 0x65, 0x6e,
395 0x73, 0x69, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a,
396 0x49, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,
397 0x73, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
398 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
399 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
400 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0xad, 0x01, 0xea, 0x41, 0xa9,
401 0x01, 0x0a, 0x31, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
402 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
403 0x2f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f,
404 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
405 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
406 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
407 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
408 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x2a,
409 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f,
410 0x6e, 0x66, 0x69, 0x67, 0x73, 0x32, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56,
411 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2a, 0x58, 0x0a, 0x0d, 0x52, 0x65,
412 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x52,
413 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e,
414 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48,
415 0x49, 0x47, 0x48, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10,
416 0x02, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
417 0x4e, 0x45, 0x10, 0x04, 0x42, 0xf2, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
418 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
419 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x52, 0x65, 0x73,
420 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
421 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
422 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63,
423 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76,
424 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
425 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
426 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
427 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65,
428 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
429 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74,
430 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
431 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
432 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
433 0x33,
434 }
435
436 var (
437 file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescOnce sync.Once
438 file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescData = file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDesc
439 )
440
441 func file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescGZIP() []byte {
442 file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescOnce.Do(func() {
443 file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescData)
444 })
445 return file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDescData
446 }
447
448 var file_google_cloud_securitycenter_v1_resource_value_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
449 var file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
450 var file_google_cloud_securitycenter_v1_resource_value_config_proto_goTypes = []any{
451 (ResourceValue)(0), // 0: google.cloud.securitycenter.v1.ResourceValue
452 (*ResourceValueConfig)(nil), // 1: google.cloud.securitycenter.v1.ResourceValueConfig
453 (*ResourceValueConfig_SensitiveDataProtectionMapping)(nil), // 2: google.cloud.securitycenter.v1.ResourceValueConfig.SensitiveDataProtectionMapping
454 nil, // 3: google.cloud.securitycenter.v1.ResourceValueConfig.ResourceLabelsSelectorEntry
455 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
456 (CloudProvider)(0), // 5: google.cloud.securitycenter.v1.CloudProvider
457 }
458 var file_google_cloud_securitycenter_v1_resource_value_config_proto_depIdxs = []int32{
459 0, // 0: google.cloud.securitycenter.v1.ResourceValueConfig.resource_value:type_name -> google.cloud.securitycenter.v1.ResourceValue
460 3, // 1: google.cloud.securitycenter.v1.ResourceValueConfig.resource_labels_selector:type_name -> google.cloud.securitycenter.v1.ResourceValueConfig.ResourceLabelsSelectorEntry
461 4, // 2: google.cloud.securitycenter.v1.ResourceValueConfig.create_time:type_name -> google.protobuf.Timestamp
462 4, // 3: google.cloud.securitycenter.v1.ResourceValueConfig.update_time:type_name -> google.protobuf.Timestamp
463 5, // 4: google.cloud.securitycenter.v1.ResourceValueConfig.cloud_provider:type_name -> google.cloud.securitycenter.v1.CloudProvider
464 2, // 5: google.cloud.securitycenter.v1.ResourceValueConfig.sensitive_data_protection_mapping:type_name -> google.cloud.securitycenter.v1.ResourceValueConfig.SensitiveDataProtectionMapping
465 0, // 6: google.cloud.securitycenter.v1.ResourceValueConfig.SensitiveDataProtectionMapping.high_sensitivity_mapping:type_name -> google.cloud.securitycenter.v1.ResourceValue
466 0, // 7: google.cloud.securitycenter.v1.ResourceValueConfig.SensitiveDataProtectionMapping.medium_sensitivity_mapping:type_name -> google.cloud.securitycenter.v1.ResourceValue
467 8, // [8:8] is the sub-list for method output_type
468 8, // [8:8] is the sub-list for method input_type
469 8, // [8:8] is the sub-list for extension type_name
470 8, // [8:8] is the sub-list for extension extendee
471 0, // [0:8] is the sub-list for field type_name
472 }
473
474 func init() { file_google_cloud_securitycenter_v1_resource_value_config_proto_init() }
475 func file_google_cloud_securitycenter_v1_resource_value_config_proto_init() {
476 if File_google_cloud_securitycenter_v1_resource_value_config_proto != nil {
477 return
478 }
479 file_google_cloud_securitycenter_v1_resource_proto_init()
480 type x struct{}
481 out := protoimpl.TypeBuilder{
482 File: protoimpl.DescBuilder{
483 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
484 RawDescriptor: file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDesc,
485 NumEnums: 1,
486 NumMessages: 3,
487 NumExtensions: 0,
488 NumServices: 0,
489 },
490 GoTypes: file_google_cloud_securitycenter_v1_resource_value_config_proto_goTypes,
491 DependencyIndexes: file_google_cloud_securitycenter_v1_resource_value_config_proto_depIdxs,
492 EnumInfos: file_google_cloud_securitycenter_v1_resource_value_config_proto_enumTypes,
493 MessageInfos: file_google_cloud_securitycenter_v1_resource_value_config_proto_msgTypes,
494 }.Build()
495 File_google_cloud_securitycenter_v1_resource_value_config_proto = out.File
496 file_google_cloud_securitycenter_v1_resource_value_config_proto_rawDesc = nil
497 file_google_cloud_securitycenter_v1_resource_value_config_proto_goTypes = nil
498 file_google_cloud_securitycenter_v1_resource_value_config_proto_depIdxs = nil
499 }