Debian Codegraph @

securitycenter/apiv1p1beta1/securitycenterpb/finding.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/v1p1beta1/finding.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 structpb "google.golang.org/protobuf/types/known/structpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The state of the finding.
41 type Finding_State int32
42
43 const (
44 // Unspecified state.
45 Finding_STATE_UNSPECIFIED Finding_State = 0
46 // The finding requires attention and has not been addressed yet.
47 Finding_ACTIVE Finding_State = 1
48 // The finding has been fixed, triaged as a non-issue or otherwise addressed
49 // and is no longer active.
50 Finding_INACTIVE Finding_State = 2
51 )
52
53 // Enum value maps for Finding_State.
54 var (
55 Finding_State_name = map[int32]string{
56 0: "STATE_UNSPECIFIED",
57 1: "ACTIVE",
58 2: "INACTIVE",
59 }
60 Finding_State_value = map[string]int32{
61 "STATE_UNSPECIFIED": 0,
62 "ACTIVE": 1,
63 "INACTIVE": 2,
64 }
65 )
66
67 func (x Finding_State) Enum() *Finding_State {
68 p := new(Finding_State)
69 *p = x
70 return p
71 }
72
73 func (x Finding_State) String() string {
74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 }
76
77 func (Finding_State) Descriptor() protoreflect.EnumDescriptor {
78 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes[0].Descriptor()
79 }
80
81 func (Finding_State) Type() protoreflect.EnumType {
82 return &file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes[0]
83 }
84
85 func (x Finding_State) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
87 }
88
89 // Deprecated: Use Finding_State.Descriptor instead.
90 func (Finding_State) EnumDescriptor() ([]byte, []int) {
91 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescGZIP(), []int{0, 0}
92 }
93
94 // The severity of the finding. This field is managed by the source that
95 // writes the finding.
96 type Finding_Severity int32
97
98 const (
99 // No severity specified. The default value.
100 Finding_SEVERITY_UNSPECIFIED Finding_Severity = 0
101 // Critical severity.
102 Finding_CRITICAL Finding_Severity = 1
103 // High severity.
104 Finding_HIGH Finding_Severity = 2
105 // Medium severity.
106 Finding_MEDIUM Finding_Severity = 3
107 // Low severity.
108 Finding_LOW Finding_Severity = 4
109 )
110
111 // Enum value maps for Finding_Severity.
112 var (
113 Finding_Severity_name = map[int32]string{
114 0: "SEVERITY_UNSPECIFIED",
115 1: "CRITICAL",
116 2: "HIGH",
117 3: "MEDIUM",
118 4: "LOW",
119 }
120 Finding_Severity_value = map[string]int32{
121 "SEVERITY_UNSPECIFIED": 0,
122 "CRITICAL": 1,
123 "HIGH": 2,
124 "MEDIUM": 3,
125 "LOW": 4,
126 }
127 )
128
129 func (x Finding_Severity) Enum() *Finding_Severity {
130 p := new(Finding_Severity)
131 *p = x
132 return p
133 }
134
135 func (x Finding_Severity) String() string {
136 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
137 }
138
139 func (Finding_Severity) Descriptor() protoreflect.EnumDescriptor {
140 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes[1].Descriptor()
141 }
142
143 func (Finding_Severity) Type() protoreflect.EnumType {
144 return &file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes[1]
145 }
146
147 func (x Finding_Severity) Number() protoreflect.EnumNumber {
148 return protoreflect.EnumNumber(x)
149 }
150
151 // Deprecated: Use Finding_Severity.Descriptor instead.
152 func (Finding_Severity) EnumDescriptor() ([]byte, []int) {
153 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescGZIP(), []int{0, 1}
154 }
155
156 // Security Command Center finding.
157 //
158 // A finding is a record of assessment data (security, risk, health or privacy)
159 // ingested into Security Command Center for presentation, notification,
160 // analysis, policy testing, and enforcement. For example, an XSS vulnerability
161 // in an App Engine application is a finding.
162 type Finding struct {
163 state protoimpl.MessageState
164 sizeCache protoimpl.SizeCache
165 unknownFields protoimpl.UnknownFields
166
167 // The relative resource name of this finding. See:
168 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
169 // Example:
170 // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
171 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
172 // The relative resource name of the source the finding belongs to. See:
173 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
174 // This field is immutable after creation time.
175 // For example:
176 // "organizations/{organization_id}/sources/{source_id}"
177 Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
178 // For findings on Google Cloud resources, the full resource
179 // name of the Google Cloud resource this finding is for. See:
180 // https://cloud.google.com/apis/design/resource_names#full_resource_name
181 // When the finding is for a non-Google Cloud resource, the resourceName can
182 // be a customer or partner defined string. This field is immutable after
183 // creation time.
184 ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
185 // The state of the finding.
186 State Finding_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_State" json:"state,omitempty"`
187 // The additional taxonomy group within findings from a given source.
188 // This field is immutable after creation time.
189 // Example: "XSS_FLASH_INJECTION"
190 Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
191 // The URI that, if available, points to a web page outside of Security
192 // Command Center where additional information about the finding can be found.
193 // This field is guaranteed to be either empty or a well formed URL.
194 ExternalUri string `protobuf:"bytes,6,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
195 // Source specific properties. These properties are managed by the source
196 // that writes the finding. The key names in the source_properties map must be
197 // between 1 and 255 characters, and must start with a letter and contain
198 // alphanumeric characters or underscores only.
199 SourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
200 // Output only. User specified security marks. These marks are entirely
201 // managed by the user and come from the SecurityMarks resource that belongs
202 // to the finding.
203 SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
204 // The time at which the event took place, or when an update to the finding
205 // occurred. For example, if the finding represents an open firewall it would
206 // capture the time the detector believes the firewall became open. The
207 // accuracy is determined by the detector. If the finding were to be resolved
208 // afterward, this time would reflect when the finding was resolved. Must not
209 // be set to a value greater than the current timestamp.
210 EventTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
211 // The time at which the finding was created in Security Command Center.
212 CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
213 // The severity of the finding. This field is managed by the source that
214 // writes the finding.
215 Severity Finding_Severity `protobuf:"varint,13,opt,name=severity,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_Severity" json:"severity,omitempty"`
216 // The canonical name of the finding. It's either
217 // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
218 // "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or
219 // "projects/{project_number}/sources/{source_id}/findings/{finding_id}",
220 // depending on the closest CRM ancestor of the resource associated with the
221 // finding.
222 CanonicalName string `protobuf:"bytes,14,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
223 }
224
225 func (x *Finding) Reset() {
226 *x = Finding{}
227 mi := &file_google_cloud_securitycenter_v1p1beta1_finding_proto_msgTypes[0]
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 ms.StoreMessageInfo(mi)
230 }
231
232 func (x *Finding) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*Finding) ProtoMessage() {}
237
238 func (x *Finding) ProtoReflect() protoreflect.Message {
239 mi := &file_google_cloud_securitycenter_v1p1beta1_finding_proto_msgTypes[0]
240 if x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use Finding.ProtoReflect.Descriptor instead.
251 func (*Finding) Descriptor() ([]byte, []int) {
252 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescGZIP(), []int{0}
253 }
254
255 func (x *Finding) GetName() string {
256 if x != nil {
257 return x.Name
258 }
259 return ""
260 }
261
262 func (x *Finding) GetParent() string {
263 if x != nil {
264 return x.Parent
265 }
266 return ""
267 }
268
269 func (x *Finding) GetResourceName() string {
270 if x != nil {
271 return x.ResourceName
272 }
273 return ""
274 }
275
276 func (x *Finding) GetState() Finding_State {
277 if x != nil {
278 return x.State
279 }
280 return Finding_STATE_UNSPECIFIED
281 }
282
283 func (x *Finding) GetCategory() string {
284 if x != nil {
285 return x.Category
286 }
287 return ""
288 }
289
290 func (x *Finding) GetExternalUri() string {
291 if x != nil {
292 return x.ExternalUri
293 }
294 return ""
295 }
296
297 func (x *Finding) GetSourceProperties() map[string]*structpb.Value {
298 if x != nil {
299 return x.SourceProperties
300 }
301 return nil
302 }
303
304 func (x *Finding) GetSecurityMarks() *SecurityMarks {
305 if x != nil {
306 return x.SecurityMarks
307 }
308 return nil
309 }
310
311 func (x *Finding) GetEventTime() *timestamppb.Timestamp {
312 if x != nil {
313 return x.EventTime
314 }
315 return nil
316 }
317
318 func (x *Finding) GetCreateTime() *timestamppb.Timestamp {
319 if x != nil {
320 return x.CreateTime
321 }
322 return nil
323 }
324
325 func (x *Finding) GetSeverity() Finding_Severity {
326 if x != nil {
327 return x.Severity
328 }
329 return Finding_SEVERITY_UNSPECIFIED
330 }
331
332 func (x *Finding) GetCanonicalName() string {
333 if x != nil {
334 return x.CanonicalName
335 }
336 return ""
337 }
338
339 var File_google_cloud_securitycenter_v1p1beta1_finding_proto protoreflect.FileDescriptor
340
341 var file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDesc = []byte{
342 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
343 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
344 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e,
345 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
346 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
347 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
348 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
349 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
350 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
351 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
352 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
353 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
354 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e, 0x70,
355 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
356 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
357 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
358 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
359 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x08, 0x0a, 0x07, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12,
360 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
361 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
362 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72,
363 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
364 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65,
365 0x12, 0x4a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
366 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
367 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
368 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e,
369 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08,
370 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
371 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65,
372 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
373 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x69, 0x12, 0x71, 0x0a, 0x11, 0x73,
374 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,
375 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
376 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
377 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46,
378 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f,
379 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f,
380 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x60,
381 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73,
382 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
383 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
384 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53,
385 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x42, 0x03, 0xe0, 0x41,
386 0x03, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73,
387 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09,
388 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
389 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
390 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63,
391 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
392 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
393 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72,
394 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65,
395 0x72, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
396 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
397 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
398 0x61, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72,
399 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a,
400 0x0e, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
401 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c,
402 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x5b, 0x0a, 0x15, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
403 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
404 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
405 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
406 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
407 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
408 0x01, 0x22, 0x38, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,
409 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
410 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a,
411 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0x51, 0x0a, 0x08, 0x53,
412 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52,
413 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
414 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12,
415 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44,
416 0x49, 0x55, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x3a, 0xdb,
417 0x01, 0xea, 0x41, 0xd7, 0x01, 0x0a, 0x25, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
418 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
419 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x6f, 0x72,
420 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67,
421 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63,
422 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64,
423 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x34,
424 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d,
425 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
426 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64,
427 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
428 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
429 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e,
430 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x42, 0xfb, 0x01, 0x0a,
431 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
432 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
433 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x51, 0x63, 0x6c,
434 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
435 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
436 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65,
437 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73,
438 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa,
439 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53,
440 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31,
441 0x50, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
442 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
443 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea,
444 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
445 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a,
446 0x3a, 0x56, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
447 0x6f, 0x33,
448 }
449
450 var (
451 file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescOnce sync.Once
452 file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescData = file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDesc
453 )
454
455 func file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescGZIP() []byte {
456 file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescOnce.Do(func() {
457 file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescData)
458 })
459 return file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDescData
460 }
461
462 var file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
463 var file_google_cloud_securitycenter_v1p1beta1_finding_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
464 var file_google_cloud_securitycenter_v1p1beta1_finding_proto_goTypes = []any{
465 (Finding_State)(0), // 0: google.cloud.securitycenter.v1p1beta1.Finding.State
466 (Finding_Severity)(0), // 1: google.cloud.securitycenter.v1p1beta1.Finding.Severity
467 (*Finding)(nil), // 2: google.cloud.securitycenter.v1p1beta1.Finding
468 nil, // 3: google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry
469 (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1p1beta1.SecurityMarks
470 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
471 (*structpb.Value)(nil), // 6: google.protobuf.Value
472 }
473 var file_google_cloud_securitycenter_v1p1beta1_finding_proto_depIdxs = []int32{
474 0, // 0: google.cloud.securitycenter.v1p1beta1.Finding.state:type_name -> google.cloud.securitycenter.v1p1beta1.Finding.State
475 3, // 1: google.cloud.securitycenter.v1p1beta1.Finding.source_properties:type_name -> google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry
476 4, // 2: google.cloud.securitycenter.v1p1beta1.Finding.security_marks:type_name -> google.cloud.securitycenter.v1p1beta1.SecurityMarks
477 5, // 3: google.cloud.securitycenter.v1p1beta1.Finding.event_time:type_name -> google.protobuf.Timestamp
478 5, // 4: google.cloud.securitycenter.v1p1beta1.Finding.create_time:type_name -> google.protobuf.Timestamp
479 1, // 5: google.cloud.securitycenter.v1p1beta1.Finding.severity:type_name -> google.cloud.securitycenter.v1p1beta1.Finding.Severity
480 6, // 6: google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry.value:type_name -> google.protobuf.Value
481 7, // [7:7] is the sub-list for method output_type
482 7, // [7:7] is the sub-list for method input_type
483 7, // [7:7] is the sub-list for extension type_name
484 7, // [7:7] is the sub-list for extension extendee
485 0, // [0:7] is the sub-list for field type_name
486 }
487
488 func init() { file_google_cloud_securitycenter_v1p1beta1_finding_proto_init() }
489 func file_google_cloud_securitycenter_v1p1beta1_finding_proto_init() {
490 if File_google_cloud_securitycenter_v1p1beta1_finding_proto != nil {
491 return
492 }
493 file_google_cloud_securitycenter_v1p1beta1_security_marks_proto_init()
494 type x struct{}
495 out := protoimpl.TypeBuilder{
496 File: protoimpl.DescBuilder{
497 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
498 RawDescriptor: file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDesc,
499 NumEnums: 2,
500 NumMessages: 2,
501 NumExtensions: 0,
502 NumServices: 0,
503 },
504 GoTypes: file_google_cloud_securitycenter_v1p1beta1_finding_proto_goTypes,
505 DependencyIndexes: file_google_cloud_securitycenter_v1p1beta1_finding_proto_depIdxs,
506 EnumInfos: file_google_cloud_securitycenter_v1p1beta1_finding_proto_enumTypes,
507 MessageInfos: file_google_cloud_securitycenter_v1p1beta1_finding_proto_msgTypes,
508 }.Build()
509 File_google_cloud_securitycenter_v1p1beta1_finding_proto = out.File
510 file_google_cloud_securitycenter_v1p1beta1_finding_proto_rawDesc = nil
511 file_google_cloud_securitycenter_v1p1beta1_finding_proto_goTypes = nil
512 file_google_cloud_securitycenter_v1p1beta1_finding_proto_depIdxs = nil
513 }