Debian Codegraph @

securitycenter/apiv1/securitycenterpb/exfiltration.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/exfiltration.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Exfiltration represents a data exfiltration attempt from one or more sources
38 // to one or more targets. The `sources` attribute lists the sources of the
39 // exfiltrated data. The `targets` attribute lists the destinations the data was
40 // copied to.
41 type Exfiltration struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // If there are multiple sources, then the data is considered "joined" between
47 // them. For instance, BigQuery can join multiple tables, and each
48 // table would be considered a source.
49 Sources []*ExfilResource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
50 // If there are multiple targets, each target would get a complete copy of the
51 // "joined" source data.
52 Targets []*ExfilResource `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
53 // Total exfiltrated bytes processed for the entire job.
54 TotalExfiltratedBytes int64 `protobuf:"varint,3,opt,name=total_exfiltrated_bytes,json=totalExfiltratedBytes,proto3" json:"total_exfiltrated_bytes,omitempty"`
55 }
56
57 func (x *Exfiltration) Reset() {
58 *x = Exfiltration{}
59 mi := &file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *Exfiltration) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*Exfiltration) ProtoMessage() {}
69
70 func (x *Exfiltration) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use Exfiltration.ProtoReflect.Descriptor instead.
83 func (*Exfiltration) Descriptor() ([]byte, []int) {
84 return file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *Exfiltration) GetSources() []*ExfilResource {
88 if x != nil {
89 return x.Sources
90 }
91 return nil
92 }
93
94 func (x *Exfiltration) GetTargets() []*ExfilResource {
95 if x != nil {
96 return x.Targets
97 }
98 return nil
99 }
100
101 func (x *Exfiltration) GetTotalExfiltratedBytes() int64 {
102 if x != nil {
103 return x.TotalExfiltratedBytes
104 }
105 return 0
106 }
107
108 // Resource where data was exfiltrated from or exfiltrated to.
109 type ExfilResource struct {
110 state protoimpl.MessageState
111 sizeCache protoimpl.SizeCache
112 unknownFields protoimpl.UnknownFields
113
114 // The resource's [full resource
115 // name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
116 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
117 // Subcomponents of the asset that was exfiltrated, like URIs used during
118 // exfiltration, table names, databases, and filenames. For example, multiple
119 // tables might have been exfiltrated from the same Cloud SQL instance, or
120 // multiple files might have been exfiltrated from the same Cloud Storage
121 // bucket.
122 Components []string `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
123 }
124
125 func (x *ExfilResource) Reset() {
126 *x = ExfilResource{}
127 mi := &file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes[1]
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 ms.StoreMessageInfo(mi)
130 }
131
132 func (x *ExfilResource) String() string {
133 return protoimpl.X.MessageStringOf(x)
134 }
135
136 func (*ExfilResource) ProtoMessage() {}
137
138 func (x *ExfilResource) ProtoReflect() protoreflect.Message {
139 mi := &file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes[1]
140 if x != nil {
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 if ms.LoadMessageInfo() == nil {
143 ms.StoreMessageInfo(mi)
144 }
145 return ms
146 }
147 return mi.MessageOf(x)
148 }
149
150 // Deprecated: Use ExfilResource.ProtoReflect.Descriptor instead.
151 func (*ExfilResource) Descriptor() ([]byte, []int) {
152 return file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescGZIP(), []int{1}
153 }
154
155 func (x *ExfilResource) GetName() string {
156 if x != nil {
157 return x.Name
158 }
159 return ""
160 }
161
162 func (x *ExfilResource) GetComponents() []string {
163 if x != nil {
164 return x.Components
165 }
166 return nil
167 }
168
169 var File_google_cloud_securitycenter_v1_exfiltration_proto protoreflect.FileDescriptor
170
171 var file_google_cloud_securitycenter_v1_exfiltration_proto_rawDesc = []byte{
172 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
173 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
174 0x2f, 0x65, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
175 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
176 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
177 0x2e, 0x76, 0x31, 0x22, 0xd8, 0x01, 0x0a, 0x0c, 0x45, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61,
178 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18,
179 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
180 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
181 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x66, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x6f,
182 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x47, 0x0a,
183 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
184 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
185 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
186 0x45, 0x78, 0x66, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x74,
187 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
188 0x65, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65,
189 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78,
190 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x43,
191 0x0a, 0x0d, 0x45, 0x78, 0x66, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
192 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
193 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
194 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65,
195 0x6e, 0x74, 0x73, 0x42, 0xeb, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
196 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
197 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x45, 0x78, 0x66, 0x69,
198 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
199 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
200 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
201 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
202 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72,
203 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f,
204 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72,
205 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47,
206 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75,
207 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21,
208 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53,
209 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56,
210 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
211 }
212
213 var (
214 file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescOnce sync.Once
215 file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescData = file_google_cloud_securitycenter_v1_exfiltration_proto_rawDesc
216 )
217
218 func file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescGZIP() []byte {
219 file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescOnce.Do(func() {
220 file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescData)
221 })
222 return file_google_cloud_securitycenter_v1_exfiltration_proto_rawDescData
223 }
224
225 var file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
226 var file_google_cloud_securitycenter_v1_exfiltration_proto_goTypes = []any{
227 (*Exfiltration)(nil), // 0: google.cloud.securitycenter.v1.Exfiltration
228 (*ExfilResource)(nil), // 1: google.cloud.securitycenter.v1.ExfilResource
229 }
230 var file_google_cloud_securitycenter_v1_exfiltration_proto_depIdxs = []int32{
231 1, // 0: google.cloud.securitycenter.v1.Exfiltration.sources:type_name -> google.cloud.securitycenter.v1.ExfilResource
232 1, // 1: google.cloud.securitycenter.v1.Exfiltration.targets:type_name -> google.cloud.securitycenter.v1.ExfilResource
233 2, // [2:2] is the sub-list for method output_type
234 2, // [2:2] is the sub-list for method input_type
235 2, // [2:2] is the sub-list for extension type_name
236 2, // [2:2] is the sub-list for extension extendee
237 0, // [0:2] is the sub-list for field type_name
238 }
239
240 func init() { file_google_cloud_securitycenter_v1_exfiltration_proto_init() }
241 func file_google_cloud_securitycenter_v1_exfiltration_proto_init() {
242 if File_google_cloud_securitycenter_v1_exfiltration_proto != nil {
243 return
244 }
245 type x struct{}
246 out := protoimpl.TypeBuilder{
247 File: protoimpl.DescBuilder{
248 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
249 RawDescriptor: file_google_cloud_securitycenter_v1_exfiltration_proto_rawDesc,
250 NumEnums: 0,
251 NumMessages: 2,
252 NumExtensions: 0,
253 NumServices: 0,
254 },
255 GoTypes: file_google_cloud_securitycenter_v1_exfiltration_proto_goTypes,
256 DependencyIndexes: file_google_cloud_securitycenter_v1_exfiltration_proto_depIdxs,
257 MessageInfos: file_google_cloud_securitycenter_v1_exfiltration_proto_msgTypes,
258 }.Build()
259 File_google_cloud_securitycenter_v1_exfiltration_proto = out.File
260 file_google_cloud_securitycenter_v1_exfiltration_proto_rawDesc = nil
261 file_google_cloud_securitycenter_v1_exfiltration_proto_goTypes = nil
262 file_google_cloud_securitycenter_v1_exfiltration_proto_depIdxs = nil
263 }