| 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/indicator.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 |
// Possible resource types to be associated with a signature. |
| 38 |
type Indicator_ProcessSignature_SignatureType int32 |
| 39 |
|
| 40 |
const ( |
| 41 |
// The default signature type. |
| 42 |
Indicator_ProcessSignature_SIGNATURE_TYPE_UNSPECIFIED Indicator_ProcessSignature_SignatureType = 0 |
| 43 |
// Used for signatures concerning processes. |
| 44 |
Indicator_ProcessSignature_SIGNATURE_TYPE_PROCESS Indicator_ProcessSignature_SignatureType = 1 |
| 45 |
// Used for signatures concerning disks. |
| 46 |
Indicator_ProcessSignature_SIGNATURE_TYPE_FILE Indicator_ProcessSignature_SignatureType = 2 |
| 47 |
) |
| 48 |
|
| 49 |
// Enum value maps for Indicator_ProcessSignature_SignatureType. |
| 50 |
var ( |
| 51 |
Indicator_ProcessSignature_SignatureType_name = map[int32]string{ |
| 52 |
0: "SIGNATURE_TYPE_UNSPECIFIED", |
| 53 |
1: "SIGNATURE_TYPE_PROCESS", |
| 54 |
2: "SIGNATURE_TYPE_FILE", |
| 55 |
} |
| 56 |
Indicator_ProcessSignature_SignatureType_value = map[string]int32{ |
| 57 |
"SIGNATURE_TYPE_UNSPECIFIED": 0, |
| 58 |
"SIGNATURE_TYPE_PROCESS": 1, |
| 59 |
"SIGNATURE_TYPE_FILE": 2, |
| 60 |
} |
| 61 |
) |
| 62 |
|
| 63 |
func (x Indicator_ProcessSignature_SignatureType) Enum() *Indicator_ProcessSignature_SignatureType { |
| 64 |
p := new(Indicator_ProcessSignature_SignatureType) |
| 65 |
*p = x |
| 66 |
return p |
| 67 |
} |
| 68 |
|
| 69 |
func (x Indicator_ProcessSignature_SignatureType) String() string { |
| 70 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 71 |
} |
| 72 |
|
| 73 |
func (Indicator_ProcessSignature_SignatureType) Descriptor() protoreflect.EnumDescriptor { |
| 74 |
return file_google_cloud_securitycenter_v2_indicator_proto_enumTypes[0].Descriptor() |
| 75 |
} |
| 76 |
|
| 77 |
func (Indicator_ProcessSignature_SignatureType) Type() protoreflect.EnumType { |
| 78 |
return &file_google_cloud_securitycenter_v2_indicator_proto_enumTypes[0] |
| 79 |
} |
| 80 |
|
| 81 |
func (x Indicator_ProcessSignature_SignatureType) Number() protoreflect.EnumNumber { |
| 82 |
return protoreflect.EnumNumber(x) |
| 83 |
} |
| 84 |
|
| 85 |
// Deprecated: Use Indicator_ProcessSignature_SignatureType.Descriptor instead. |
| 86 |
func (Indicator_ProcessSignature_SignatureType) EnumDescriptor() ([]byte, []int) { |
| 87 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0, 0, 0} |
| 88 |
} |
| 89 |
|
| 90 |
// Represents what's commonly known as an _indicator of compromise_ (IoC) in |
| 91 |
// computer forensics. This is an artifact observed on a network or in an |
| 92 |
// operating system that, with high confidence, indicates a computer intrusion. |
| 93 |
// For more information, see [Indicator of |
| 94 |
// compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). |
| 95 |
type Indicator struct { |
| 96 |
state protoimpl.MessageState |
| 97 |
sizeCache protoimpl.SizeCache |
| 98 |
unknownFields protoimpl.UnknownFields |
| 99 |
|
| 100 |
// The list of IP addresses that are associated with the finding. |
| 101 |
IpAddresses []string `protobuf:"bytes,1,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` |
| 102 |
// List of domains associated to the Finding. |
| 103 |
Domains []string `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"` |
| 104 |
// The list of matched signatures indicating that the given |
| 105 |
// process is present in the environment. |
| 106 |
Signatures []*Indicator_ProcessSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` |
| 107 |
// The list of URIs associated to the Findings. |
| 108 |
Uris []string `protobuf:"bytes,4,rep,name=uris,proto3" json:"uris,omitempty"` |
| 109 |
} |
| 110 |
|
| 111 |
func (x *Indicator) Reset() { |
| 112 |
*x = Indicator{} |
| 113 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[0] |
| 114 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 115 |
ms.StoreMessageInfo(mi) |
| 116 |
} |
| 117 |
|
| 118 |
func (x *Indicator) String() string { |
| 119 |
return protoimpl.X.MessageStringOf(x) |
| 120 |
} |
| 121 |
|
| 122 |
func (*Indicator) ProtoMessage() {} |
| 123 |
|
| 124 |
func (x *Indicator) ProtoReflect() protoreflect.Message { |
| 125 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[0] |
| 126 |
if x != nil { |
| 127 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 128 |
if ms.LoadMessageInfo() == nil { |
| 129 |
ms.StoreMessageInfo(mi) |
| 130 |
} |
| 131 |
return ms |
| 132 |
} |
| 133 |
return mi.MessageOf(x) |
| 134 |
} |
| 135 |
|
| 136 |
// Deprecated: Use Indicator.ProtoReflect.Descriptor instead. |
| 137 |
func (*Indicator) Descriptor() ([]byte, []int) { |
| 138 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0} |
| 139 |
} |
| 140 |
|
| 141 |
func (x *Indicator) GetIpAddresses() []string { |
| 142 |
if x != nil { |
| 143 |
return x.IpAddresses |
| 144 |
} |
| 145 |
return nil |
| 146 |
} |
| 147 |
|
| 148 |
func (x *Indicator) GetDomains() []string { |
| 149 |
if x != nil { |
| 150 |
return x.Domains |
| 151 |
} |
| 152 |
return nil |
| 153 |
} |
| 154 |
|
| 155 |
func (x *Indicator) GetSignatures() []*Indicator_ProcessSignature { |
| 156 |
if x != nil { |
| 157 |
return x.Signatures |
| 158 |
} |
| 159 |
return nil |
| 160 |
} |
| 161 |
|
| 162 |
func (x *Indicator) GetUris() []string { |
| 163 |
if x != nil { |
| 164 |
return x.Uris |
| 165 |
} |
| 166 |
return nil |
| 167 |
} |
| 168 |
|
| 169 |
// Indicates what signature matched this process. |
| 170 |
type Indicator_ProcessSignature struct { |
| 171 |
state protoimpl.MessageState |
| 172 |
sizeCache protoimpl.SizeCache |
| 173 |
unknownFields protoimpl.UnknownFields |
| 174 |
|
| 175 |
// The signature. |
| 176 |
// |
| 177 |
// Types that are assignable to Signature: |
| 178 |
// |
| 179 |
// *Indicator_ProcessSignature_MemoryHashSignature_ |
| 180 |
// *Indicator_ProcessSignature_YaraRuleSignature_ |
| 181 |
Signature isIndicator_ProcessSignature_Signature `protobuf_oneof:"signature"` |
| 182 |
// Describes the type of resource associated with the signature. |
| 183 |
SignatureType Indicator_ProcessSignature_SignatureType `protobuf:"varint,8,opt,name=signature_type,json=signatureType,proto3,enum=google.cloud.securitycenter.v2.Indicator_ProcessSignature_SignatureType" json:"signature_type,omitempty"` |
| 184 |
} |
| 185 |
|
| 186 |
func (x *Indicator_ProcessSignature) Reset() { |
| 187 |
*x = Indicator_ProcessSignature{} |
| 188 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[1] |
| 189 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 190 |
ms.StoreMessageInfo(mi) |
| 191 |
} |
| 192 |
|
| 193 |
func (x *Indicator_ProcessSignature) String() string { |
| 194 |
return protoimpl.X.MessageStringOf(x) |
| 195 |
} |
| 196 |
|
| 197 |
func (*Indicator_ProcessSignature) ProtoMessage() {} |
| 198 |
|
| 199 |
func (x *Indicator_ProcessSignature) ProtoReflect() protoreflect.Message { |
| 200 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[1] |
| 201 |
if x != nil { |
| 202 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 203 |
if ms.LoadMessageInfo() == nil { |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
return ms |
| 207 |
} |
| 208 |
return mi.MessageOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
// Deprecated: Use Indicator_ProcessSignature.ProtoReflect.Descriptor instead. |
| 212 |
func (*Indicator_ProcessSignature) Descriptor() ([]byte, []int) { |
| 213 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0, 0} |
| 214 |
} |
| 215 |
|
| 216 |
func (m *Indicator_ProcessSignature) GetSignature() isIndicator_ProcessSignature_Signature { |
| 217 |
if m != nil { |
| 218 |
return m.Signature |
| 219 |
} |
| 220 |
return nil |
| 221 |
} |
| 222 |
|
| 223 |
func (x *Indicator_ProcessSignature) GetMemoryHashSignature() *Indicator_ProcessSignature_MemoryHashSignature { |
| 224 |
if x, ok := x.GetSignature().(*Indicator_ProcessSignature_MemoryHashSignature_); ok { |
| 225 |
return x.MemoryHashSignature |
| 226 |
} |
| 227 |
return nil |
| 228 |
} |
| 229 |
|
| 230 |
func (x *Indicator_ProcessSignature) GetYaraRuleSignature() *Indicator_ProcessSignature_YaraRuleSignature { |
| 231 |
if x, ok := x.GetSignature().(*Indicator_ProcessSignature_YaraRuleSignature_); ok { |
| 232 |
return x.YaraRuleSignature |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
func (x *Indicator_ProcessSignature) GetSignatureType() Indicator_ProcessSignature_SignatureType { |
| 238 |
if x != nil { |
| 239 |
return x.SignatureType |
| 240 |
} |
| 241 |
return Indicator_ProcessSignature_SIGNATURE_TYPE_UNSPECIFIED |
| 242 |
} |
| 243 |
|
| 244 |
type isIndicator_ProcessSignature_Signature interface { |
| 245 |
isIndicator_ProcessSignature_Signature() |
| 246 |
} |
| 247 |
|
| 248 |
type Indicator_ProcessSignature_MemoryHashSignature_ struct { |
| 249 |
// Signature indicating that a binary family was matched. |
| 250 |
MemoryHashSignature *Indicator_ProcessSignature_MemoryHashSignature `protobuf:"bytes,6,opt,name=memory_hash_signature,json=memoryHashSignature,proto3,oneof"` |
| 251 |
} |
| 252 |
|
| 253 |
type Indicator_ProcessSignature_YaraRuleSignature_ struct { |
| 254 |
// Signature indicating that a YARA rule was matched. |
| 255 |
YaraRuleSignature *Indicator_ProcessSignature_YaraRuleSignature `protobuf:"bytes,7,opt,name=yara_rule_signature,json=yaraRuleSignature,proto3,oneof"` |
| 256 |
} |
| 257 |
|
| 258 |
func (*Indicator_ProcessSignature_MemoryHashSignature_) isIndicator_ProcessSignature_Signature() {} |
| 259 |
|
| 260 |
func (*Indicator_ProcessSignature_YaraRuleSignature_) isIndicator_ProcessSignature_Signature() {} |
| 261 |
|
| 262 |
// A signature corresponding to memory page hashes. |
| 263 |
type Indicator_ProcessSignature_MemoryHashSignature struct { |
| 264 |
state protoimpl.MessageState |
| 265 |
sizeCache protoimpl.SizeCache |
| 266 |
unknownFields protoimpl.UnknownFields |
| 267 |
|
| 268 |
// The binary family. |
| 269 |
BinaryFamily string `protobuf:"bytes,1,opt,name=binary_family,json=binaryFamily,proto3" json:"binary_family,omitempty"` |
| 270 |
// The list of memory hash detections contributing to the binary family |
| 271 |
// match. |
| 272 |
Detections []*Indicator_ProcessSignature_MemoryHashSignature_Detection `protobuf:"bytes,4,rep,name=detections,proto3" json:"detections,omitempty"` |
| 273 |
} |
| 274 |
|
| 275 |
func (x *Indicator_ProcessSignature_MemoryHashSignature) Reset() { |
| 276 |
*x = Indicator_ProcessSignature_MemoryHashSignature{} |
| 277 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[2] |
| 278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 279 |
ms.StoreMessageInfo(mi) |
| 280 |
} |
| 281 |
|
| 282 |
func (x *Indicator_ProcessSignature_MemoryHashSignature) String() string { |
| 283 |
return protoimpl.X.MessageStringOf(x) |
| 284 |
} |
| 285 |
|
| 286 |
func (*Indicator_ProcessSignature_MemoryHashSignature) ProtoMessage() {} |
| 287 |
|
| 288 |
func (x *Indicator_ProcessSignature_MemoryHashSignature) ProtoReflect() protoreflect.Message { |
| 289 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[2] |
| 290 |
if x != nil { |
| 291 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 292 |
if ms.LoadMessageInfo() == nil { |
| 293 |
ms.StoreMessageInfo(mi) |
| 294 |
} |
| 295 |
return ms |
| 296 |
} |
| 297 |
return mi.MessageOf(x) |
| 298 |
} |
| 299 |
|
| 300 |
// Deprecated: Use Indicator_ProcessSignature_MemoryHashSignature.ProtoReflect.Descriptor instead. |
| 301 |
func (*Indicator_ProcessSignature_MemoryHashSignature) Descriptor() ([]byte, []int) { |
| 302 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0, 0, 0} |
| 303 |
} |
| 304 |
|
| 305 |
func (x *Indicator_ProcessSignature_MemoryHashSignature) GetBinaryFamily() string { |
| 306 |
if x != nil { |
| 307 |
return x.BinaryFamily |
| 308 |
} |
| 309 |
return "" |
| 310 |
} |
| 311 |
|
| 312 |
func (x *Indicator_ProcessSignature_MemoryHashSignature) GetDetections() []*Indicator_ProcessSignature_MemoryHashSignature_Detection { |
| 313 |
if x != nil { |
| 314 |
return x.Detections |
| 315 |
} |
| 316 |
return nil |
| 317 |
} |
| 318 |
|
| 319 |
// A signature corresponding to a YARA rule. |
| 320 |
type Indicator_ProcessSignature_YaraRuleSignature struct { |
| 321 |
state protoimpl.MessageState |
| 322 |
sizeCache protoimpl.SizeCache |
| 323 |
unknownFields protoimpl.UnknownFields |
| 324 |
|
| 325 |
// The name of the YARA rule. |
| 326 |
YaraRule string `protobuf:"bytes,5,opt,name=yara_rule,json=yaraRule,proto3" json:"yara_rule,omitempty"` |
| 327 |
} |
| 328 |
|
| 329 |
func (x *Indicator_ProcessSignature_YaraRuleSignature) Reset() { |
| 330 |
*x = Indicator_ProcessSignature_YaraRuleSignature{} |
| 331 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[3] |
| 332 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 333 |
ms.StoreMessageInfo(mi) |
| 334 |
} |
| 335 |
|
| 336 |
func (x *Indicator_ProcessSignature_YaraRuleSignature) String() string { |
| 337 |
return protoimpl.X.MessageStringOf(x) |
| 338 |
} |
| 339 |
|
| 340 |
func (*Indicator_ProcessSignature_YaraRuleSignature) ProtoMessage() {} |
| 341 |
|
| 342 |
func (x *Indicator_ProcessSignature_YaraRuleSignature) ProtoReflect() protoreflect.Message { |
| 343 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[3] |
| 344 |
if x != nil { |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
if ms.LoadMessageInfo() == nil { |
| 347 |
ms.StoreMessageInfo(mi) |
| 348 |
} |
| 349 |
return ms |
| 350 |
} |
| 351 |
return mi.MessageOf(x) |
| 352 |
} |
| 353 |
|
| 354 |
// Deprecated: Use Indicator_ProcessSignature_YaraRuleSignature.ProtoReflect.Descriptor instead. |
| 355 |
func (*Indicator_ProcessSignature_YaraRuleSignature) Descriptor() ([]byte, []int) { |
| 356 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0, 0, 1} |
| 357 |
} |
| 358 |
|
| 359 |
func (x *Indicator_ProcessSignature_YaraRuleSignature) GetYaraRule() string { |
| 360 |
if x != nil { |
| 361 |
return x.YaraRule |
| 362 |
} |
| 363 |
return "" |
| 364 |
} |
| 365 |
|
| 366 |
// Memory hash detection contributing to the binary family match. |
| 367 |
type Indicator_ProcessSignature_MemoryHashSignature_Detection struct { |
| 368 |
state protoimpl.MessageState |
| 369 |
sizeCache protoimpl.SizeCache |
| 370 |
unknownFields protoimpl.UnknownFields |
| 371 |
|
| 372 |
// The name of the binary associated with the memory hash |
| 373 |
// signature detection. |
| 374 |
Binary string `protobuf:"bytes,2,opt,name=binary,proto3" json:"binary,omitempty"` |
| 375 |
// The percentage of memory page hashes in the signature |
| 376 |
// that were matched. |
| 377 |
PercentPagesMatched float64 `protobuf:"fixed64,3,opt,name=percent_pages_matched,json=percentPagesMatched,proto3" json:"percent_pages_matched,omitempty"` |
| 378 |
} |
| 379 |
|
| 380 |
func (x *Indicator_ProcessSignature_MemoryHashSignature_Detection) Reset() { |
| 381 |
*x = Indicator_ProcessSignature_MemoryHashSignature_Detection{} |
| 382 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[4] |
| 383 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 384 |
ms.StoreMessageInfo(mi) |
| 385 |
} |
| 386 |
|
| 387 |
func (x *Indicator_ProcessSignature_MemoryHashSignature_Detection) String() string { |
| 388 |
return protoimpl.X.MessageStringOf(x) |
| 389 |
} |
| 390 |
|
| 391 |
func (*Indicator_ProcessSignature_MemoryHashSignature_Detection) ProtoMessage() {} |
| 392 |
|
| 393 |
func (x *Indicator_ProcessSignature_MemoryHashSignature_Detection) ProtoReflect() protoreflect.Message { |
| 394 |
mi := &file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[4] |
| 395 |
if x != nil { |
| 396 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 397 |
if ms.LoadMessageInfo() == nil { |
| 398 |
ms.StoreMessageInfo(mi) |
| 399 |
} |
| 400 |
return ms |
| 401 |
} |
| 402 |
return mi.MessageOf(x) |
| 403 |
} |
| 404 |
|
| 405 |
// Deprecated: Use Indicator_ProcessSignature_MemoryHashSignature_Detection.ProtoReflect.Descriptor instead. |
| 406 |
func (*Indicator_ProcessSignature_MemoryHashSignature_Detection) Descriptor() ([]byte, []int) { |
| 407 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP(), []int{0, 0, 0, 0} |
| 408 |
} |
| 409 |
|
| 410 |
func (x *Indicator_ProcessSignature_MemoryHashSignature_Detection) GetBinary() string { |
| 411 |
if x != nil { |
| 412 |
return x.Binary |
| 413 |
} |
| 414 |
return "" |
| 415 |
} |
| 416 |
|
| 417 |
func (x *Indicator_ProcessSignature_MemoryHashSignature_Detection) GetPercentPagesMatched() float64 { |
| 418 |
if x != nil { |
| 419 |
return x.PercentPagesMatched |
| 420 |
} |
| 421 |
return 0 |
| 422 |
} |
| 423 |
|
| 424 |
var File_google_cloud_securitycenter_v2_indicator_proto protoreflect.FileDescriptor |
| 425 |
|
| 426 |
var file_google_cloud_securitycenter_v2_indicator_proto_rawDesc = []byte{ |
| 427 |
0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 428 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, |
| 429 |
0x2f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 430 |
0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 431 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, |
| 432 |
0x22, 0xfa, 0x07, 0x0a, 0x09, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x21, |
| 433 |
0x0a, 0x0c, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, |
| 434 |
0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, |
| 435 |
0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, |
| 436 |
0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x0a, 0x73, |
| 437 |
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 438 |
0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 439 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, |
| 440 |
0x2e, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, |
| 441 |
0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, |
| 442 |
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, |
| 443 |
0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x1a, 0xbf, 0x06, 0x0a, 0x10, |
| 444 |
0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, |
| 445 |
0x12, 0x84, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, |
| 446 |
0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, |
| 447 |
0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 448 |
0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, |
| 449 |
0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x63, |
| 450 |
0x65, 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6d, |
| 451 |
0x6f, 0x72, 0x79, 0x48, 0x61, 0x73, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, |
| 452 |
0x48, 0x00, 0x52, 0x13, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x48, 0x61, 0x73, 0x68, 0x53, 0x69, |
| 453 |
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x7e, 0x0a, 0x13, 0x79, 0x61, 0x72, 0x61, 0x5f, |
| 454 |
0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, |
| 455 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 456 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, |
| 457 |
0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, |
| 458 |
0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, |
| 459 |
0x2e, 0x59, 0x61, 0x72, 0x61, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, |
| 460 |
0x72, 0x65, 0x48, 0x00, 0x52, 0x11, 0x79, 0x61, 0x72, 0x61, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x69, |
| 461 |
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, |
| 462 |
0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 463 |
0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, |
| 464 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, |
| 465 |
0x2e, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, |
| 466 |
0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, |
| 467 |
0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, |
| 468 |
0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x8d, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x6d, |
| 469 |
0x6f, 0x72, 0x79, 0x48, 0x61, 0x73, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, |
| 470 |
0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, |
| 471 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, |
| 472 |
0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x78, 0x0a, 0x0a, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, |
| 473 |
0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 474 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, |
| 475 |
0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x63, |
| 476 |
0x61, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, |
| 477 |
0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x48, 0x61, 0x73, 0x68, |
| 478 |
0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, |
| 479 |
0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, |
| 480 |
0x57, 0x0a, 0x09, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, |
| 481 |
0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, |
| 482 |
0x6e, 0x61, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, |
| 483 |
0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, |
| 484 |
0x01, 0x28, 0x01, 0x52, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x65, |
| 485 |
0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x1a, 0x30, 0x0a, 0x11, 0x59, 0x61, 0x72, 0x61, |
| 486 |
0x52, 0x75, 0x6c, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, |
| 487 |
0x09, 0x79, 0x61, 0x72, 0x61, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, |
| 488 |
0x52, 0x08, 0x79, 0x61, 0x72, 0x61, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x53, 0x69, |
| 489 |
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x53, |
| 490 |
0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 491 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, |
| 492 |
0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, |
| 493 |
0x4f, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x49, 0x47, 0x4e, 0x41, |
| 494 |
0x54, 0x55, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, |
| 495 |
0x42, 0x0b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0xe8, 0x01, |
| 496 |
0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 497 |
0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, |
| 498 |
0x72, 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x50, |
| 499 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, |
| 500 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, |
| 501 |
0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, |
| 502 |
0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, |
| 503 |
0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, |
| 504 |
0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, |
| 505 |
0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, |
| 506 |
0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, |
| 507 |
0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, |
| 508 |
0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, |
| 509 |
0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, |
| 510 |
0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 511 |
} |
| 512 |
|
| 513 |
var ( |
| 514 |
file_google_cloud_securitycenter_v2_indicator_proto_rawDescOnce sync.Once |
| 515 |
file_google_cloud_securitycenter_v2_indicator_proto_rawDescData = file_google_cloud_securitycenter_v2_indicator_proto_rawDesc |
| 516 |
) |
| 517 |
|
| 518 |
func file_google_cloud_securitycenter_v2_indicator_proto_rawDescGZIP() []byte { |
| 519 |
file_google_cloud_securitycenter_v2_indicator_proto_rawDescOnce.Do(func() { |
| 520 |
file_google_cloud_securitycenter_v2_indicator_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_indicator_proto_rawDescData) |
| 521 |
}) |
| 522 |
return file_google_cloud_securitycenter_v2_indicator_proto_rawDescData |
| 523 |
} |
| 524 |
|
| 525 |
var file_google_cloud_securitycenter_v2_indicator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 526 |
var file_google_cloud_securitycenter_v2_indicator_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 527 |
var file_google_cloud_securitycenter_v2_indicator_proto_goTypes = []any{ |
| 528 |
(Indicator_ProcessSignature_SignatureType)(0), // 0: google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType |
| 529 |
(*Indicator)(nil), // 1: google.cloud.securitycenter.v2.Indicator |
| 530 |
(*Indicator_ProcessSignature)(nil), // 2: google.cloud.securitycenter.v2.Indicator.ProcessSignature |
| 531 |
(*Indicator_ProcessSignature_MemoryHashSignature)(nil), // 3: google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature |
| 532 |
(*Indicator_ProcessSignature_YaraRuleSignature)(nil), // 4: google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature |
| 533 |
(*Indicator_ProcessSignature_MemoryHashSignature_Detection)(nil), // 5: google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature.Detection |
| 534 |
} |
| 535 |
var file_google_cloud_securitycenter_v2_indicator_proto_depIdxs = []int32{ |
| 536 |
2, // 0: google.cloud.securitycenter.v2.Indicator.signatures:type_name -> google.cloud.securitycenter.v2.Indicator.ProcessSignature |
| 537 |
3, // 1: google.cloud.securitycenter.v2.Indicator.ProcessSignature.memory_hash_signature:type_name -> google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature |
| 538 |
4, // 2: google.cloud.securitycenter.v2.Indicator.ProcessSignature.yara_rule_signature:type_name -> google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature |
| 539 |
0, // 3: google.cloud.securitycenter.v2.Indicator.ProcessSignature.signature_type:type_name -> google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType |
| 540 |
5, // 4: google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature.detections:type_name -> google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature.Detection |
| 541 |
5, // [5:5] is the sub-list for method output_type |
| 542 |
5, // [5:5] is the sub-list for method input_type |
| 543 |
5, // [5:5] is the sub-list for extension type_name |
| 544 |
5, // [5:5] is the sub-list for extension extendee |
| 545 |
0, // [0:5] is the sub-list for field type_name |
| 546 |
} |
| 547 |
|
| 548 |
func init() { file_google_cloud_securitycenter_v2_indicator_proto_init() } |
| 549 |
func file_google_cloud_securitycenter_v2_indicator_proto_init() { |
| 550 |
if File_google_cloud_securitycenter_v2_indicator_proto != nil { |
| 551 |
return |
| 552 |
} |
| 553 |
file_google_cloud_securitycenter_v2_indicator_proto_msgTypes[1].OneofWrappers = []any{ |
| 554 |
(*Indicator_ProcessSignature_MemoryHashSignature_)(nil), |
| 555 |
(*Indicator_ProcessSignature_YaraRuleSignature_)(nil), |
| 556 |
} |
| 557 |
type x struct{} |
| 558 |
out := protoimpl.TypeBuilder{ |
| 559 |
File: protoimpl.DescBuilder{ |
| 560 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 561 |
RawDescriptor: file_google_cloud_securitycenter_v2_indicator_proto_rawDesc, |
| 562 |
NumEnums: 1, |
| 563 |
NumMessages: 5, |
| 564 |
NumExtensions: 0, |
| 565 |
NumServices: 0, |
| 566 |
}, |
| 567 |
GoTypes: file_google_cloud_securitycenter_v2_indicator_proto_goTypes, |
| 568 |
DependencyIndexes: file_google_cloud_securitycenter_v2_indicator_proto_depIdxs, |
| 569 |
EnumInfos: file_google_cloud_securitycenter_v2_indicator_proto_enumTypes, |
| 570 |
MessageInfos: file_google_cloud_securitycenter_v2_indicator_proto_msgTypes, |
| 571 |
}.Build() |
| 572 |
File_google_cloud_securitycenter_v2_indicator_proto = out.File |
| 573 |
file_google_cloud_securitycenter_v2_indicator_proto_rawDesc = nil |
| 574 |
file_google_cloud_securitycenter_v2_indicator_proto_goTypes = nil |
| 575 |
file_google_cloud_securitycenter_v2_indicator_proto_depIdxs = nil |
| 576 |
} |