Debian Codegraph @

securitycenter/apiv2/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/v2/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_v2_resource_value_config_proto_enumTypes[0].Descriptor()
85 }
86
87 func (ResourceValue) Type() protoreflect.EnumType {
88 return &file_google_cloud_securitycenter_v2_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_v2_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 // Identifier. Name for the resource value configuration
108 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
109 // Resource value level this expression represents
110 // Only required when there is no Sensitive Data Protection mapping in the
111 // request
112 ResourceValue ResourceValue `protobuf:"varint,2,opt,name=resource_value,json=resourceValue,proto3,enum=google.cloud.securitycenter.v2.ResourceValue" json:"resource_value,omitempty"`
113 // Tag values combined with `AND` to check against.
114 // For Google Cloud resources, they are tag value IDs in the form of
115 // "tagValues/123". Example: `[ "tagValues/123", "tagValues/456",
116 // "tagValues/789" ]`
117 // https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
118 TagValues []string `protobuf:"bytes,3,rep,name=tag_values,json=tagValues,proto3" json:"tag_values,omitempty"`
119 // Apply resource_value only to resources that match resource_type.
120 // resource_type will be checked with `AND` of other resources.
121 // For example, "storage.googleapis.com/Bucket" with resource_value "HIGH"
122 // will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
123 ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
124 // Project or folder to scope this configuration to.
125 // For example, "project/456" would apply this configuration only to resources
126 // in "project/456" scope and will be checked with `AND` of other resources.
127 Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
128 // List of resource labels to search for, evaluated with `AND`.
129 // For example, "resource_labels_selector": {"key": "value", "env": "prod"}
130 // will match resources with labels "key": "value" `AND` "env":
131 // "prod"
132 // https://cloud.google.com/resource-manager/docs/creating-managing-labels
133 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"`
134 // Description of the resource value configuration.
135 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
136 // Output only. Timestamp this resource value configuration was created.
137 CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
138 // Output only. Timestamp this resource value configuration was last updated.
139 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
140 // Cloud provider this configuration applies to
141 CloudProvider CloudProvider `protobuf:"varint,10,opt,name=cloud_provider,json=cloudProvider,proto3,enum=google.cloud.securitycenter.v2.CloudProvider" json:"cloud_provider,omitempty"`
142 // A mapping of the sensitivity on Sensitive Data Protection finding to
143 // resource values. This mapping can only be used in combination with a
144 // resource_type that is related to BigQuery, e.g.
145 // "bigquery.googleapis.com/Dataset".
146 SensitiveDataProtectionMapping *ResourceValueConfig_SensitiveDataProtectionMapping `protobuf:"bytes,11,opt,name=sensitive_data_protection_mapping,json=sensitiveDataProtectionMapping,proto3" json:"sensitive_data_protection_mapping,omitempty"`
147 }
148
149 func (x *ResourceValueConfig) Reset() {
150 *x = ResourceValueConfig{}
151 mi := &file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes[0]
152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153 ms.StoreMessageInfo(mi)
154 }
155
156 func (x *ResourceValueConfig) String() string {
157 return protoimpl.X.MessageStringOf(x)
158 }
159
160 func (*ResourceValueConfig) ProtoMessage() {}
161
162 func (x *ResourceValueConfig) ProtoReflect() protoreflect.Message {
163 mi := &file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes[0]
164 if x != nil {
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 if ms.LoadMessageInfo() == nil {
167 ms.StoreMessageInfo(mi)
168 }
169 return ms
170 }
171 return mi.MessageOf(x)
172 }
173
174 // Deprecated: Use ResourceValueConfig.ProtoReflect.Descriptor instead.
175 func (*ResourceValueConfig) Descriptor() ([]byte, []int) {
176 return file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescGZIP(), []int{0}
177 }
178
179 func (x *ResourceValueConfig) GetName() string {
180 if x != nil {
181 return x.Name
182 }
183 return ""
184 }
185
186 func (x *ResourceValueConfig) GetResourceValue() ResourceValue {
187 if x != nil {
188 return x.ResourceValue
189 }
190 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
191 }
192
193 func (x *ResourceValueConfig) GetTagValues() []string {
194 if x != nil {
195 return x.TagValues
196 }
197 return nil
198 }
199
200 func (x *ResourceValueConfig) GetResourceType() string {
201 if x != nil {
202 return x.ResourceType
203 }
204 return ""
205 }
206
207 func (x *ResourceValueConfig) GetScope() string {
208 if x != nil {
209 return x.Scope
210 }
211 return ""
212 }
213
214 func (x *ResourceValueConfig) GetResourceLabelsSelector() map[string]string {
215 if x != nil {
216 return x.ResourceLabelsSelector
217 }
218 return nil
219 }
220
221 func (x *ResourceValueConfig) GetDescription() string {
222 if x != nil {
223 return x.Description
224 }
225 return ""
226 }
227
228 func (x *ResourceValueConfig) GetCreateTime() *timestamppb.Timestamp {
229 if x != nil {
230 return x.CreateTime
231 }
232 return nil
233 }
234
235 func (x *ResourceValueConfig) GetUpdateTime() *timestamppb.Timestamp {
236 if x != nil {
237 return x.UpdateTime
238 }
239 return nil
240 }
241
242 func (x *ResourceValueConfig) GetCloudProvider() CloudProvider {
243 if x != nil {
244 return x.CloudProvider
245 }
246 return CloudProvider_CLOUD_PROVIDER_UNSPECIFIED
247 }
248
249 func (x *ResourceValueConfig) GetSensitiveDataProtectionMapping() *ResourceValueConfig_SensitiveDataProtectionMapping {
250 if x != nil {
251 return x.SensitiveDataProtectionMapping
252 }
253 return nil
254 }
255
256 // Resource value mapping for Sensitive Data Protection findings
257 // If any of these mappings have a resource value that is not unspecified,
258 // the resource_value field will be ignored when reading this configuration.
259 type ResourceValueConfig_SensitiveDataProtectionMapping struct {
260 state protoimpl.MessageState
261 sizeCache protoimpl.SizeCache
262 unknownFields protoimpl.UnknownFields
263
264 // Resource value mapping for high-sensitivity Sensitive Data Protection
265 // findings
266 HighSensitivityMapping ResourceValue `protobuf:"varint,1,opt,name=high_sensitivity_mapping,json=highSensitivityMapping,proto3,enum=google.cloud.securitycenter.v2.ResourceValue" json:"high_sensitivity_mapping,omitempty"`
267 // Resource value mapping for medium-sensitivity Sensitive Data Protection
268 // findings
269 MediumSensitivityMapping ResourceValue `protobuf:"varint,2,opt,name=medium_sensitivity_mapping,json=mediumSensitivityMapping,proto3,enum=google.cloud.securitycenter.v2.ResourceValue" json:"medium_sensitivity_mapping,omitempty"`
270 }
271
272 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) Reset() {
273 *x = ResourceValueConfig_SensitiveDataProtectionMapping{}
274 mi := &file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes[1]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277 }
278
279 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) String() string {
280 return protoimpl.X.MessageStringOf(x)
281 }
282
283 func (*ResourceValueConfig_SensitiveDataProtectionMapping) ProtoMessage() {}
284
285 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) ProtoReflect() protoreflect.Message {
286 mi := &file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes[1]
287 if x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295 }
296
297 // Deprecated: Use ResourceValueConfig_SensitiveDataProtectionMapping.ProtoReflect.Descriptor instead.
298 func (*ResourceValueConfig_SensitiveDataProtectionMapping) Descriptor() ([]byte, []int) {
299 return file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescGZIP(), []int{0, 0}
300 }
301
302 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) GetHighSensitivityMapping() ResourceValue {
303 if x != nil {
304 return x.HighSensitivityMapping
305 }
306 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
307 }
308
309 func (x *ResourceValueConfig_SensitiveDataProtectionMapping) GetMediumSensitivityMapping() ResourceValue {
310 if x != nil {
311 return x.MediumSensitivityMapping
312 }
313 return ResourceValue_RESOURCE_VALUE_UNSPECIFIED
314 }
315
316 var File_google_cloud_securitycenter_v2_resource_value_config_proto protoreflect.FileDescriptor
317
318 var file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDesc = []byte{
319 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
320 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
321 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
322 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
323 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
324 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f,
325 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
326 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
327 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
328 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
329 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
330 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
331 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
332 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
333 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x0a, 0x0a, 0x13, 0x52, 0x65, 0x73,
334 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
335 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
336 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x72, 0x65, 0x73,
337 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
338 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
339 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
340 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
341 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
342 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20,
343 0x03, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23,
344 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
345 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54,
346 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
347 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x18, 0x72, 0x65,
348 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x73, 0x65,
349 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x67,
350 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
351 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65,
352 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
353 0x67, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
354 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x72,
355 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x53, 0x65, 0x6c,
356 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
357 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
358 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
359 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
360 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
361 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,
362 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,
363 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
364 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
365 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
366 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x63,
367 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x0a, 0x20,
368 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
369 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
370 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
371 0x65, 0x72, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
372 0x72, 0x12, 0x9d, 0x01, 0x0a, 0x21, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f,
373 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
374 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e,
375 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
376 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52,
377 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66,
378 0x69, 0x67, 0x2e, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61,
379 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e,
380 0x67, 0x52, 0x1e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61,
381 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e,
382 0x67, 0x1a, 0xf6, 0x01, 0x0a, 0x1e, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44,
383 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x70,
384 0x70, 0x69, 0x6e, 0x67, 0x12, 0x67, 0x0a, 0x18, 0x68, 0x69, 0x67, 0x68, 0x5f, 0x73, 0x65, 0x6e,
385 0x73, 0x69, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67,
386 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
387 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
388 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
389 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x68, 0x69, 0x67, 0x68, 0x53, 0x65, 0x6e, 0x73, 0x69,
390 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x6b, 0x0a,
391 0x1a, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
392 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
393 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
394 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
395 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
396 0x52, 0x18, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
397 0x69, 0x74, 0x79, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x49, 0x0a, 0x1b, 0x52, 0x65,
398 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x53, 0x65, 0x6c, 0x65,
399 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
400 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
401 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
402 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x8d, 0x02, 0xea, 0x41, 0x89, 0x02, 0x0a, 0x31, 0x73, 0x65,
403 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f,
404 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x73, 0x6f,
405 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
406 0x49, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
407 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65,
408 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
409 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c,
410 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x12, 0x5e, 0x6f, 0x72, 0x67, 0x61,
411 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e,
412 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
413 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65,
414 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
415 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c,
416 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x2a, 0x14, 0x72, 0x65, 0x73, 0x6f,
417 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
418 0x32, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43,
419 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2a, 0x58, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
420 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52,
421 0x43, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
422 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x01,
423 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
424 0x4c, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x04, 0x42,
425 0xf2, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
426 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
427 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
428 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f,
429 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
430 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
431 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63,
432 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65,
433 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02,
434 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65,
435 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca,
436 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53,
437 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32,
438 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
439 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
440 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
441 }
442
443 var (
444 file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescOnce sync.Once
445 file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescData = file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDesc
446 )
447
448 func file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescGZIP() []byte {
449 file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescOnce.Do(func() {
450 file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescData)
451 })
452 return file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDescData
453 }
454
455 var file_google_cloud_securitycenter_v2_resource_value_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
456 var file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
457 var file_google_cloud_securitycenter_v2_resource_value_config_proto_goTypes = []any{
458 (ResourceValue)(0), // 0: google.cloud.securitycenter.v2.ResourceValue
459 (*ResourceValueConfig)(nil), // 1: google.cloud.securitycenter.v2.ResourceValueConfig
460 (*ResourceValueConfig_SensitiveDataProtectionMapping)(nil), // 2: google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping
461 nil, // 3: google.cloud.securitycenter.v2.ResourceValueConfig.ResourceLabelsSelectorEntry
462 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
463 (CloudProvider)(0), // 5: google.cloud.securitycenter.v2.CloudProvider
464 }
465 var file_google_cloud_securitycenter_v2_resource_value_config_proto_depIdxs = []int32{
466 0, // 0: google.cloud.securitycenter.v2.ResourceValueConfig.resource_value:type_name -> google.cloud.securitycenter.v2.ResourceValue
467 3, // 1: google.cloud.securitycenter.v2.ResourceValueConfig.resource_labels_selector:type_name -> google.cloud.securitycenter.v2.ResourceValueConfig.ResourceLabelsSelectorEntry
468 4, // 2: google.cloud.securitycenter.v2.ResourceValueConfig.create_time:type_name -> google.protobuf.Timestamp
469 4, // 3: google.cloud.securitycenter.v2.ResourceValueConfig.update_time:type_name -> google.protobuf.Timestamp
470 5, // 4: google.cloud.securitycenter.v2.ResourceValueConfig.cloud_provider:type_name -> google.cloud.securitycenter.v2.CloudProvider
471 2, // 5: google.cloud.securitycenter.v2.ResourceValueConfig.sensitive_data_protection_mapping:type_name -> google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping
472 0, // 6: google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping.high_sensitivity_mapping:type_name -> google.cloud.securitycenter.v2.ResourceValue
473 0, // 7: google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping.medium_sensitivity_mapping:type_name -> google.cloud.securitycenter.v2.ResourceValue
474 8, // [8:8] is the sub-list for method output_type
475 8, // [8:8] is the sub-list for method input_type
476 8, // [8:8] is the sub-list for extension type_name
477 8, // [8:8] is the sub-list for extension extendee
478 0, // [0:8] is the sub-list for field type_name
479 }
480
481 func init() { file_google_cloud_securitycenter_v2_resource_value_config_proto_init() }
482 func file_google_cloud_securitycenter_v2_resource_value_config_proto_init() {
483 if File_google_cloud_securitycenter_v2_resource_value_config_proto != nil {
484 return
485 }
486 file_google_cloud_securitycenter_v2_resource_proto_init()
487 type x struct{}
488 out := protoimpl.TypeBuilder{
489 File: protoimpl.DescBuilder{
490 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
491 RawDescriptor: file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDesc,
492 NumEnums: 1,
493 NumMessages: 3,
494 NumExtensions: 0,
495 NumServices: 0,
496 },
497 GoTypes: file_google_cloud_securitycenter_v2_resource_value_config_proto_goTypes,
498 DependencyIndexes: file_google_cloud_securitycenter_v2_resource_value_config_proto_depIdxs,
499 EnumInfos: file_google_cloud_securitycenter_v2_resource_value_config_proto_enumTypes,
500 MessageInfos: file_google_cloud_securitycenter_v2_resource_value_config_proto_msgTypes,
501 }.Build()
502 File_google_cloud_securitycenter_v2_resource_value_config_proto = out.File
503 file_google_cloud_securitycenter_v2_resource_value_config_proto_rawDesc = nil
504 file_google_cloud_securitycenter_v2_resource_value_config_proto_goTypes = nil
505 file_google_cloud_securitycenter_v2_resource_value_config_proto_depIdxs = nil
506 }