diff --git a/proto/ocsf/ocsf_ext/finding_info/v1/finding_info.proto b/proto/ocsf/ocsf_ext/finding_info/v1/finding_info.proto index f0f05d0e9..adb3e3a4c 100644 --- a/proto/ocsf/ocsf_ext/finding_info/v1/finding_info.proto +++ b/proto/ocsf/ocsf_ext/finding_info/v1/finding_info.proto @@ -61,7 +61,7 @@ message Enrichment { // a list of finding ids, of the other findings it has been correlated to message CorrelationEnrichment { - repeated string findings = 1; + repeated uint64 findings = 1; } EnrichmentType enrichment_type = 1; diff --git a/sdk/gen/ocsf_ext/finding_info/v1/finding_info.pb.go b/sdk/gen/ocsf_ext/finding_info/v1/finding_info.pb.go index f226bf7c4..d34f2cdb4 100644 --- a/sdk/gen/ocsf_ext/finding_info/v1/finding_info.pb.go +++ b/sdk/gen/ocsf_ext/finding_info/v1/finding_info.pb.go @@ -7,11 +7,10 @@ package v1 import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( @@ -572,7 +571,7 @@ type Enrichment_CorrelationEnrichment struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Findings []string `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` + Findings []uint64 `protobuf:"varint,1,rep,packed,name=findings,proto3" json:"findings,omitempty"` } func (x *Enrichment_CorrelationEnrichment) Reset() { @@ -607,7 +606,7 @@ func (*Enrichment_CorrelationEnrichment) Descriptor() ([]byte, []int) { return file_ocsf_ext_finding_info_v1_finding_info_proto_rawDescGZIP(), []int{1, 1} } -func (x *Enrichment_CorrelationEnrichment) GetFindings() []string { +func (x *Enrichment_CorrelationEnrichment) GetFindings() []uint64 { if x != nil { return x.Findings } @@ -692,7 +691,7 @@ var file_ocsf_ext_finding_info_v1_finding_info_proto_rawDesc = []byte{ 0x0a, 0x13, 0x44, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x33, 0x0a, 0x15, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x73, 0x0a, 0x0e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x4e, 0x52, 0x49, 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,