mirror of
https://dev.azure.com/schwarzit/schwarzit.stackit-public/_git/audit-go
synced 2026-02-07 16:47:24 +00:00
543 lines
20 KiB
Go
543 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.1
|
|
// protoc (unknown)
|
|
// source: audit/v1/routable_event.proto
|
|
|
|
package auditV1
|
|
|
|
import (
|
|
_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Visibility int32
|
|
|
|
const (
|
|
Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
|
|
// Will be routed to customer data sinks
|
|
Visibility_VISIBILITY_PUBLIC Visibility = 1
|
|
// Will NOT be routed to customer data sinks
|
|
Visibility_VISIBILITY_PRIVATE Visibility = 2
|
|
)
|
|
|
|
// Enum value maps for Visibility.
|
|
var (
|
|
Visibility_name = map[int32]string{
|
|
0: "VISIBILITY_UNSPECIFIED",
|
|
1: "VISIBILITY_PUBLIC",
|
|
2: "VISIBILITY_PRIVATE",
|
|
}
|
|
Visibility_value = map[string]int32{
|
|
"VISIBILITY_UNSPECIFIED": 0,
|
|
"VISIBILITY_PUBLIC": 1,
|
|
"VISIBILITY_PRIVATE": 2,
|
|
}
|
|
)
|
|
|
|
func (x Visibility) Enum() *Visibility {
|
|
p := new(Visibility)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Visibility) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Visibility) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_audit_v1_routable_event_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Visibility) Type() protoreflect.EnumType {
|
|
return &file_audit_v1_routable_event_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Visibility) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Visibility.Descriptor instead.
|
|
func (Visibility) EnumDescriptor() ([]byte, []int) {
|
|
return file_audit_v1_routable_event_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Identifier of an object.
|
|
//
|
|
// For system events, the nil UUID must be used: 00000000-0000-0000-0000-000000000000.
|
|
type ObjectIdentifier struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Identifier of the respective entity (e.g. Identifier of an organization)
|
|
//
|
|
// Required: true
|
|
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
// Entity data type relevant for routing - one of the list of supported object types.
|
|
//
|
|
// Required: true
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
}
|
|
|
|
func (x *ObjectIdentifier) Reset() {
|
|
*x = ObjectIdentifier{}
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectIdentifier) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectIdentifier) ProtoMessage() {}
|
|
|
|
func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message {
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
|
|
func (*ObjectIdentifier) Descriptor() ([]byte, []int) {
|
|
return file_audit_v1_routable_event_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ObjectIdentifier) GetIdentifier() string {
|
|
if x != nil {
|
|
return x.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectIdentifier) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EncryptedData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Encrypted serialized protobuf content (the actual audit event)
|
|
//
|
|
// Required: true
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
// Name of the protobuf type
|
|
//
|
|
// Required: true
|
|
ProtobufType string `protobuf:"bytes,2,opt,name=protobuf_type,json=protobufType,proto3" json:"protobuf_type,omitempty"`
|
|
// The password taken to derive the encryption key from
|
|
//
|
|
// Required: true
|
|
EncryptedPassword string `protobuf:"bytes,3,opt,name=encrypted_password,json=encryptedPassword,proto3" json:"encrypted_password,omitempty"`
|
|
// Version of the encrypted key
|
|
//
|
|
// Required: true
|
|
KeyVersion int32 `protobuf:"varint,4,opt,name=key_version,json=keyVersion,proto3" json:"key_version,omitempty"`
|
|
}
|
|
|
|
func (x *EncryptedData) Reset() {
|
|
*x = EncryptedData{}
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EncryptedData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EncryptedData) ProtoMessage() {}
|
|
|
|
func (x *EncryptedData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EncryptedData.ProtoReflect.Descriptor instead.
|
|
func (*EncryptedData) Descriptor() ([]byte, []int) {
|
|
return file_audit_v1_routable_event_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *EncryptedData) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EncryptedData) GetProtobufType() string {
|
|
if x != nil {
|
|
return x.ProtobufType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EncryptedData) GetEncryptedPassword() string {
|
|
if x != nil {
|
|
return x.EncryptedPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EncryptedData) GetKeyVersion() int32 {
|
|
if x != nil {
|
|
return x.KeyVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UnencryptedData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Unencrypted serialized protobuf content (the actual audit event)
|
|
//
|
|
// Required: true
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
// Name of the protobuf type
|
|
//
|
|
// Required: true
|
|
ProtobufType string `protobuf:"bytes,2,opt,name=protobuf_type,json=protobufType,proto3" json:"protobuf_type,omitempty"`
|
|
}
|
|
|
|
func (x *UnencryptedData) Reset() {
|
|
*x = UnencryptedData{}
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UnencryptedData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnencryptedData) ProtoMessage() {}
|
|
|
|
func (x *UnencryptedData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UnencryptedData.ProtoReflect.Descriptor instead.
|
|
func (*UnencryptedData) Descriptor() ([]byte, []int) {
|
|
return file_audit_v1_routable_event_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UnencryptedData) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UnencryptedData) GetProtobufType() string {
|
|
if x != nil {
|
|
return x.ProtobufType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RoutableAuditEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Functional event name with pattern
|
|
//
|
|
// Format: stackit.<product>.<version>.<type-chain>.<operation>
|
|
// Where:
|
|
//
|
|
// Product: The name of the service in lowercase
|
|
// Version: Optional API version
|
|
// Type-Chain: Chained path to object
|
|
// Operation: The name of the operation in lowercase
|
|
//
|
|
// Examples:
|
|
//
|
|
// "stackit.resource-manager.v1.organizations.create"
|
|
// "stackit.authorization.v1.projects.volumes.create"
|
|
// "stackit.authorization.v2alpha.projects.volumes.create"
|
|
// "stackit.authorization.v2.folders.move"
|
|
// "stackit.resource-manager.health"
|
|
//
|
|
// Required: true
|
|
OperationName string `protobuf:"bytes,1,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"`
|
|
// Visibility relevant for differentiating between internal and public events
|
|
//
|
|
// Required: true
|
|
Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=audit.v1.Visibility" json:"visibility,omitempty"`
|
|
// Identifier the audit log event refers to.
|
|
//
|
|
// System events, will not be routed to the end-user.
|
|
//
|
|
// Required: true
|
|
ObjectIdentifier *ObjectIdentifier `protobuf:"bytes,3,opt,name=object_identifier,json=objectIdentifier,proto3" json:"object_identifier,omitempty"`
|
|
// The actual audit event is transferred in one of the attributes below
|
|
//
|
|
// Required: true
|
|
//
|
|
// Types that are assignable to Data:
|
|
//
|
|
// *RoutableAuditEvent_UnencryptedData
|
|
// *RoutableAuditEvent_EncryptedData
|
|
Data isRoutableAuditEvent_Data `protobuf_oneof:"data"`
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) Reset() {
|
|
*x = RoutableAuditEvent{}
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoutableAuditEvent) ProtoMessage() {}
|
|
|
|
func (x *RoutableAuditEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_audit_v1_routable_event_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoutableAuditEvent.ProtoReflect.Descriptor instead.
|
|
func (*RoutableAuditEvent) Descriptor() ([]byte, []int) {
|
|
return file_audit_v1_routable_event_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) GetOperationName() string {
|
|
if x != nil {
|
|
return x.OperationName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) GetVisibility() Visibility {
|
|
if x != nil {
|
|
return x.Visibility
|
|
}
|
|
return Visibility_VISIBILITY_UNSPECIFIED
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) GetObjectIdentifier() *ObjectIdentifier {
|
|
if x != nil {
|
|
return x.ObjectIdentifier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RoutableAuditEvent) GetData() isRoutableAuditEvent_Data {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) GetUnencryptedData() *UnencryptedData {
|
|
if x, ok := x.GetData().(*RoutableAuditEvent_UnencryptedData); ok {
|
|
return x.UnencryptedData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RoutableAuditEvent) GetEncryptedData() *EncryptedData {
|
|
if x, ok := x.GetData().(*RoutableAuditEvent_EncryptedData); ok {
|
|
return x.EncryptedData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRoutableAuditEvent_Data interface {
|
|
isRoutableAuditEvent_Data()
|
|
}
|
|
|
|
type RoutableAuditEvent_UnencryptedData struct {
|
|
UnencryptedData *UnencryptedData `protobuf:"bytes,4,opt,name=unencrypted_data,json=unencryptedData,proto3,oneof"`
|
|
}
|
|
|
|
type RoutableAuditEvent_EncryptedData struct {
|
|
EncryptedData *EncryptedData `protobuf:"bytes,5,opt,name=encrypted_data,json=encryptedData,proto3,oneof"`
|
|
}
|
|
|
|
func (*RoutableAuditEvent_UnencryptedData) isRoutableAuditEvent_Data() {}
|
|
|
|
func (*RoutableAuditEvent_EncryptedData) isRoutableAuditEvent_Data() {}
|
|
|
|
var File_audit_v1_routable_event_proto protoreflect.FileDescriptor
|
|
|
|
var file_audit_v1_routable_event_proto_rawDesc = []byte{
|
|
0x0a, 0x1d, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x61,
|
|
0x62, 0x6c, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x08, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x62, 0x75, 0x66, 0x2f, 0x76,
|
|
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x10, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
|
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x0a, 0x69, 0x64,
|
|
0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b,
|
|
0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x72, 0x03, 0xb0, 0x01, 0x01, 0x52, 0x0a, 0x69, 0x64, 0x65,
|
|
0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10,
|
|
0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x0d, 0x45, 0x6e, 0x63, 0x72,
|
|
0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x7a,
|
|
0x02, 0x10, 0x01, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0d, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x12, 0x65, 0x6e,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02,
|
|
0x10, 0x01, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x50, 0x61, 0x73,
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x07, 0xba, 0x48, 0x04, 0x1a,
|
|
0x02, 0x28, 0x01, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
|
|
0x62, 0x0a, 0x0f, 0x55, 0x6e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61,
|
|
0x74, 0x61, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x7a, 0x02, 0x10, 0x01, 0x52, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x12, 0x2f, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x74,
|
|
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01,
|
|
0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x54,
|
|
0x79, 0x70, 0x65, 0x22, 0xb5, 0x03, 0x0a, 0x12, 0x52, 0x6f, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
|
0x41, 0x75, 0x64, 0x69, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x72, 0x0a, 0x0e, 0x6f, 0x70,
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x42, 0x4b, 0xba, 0x48, 0x48, 0xc8, 0x01, 0x01, 0x72, 0x43, 0x32, 0x41, 0x5e, 0x73,
|
|
0x74, 0x61, 0x63, 0x6b, 0x69, 0x74, 0x5c, 0x2e, 0x5b, 0x61, 0x2d, 0x7a, 0x30, 0x2d, 0x39, 0x2d,
|
|
0x5d, 0x2b, 0x5c, 0x2e, 0x28, 0x3f, 0x3a, 0x76, 0x5b, 0x30, 0x2d, 0x39, 0x5d, 0x2b, 0x5c, 0x2e,
|
|
0x29, 0x3f, 0x28, 0x3f, 0x3a, 0x5b, 0x61, 0x2d, 0x7a, 0x30, 0x2d, 0x39, 0x2d, 0x2e, 0x5d, 0x2b,
|
|
0x5c, 0x2e, 0x29, 0x3f, 0x5b, 0x61, 0x2d, 0x7a, 0x30, 0x2d, 0x39, 0x2d, 0x5d, 0x2b, 0x24, 0x52,
|
|
0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41,
|
|
0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x14, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69,
|
|
0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01,
|
|
0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74,
|
|
0x79, 0x12, 0x4f, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e,
|
|
0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61,
|
|
0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64,
|
|
0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01,
|
|
0x52, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
|
|
0x65, 0x72, 0x12, 0x46, 0x0a, 0x10, 0x75, 0x6e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
|
|
0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61,
|
|
0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70,
|
|
0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0f, 0x75, 0x6e, 0x65, 0x6e, 0x63,
|
|
0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0e, 0x65, 0x6e,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e,
|
|
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0d, 0x65,
|
|
0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x42, 0x0d, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x2a, 0x57, 0x0a, 0x0a, 0x56,
|
|
0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53,
|
|
0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
|
|
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c,
|
|
0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12,
|
|
0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41,
|
|
0x54, 0x45, 0x10, 0x02, 0x42, 0x31, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x63, 0x68, 0x77,
|
|
0x61, 0x72, 0x7a, 0x2e, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x69, 0x74, 0x2e, 0x61, 0x75, 0x64, 0x69,
|
|
0x74, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x0f, 0x2e, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x3b,
|
|
0x61, 0x75, 0x64, 0x69, 0x74, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_audit_v1_routable_event_proto_rawDescOnce sync.Once
|
|
file_audit_v1_routable_event_proto_rawDescData = file_audit_v1_routable_event_proto_rawDesc
|
|
)
|
|
|
|
func file_audit_v1_routable_event_proto_rawDescGZIP() []byte {
|
|
file_audit_v1_routable_event_proto_rawDescOnce.Do(func() {
|
|
file_audit_v1_routable_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_audit_v1_routable_event_proto_rawDescData)
|
|
})
|
|
return file_audit_v1_routable_event_proto_rawDescData
|
|
}
|
|
|
|
var file_audit_v1_routable_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_audit_v1_routable_event_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_audit_v1_routable_event_proto_goTypes = []any{
|
|
(Visibility)(0), // 0: audit.v1.Visibility
|
|
(*ObjectIdentifier)(nil), // 1: audit.v1.ObjectIdentifier
|
|
(*EncryptedData)(nil), // 2: audit.v1.EncryptedData
|
|
(*UnencryptedData)(nil), // 3: audit.v1.UnencryptedData
|
|
(*RoutableAuditEvent)(nil), // 4: audit.v1.RoutableAuditEvent
|
|
}
|
|
var file_audit_v1_routable_event_proto_depIdxs = []int32{
|
|
0, // 0: audit.v1.RoutableAuditEvent.visibility:type_name -> audit.v1.Visibility
|
|
1, // 1: audit.v1.RoutableAuditEvent.object_identifier:type_name -> audit.v1.ObjectIdentifier
|
|
3, // 2: audit.v1.RoutableAuditEvent.unencrypted_data:type_name -> audit.v1.UnencryptedData
|
|
2, // 3: audit.v1.RoutableAuditEvent.encrypted_data:type_name -> audit.v1.EncryptedData
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_audit_v1_routable_event_proto_init() }
|
|
func file_audit_v1_routable_event_proto_init() {
|
|
if File_audit_v1_routable_event_proto != nil {
|
|
return
|
|
}
|
|
file_audit_v1_routable_event_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*RoutableAuditEvent_UnencryptedData)(nil),
|
|
(*RoutableAuditEvent_EncryptedData)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_audit_v1_routable_event_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_audit_v1_routable_event_proto_goTypes,
|
|
DependencyIndexes: file_audit_v1_routable_event_proto_depIdxs,
|
|
EnumInfos: file_audit_v1_routable_event_proto_enumTypes,
|
|
MessageInfos: file_audit_v1_routable_event_proto_msgTypes,
|
|
}.Build()
|
|
File_audit_v1_routable_event_proto = out.File
|
|
file_audit_v1_routable_event_proto_rawDesc = nil
|
|
file_audit_v1_routable_event_proto_goTypes = nil
|
|
file_audit_v1_routable_event_proto_depIdxs = nil
|
|
}
|