tarianpb

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tarianpb holds protobuf for tarian APIs

Index

Constants

View Source
const EventTypeFalcoAlert = "falco_alert"
View Source
const EventTypePodDeleted = "pod_deleted"
View Source
const EventTypeViolation = "violation"
View Source
const KindAction = "Action"
View Source
const KindConstraint = "Constraint"
View Source
const KindEvent = "Event"

Variables

View Source
var (
	FalcoPriority_name = map[int32]string{
		0: "EMERGENCY",

		1: "ALERT",

		2: "CRITICAL",

		3: "ERROR",

		4: "WARNING",

		5: "NOTICE",

		6: "INFORMATIONAL",

		7: "DEBUG",
	}
	FalcoPriority_value = map[string]int32{
		"EMERGENCY":     0,
		"emergency":     0,
		"Emergency":     0,
		"ALERT":         1,
		"alert":         1,
		"Alert":         1,
		"CRITICAL":      2,
		"critical":      2,
		"Critical":      2,
		"ERROR":         3,
		"error":         3,
		"Error":         3,
		"WARNING":       4,
		"warning":       4,
		"Warning":       4,
		"NOTICE":        5,
		"notice":        5,
		"Notice":        5,
		"INFORMATIONAL": 6,
		"informational": 6,
		"Informational": 6,
		"DEBUG":         7,
		"debug":         7,
		"Debug":         7,
	}
)

Enum value maps for FalcoPriority.

View Source
var Config_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tarianpb.api.Config",
	HandlerType: (*ConfigServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConstraints",
			Handler:    _Config_GetConstraints_Handler,
		},
		{
			MethodName: "AddConstraint",
			Handler:    _Config_AddConstraint_Handler,
		},
		{
			MethodName: "RemoveConstraint",
			Handler:    _Config_RemoveConstraint_Handler,
		},
		{
			MethodName: "AddAction",
			Handler:    _Config_AddAction_Handler,
		},
		{
			MethodName: "GetActions",
			Handler:    _Config_GetActions_Handler,
		},
		{
			MethodName: "RemoveAction",
			Handler:    _Config_RemoveAction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tarianpb/api.proto",
}

Config_ServiceDesc is the grpc.ServiceDesc for Config service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Event_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tarianpb.api.Event",
	HandlerType: (*EventServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IngestEvent",
			Handler:    _Event_IngestEvent_Handler,
		},
		{
			MethodName: "GetEvents",
			Handler:    _Event_GetEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tarianpb/api.proto",
}

Event_ServiceDesc is the grpc.ServiceDesc for Event service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_tarianpb_api_proto protoreflect.FileDescriptor
View Source
var File_tarianpb_types_proto protoreflect.FileDescriptor

Functions

func RegisterConfigServer

func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)

func RegisterEventServer

func RegisterEventServer(s grpc.ServiceRegistrar, srv EventServer)

Types

type Action

type Action struct {
	Kind              string        `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Namespace         string        `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name              string        `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Selector          *Selector     `protobuf:"bytes,4,opt,name=selector,proto3" json:"selector,omitempty"`
	OnViolatedProcess bool          `protobuf:"varint,5,opt,name=onViolatedProcess,proto3" json:"onViolatedProcess,omitempty"`
	OnViolatedFile    bool          `protobuf:"varint,6,opt,name=onViolatedFile,proto3" json:"onViolatedFile,omitempty"`
	OnFalcoAlert      bool          `protobuf:"varint,7,opt,name=onFalcoAlert,proto3" json:"onFalcoAlert,omitempty"`
	FalcoPriority     FalcoPriority `protobuf:"varint,8,opt,name=falcoPriority,proto3,enum=tarianpb.types.FalcoPriority" json:"falcoPriority,omitempty"`
	Action            string        `protobuf:"bytes,9,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func NewAction

func NewAction() *Action

func (*Action) Descriptor deprecated

func (*Action) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetAction

func (x *Action) GetAction() string

func (*Action) GetFalcoPriority

func (x *Action) GetFalcoPriority() FalcoPriority

func (*Action) GetKind

func (x *Action) GetKind() string

func (*Action) GetName

func (x *Action) GetName() string

func (*Action) GetNamespace

func (x *Action) GetNamespace() string

func (*Action) GetOnFalcoAlert

func (x *Action) GetOnFalcoAlert() bool

func (*Action) GetOnViolatedFile

func (x *Action) GetOnViolatedFile() bool

func (*Action) GetOnViolatedProcess

func (x *Action) GetOnViolatedProcess() bool

func (*Action) GetSelector

func (x *Action) GetSelector() *Selector

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type AddActionRequest

type AddActionRequest struct {
	Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*AddActionRequest) Descriptor deprecated

func (*AddActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddActionRequest.ProtoReflect.Descriptor instead.

func (*AddActionRequest) GetAction

func (x *AddActionRequest) GetAction() *Action

func (*AddActionRequest) ProtoMessage

func (*AddActionRequest) ProtoMessage()

func (*AddActionRequest) ProtoReflect

func (x *AddActionRequest) ProtoReflect() protoreflect.Message

func (*AddActionRequest) Reset

func (x *AddActionRequest) Reset()

func (*AddActionRequest) String

func (x *AddActionRequest) String() string

type AddActionResponse

type AddActionResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AddActionResponse) Descriptor deprecated

func (*AddActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddActionResponse.ProtoReflect.Descriptor instead.

func (*AddActionResponse) GetSuccess

func (x *AddActionResponse) GetSuccess() bool

func (*AddActionResponse) ProtoMessage

func (*AddActionResponse) ProtoMessage()

func (*AddActionResponse) ProtoReflect

func (x *AddActionResponse) ProtoReflect() protoreflect.Message

func (*AddActionResponse) Reset

func (x *AddActionResponse) Reset()

func (*AddActionResponse) String

func (x *AddActionResponse) String() string

type AddConstraintRequest

type AddConstraintRequest struct {
	Constraint *Constraint `protobuf:"bytes,1,opt,name=constraint,proto3" json:"constraint,omitempty"`
	// contains filtered or unexported fields
}

func (*AddConstraintRequest) Descriptor deprecated

func (*AddConstraintRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddConstraintRequest.ProtoReflect.Descriptor instead.

func (*AddConstraintRequest) GetConstraint

func (x *AddConstraintRequest) GetConstraint() *Constraint

func (*AddConstraintRequest) ProtoMessage

func (*AddConstraintRequest) ProtoMessage()

func (*AddConstraintRequest) ProtoReflect

func (x *AddConstraintRequest) ProtoReflect() protoreflect.Message

func (*AddConstraintRequest) Reset

func (x *AddConstraintRequest) Reset()

func (*AddConstraintRequest) String

func (x *AddConstraintRequest) String() string

type AddConstraintResponse

type AddConstraintResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AddConstraintResponse) Descriptor deprecated

func (*AddConstraintResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddConstraintResponse.ProtoReflect.Descriptor instead.

func (*AddConstraintResponse) GetSuccess

func (x *AddConstraintResponse) GetSuccess() bool

func (*AddConstraintResponse) ProtoMessage

func (*AddConstraintResponse) ProtoMessage()

func (*AddConstraintResponse) ProtoReflect

func (x *AddConstraintResponse) ProtoReflect() protoreflect.Message

func (*AddConstraintResponse) Reset

func (x *AddConstraintResponse) Reset()

func (*AddConstraintResponse) String

func (x *AddConstraintResponse) String() string

type AllowedFileRule

type AllowedFileRule struct {
	Name      string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Sha256Sum *string `protobuf:"bytes,2,opt,name=sha256sum,proto3,oneof" json:"sha256sum,omitempty"`
	// contains filtered or unexported fields
}

func (*AllowedFileRule) Descriptor deprecated

func (*AllowedFileRule) Descriptor() ([]byte, []int)

Deprecated: Use AllowedFileRule.ProtoReflect.Descriptor instead.

func (*AllowedFileRule) GetName

func (x *AllowedFileRule) GetName() string

func (*AllowedFileRule) GetSha256Sum

func (x *AllowedFileRule) GetSha256Sum() string

func (*AllowedFileRule) ProtoMessage

func (*AllowedFileRule) ProtoMessage()

func (*AllowedFileRule) ProtoReflect

func (x *AllowedFileRule) ProtoReflect() protoreflect.Message

func (*AllowedFileRule) Reset

func (x *AllowedFileRule) Reset()

func (*AllowedFileRule) String

func (x *AllowedFileRule) String() string

type AllowedProcessRule

type AllowedProcessRule struct {
	Regex *string `protobuf:"bytes,1,opt,name=regex,proto3,oneof" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

func (*AllowedProcessRule) Descriptor deprecated

func (*AllowedProcessRule) Descriptor() ([]byte, []int)

Deprecated: Use AllowedProcessRule.ProtoReflect.Descriptor instead.

func (*AllowedProcessRule) GetRegex

func (x *AllowedProcessRule) GetRegex() string

func (*AllowedProcessRule) ProtoMessage

func (*AllowedProcessRule) ProtoMessage()

func (*AllowedProcessRule) ProtoReflect

func (x *AllowedProcessRule) ProtoReflect() protoreflect.Message

func (*AllowedProcessRule) Reset

func (x *AllowedProcessRule) Reset()

func (*AllowedProcessRule) String

func (x *AllowedProcessRule) String() string

type ConfigClient

type ConfigClient interface {
	GetConstraints(ctx context.Context, in *GetConstraintsRequest, opts ...grpc.CallOption) (*GetConstraintsResponse, error)
	AddConstraint(ctx context.Context, in *AddConstraintRequest, opts ...grpc.CallOption) (*AddConstraintResponse, error)
	RemoveConstraint(ctx context.Context, in *RemoveConstraintRequest, opts ...grpc.CallOption) (*RemoveConstraintResponse, error)
	AddAction(ctx context.Context, in *AddActionRequest, opts ...grpc.CallOption) (*AddActionResponse, error)
	GetActions(ctx context.Context, in *GetActionsRequest, opts ...grpc.CallOption) (*GetActionsResponse, error)
	RemoveAction(ctx context.Context, in *RemoveActionRequest, opts ...grpc.CallOption) (*RemoveActionResponse, error)
}

ConfigClient is the client API for Config service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewConfigClient

func NewConfigClient(cc grpc.ClientConnInterface) ConfigClient

type ConfigServer

ConfigServer is the server API for Config service. All implementations must embed UnimplementedConfigServer for forward compatibility

type Constraint

type Constraint struct {
	Kind             string                `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Namespace        string                `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name             string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Selector         *Selector             `protobuf:"bytes,4,opt,name=selector,proto3" json:"selector,omitempty"`
	AllowedProcesses []*AllowedProcessRule `protobuf:"bytes,5,rep,name=allowed_processes,json=allowedProcesses,proto3" json:"allowed_processes,omitempty"`
	AllowedFiles     []*AllowedFileRule    `protobuf:"bytes,6,rep,name=allowed_files,json=allowedFiles,proto3" json:"allowed_files,omitempty"`
	// contains filtered or unexported fields
}

func NewConstraint

func NewConstraint() *Constraint

func (*Constraint) Descriptor deprecated

func (*Constraint) Descriptor() ([]byte, []int)

Deprecated: Use Constraint.ProtoReflect.Descriptor instead.

func (*Constraint) GetAllowedFiles

func (x *Constraint) GetAllowedFiles() []*AllowedFileRule

func (*Constraint) GetAllowedProcesses

func (x *Constraint) GetAllowedProcesses() []*AllowedProcessRule

func (*Constraint) GetKind

func (x *Constraint) GetKind() string

func (*Constraint) GetName

func (x *Constraint) GetName() string

func (*Constraint) GetNamespace

func (x *Constraint) GetNamespace() string

func (*Constraint) GetSelector

func (x *Constraint) GetSelector() *Selector

func (*Constraint) ProtoMessage

func (*Constraint) ProtoMessage()

func (*Constraint) ProtoReflect

func (x *Constraint) ProtoReflect() protoreflect.Message

func (*Constraint) Reset

func (x *Constraint) Reset()

func (*Constraint) String

func (x *Constraint) String() string

type Event

type Event struct {
	Kind            string                 `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Type            string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Uid             string                 `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	ServerTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=serverTimestamp,proto3" json:"serverTimestamp,omitempty"`
	ClientTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=clientTimestamp,proto3" json:"clientTimestamp,omitempty"`
	AlertSentAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=alertSentAt,proto3" json:"alertSentAt,omitempty"`
	Targets         []*Target              `protobuf:"bytes,7,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func NewEvent

func NewEvent() *Event

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAlertSentAt

func (x *Event) GetAlertSentAt() *timestamppb.Timestamp

func (*Event) GetClientTimestamp

func (x *Event) GetClientTimestamp() *timestamppb.Timestamp

func (*Event) GetKind

func (x *Event) GetKind() string

func (*Event) GetServerTimestamp

func (x *Event) GetServerTimestamp() *timestamppb.Timestamp

func (*Event) GetTargets

func (x *Event) GetTargets() []*Target

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) GetUid

func (x *Event) GetUid() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventClient

type EventClient interface {
	IngestEvent(ctx context.Context, in *IngestEventRequest, opts ...grpc.CallOption) (*IngestEventResponse, error)
	GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error)
}

EventClient is the client API for Event service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEventClient

func NewEventClient(cc grpc.ClientConnInterface) EventClient

type EventServer

type EventServer interface {
	IngestEvent(context.Context, *IngestEventRequest) (*IngestEventResponse, error)
	GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
	// contains filtered or unexported methods
}

EventServer is the server API for Event service. All implementations must embed UnimplementedEventServer for forward compatibility

type FalcoAlert

type FalcoAlert struct {
	Rule         string            `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
	Priority     FalcoPriority     `protobuf:"varint,2,opt,name=priority,proto3,enum=tarianpb.types.FalcoPriority" json:"priority,omitempty"`
	Output       string            `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
	OutputFields map[string]string `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FalcoAlert) Descriptor deprecated

func (*FalcoAlert) Descriptor() ([]byte, []int)

Deprecated: Use FalcoAlert.ProtoReflect.Descriptor instead.

func (*FalcoAlert) GetOutput

func (x *FalcoAlert) GetOutput() string

func (*FalcoAlert) GetOutputFields

func (x *FalcoAlert) GetOutputFields() map[string]string

func (*FalcoAlert) GetPriority

func (x *FalcoAlert) GetPriority() FalcoPriority

func (*FalcoAlert) GetRule

func (x *FalcoAlert) GetRule() string

func (*FalcoAlert) ProtoMessage

func (*FalcoAlert) ProtoMessage()

func (*FalcoAlert) ProtoReflect

func (x *FalcoAlert) ProtoReflect() protoreflect.Message

func (*FalcoAlert) Reset

func (x *FalcoAlert) Reset()

func (*FalcoAlert) String

func (x *FalcoAlert) String() string

type FalcoPriority

type FalcoPriority int32
const (
	FalcoPriority_EMERGENCY     FalcoPriority = 0
	FalcoPriority_emergency     FalcoPriority = 0
	FalcoPriority_Emergency     FalcoPriority = 0
	FalcoPriority_ALERT         FalcoPriority = 1
	FalcoPriority_alert         FalcoPriority = 1
	FalcoPriority_Alert         FalcoPriority = 1
	FalcoPriority_CRITICAL      FalcoPriority = 2
	FalcoPriority_critical      FalcoPriority = 2
	FalcoPriority_Critical      FalcoPriority = 2
	FalcoPriority_ERROR         FalcoPriority = 3
	FalcoPriority_error         FalcoPriority = 3
	FalcoPriority_Error         FalcoPriority = 3
	FalcoPriority_WARNING       FalcoPriority = 4
	FalcoPriority_warning       FalcoPriority = 4
	FalcoPriority_Warning       FalcoPriority = 4
	FalcoPriority_NOTICE        FalcoPriority = 5
	FalcoPriority_notice        FalcoPriority = 5
	FalcoPriority_Notice        FalcoPriority = 5
	FalcoPriority_INFORMATIONAL FalcoPriority = 6
	FalcoPriority_informational FalcoPriority = 6
	FalcoPriority_Informational FalcoPriority = 6
	FalcoPriority_DEBUG         FalcoPriority = 7
	FalcoPriority_debug         FalcoPriority = 7
	FalcoPriority_Debug         FalcoPriority = 7
)

func FalcoPriorityFromString

func FalcoPriorityFromString(s string) FalcoPriority

func (FalcoPriority) Descriptor

func (FalcoPriority) Enum

func (x FalcoPriority) Enum() *FalcoPriority

func (FalcoPriority) EnumDescriptor deprecated

func (FalcoPriority) EnumDescriptor() ([]byte, []int)

Deprecated: Use FalcoPriority.Descriptor instead.

func (FalcoPriority) Number

func (FalcoPriority) String

func (x FalcoPriority) String() string

func (FalcoPriority) ToString

func (f FalcoPriority) ToString() string

func (FalcoPriority) Type

type GetActionsRequest

type GetActionsRequest struct {
	Namespace string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    []*Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActionsRequest) Descriptor deprecated

func (*GetActionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActionsRequest.ProtoReflect.Descriptor instead.

func (*GetActionsRequest) GetLabels

func (x *GetActionsRequest) GetLabels() []*Label

func (*GetActionsRequest) GetNamespace

func (x *GetActionsRequest) GetNamespace() string

func (*GetActionsRequest) ProtoMessage

func (*GetActionsRequest) ProtoMessage()

func (*GetActionsRequest) ProtoReflect

func (x *GetActionsRequest) ProtoReflect() protoreflect.Message

func (*GetActionsRequest) Reset

func (x *GetActionsRequest) Reset()

func (*GetActionsRequest) String

func (x *GetActionsRequest) String() string

type GetActionsResponse

type GetActionsResponse struct {
	Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActionsResponse) Descriptor deprecated

func (*GetActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetActionsResponse.ProtoReflect.Descriptor instead.

func (*GetActionsResponse) GetActions

func (x *GetActionsResponse) GetActions() []*Action

func (*GetActionsResponse) ProtoMessage

func (*GetActionsResponse) ProtoMessage()

func (*GetActionsResponse) ProtoReflect

func (x *GetActionsResponse) ProtoReflect() protoreflect.Message

func (*GetActionsResponse) Reset

func (x *GetActionsResponse) Reset()

func (*GetActionsResponse) String

func (x *GetActionsResponse) String() string

type GetConstraintsRequest

type GetConstraintsRequest struct {
	Namespace string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    []*Label `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConstraintsRequest) Descriptor deprecated

func (*GetConstraintsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConstraintsRequest.ProtoReflect.Descriptor instead.

func (*GetConstraintsRequest) GetLabels

func (x *GetConstraintsRequest) GetLabels() []*Label

func (*GetConstraintsRequest) GetNamespace

func (x *GetConstraintsRequest) GetNamespace() string

func (*GetConstraintsRequest) ProtoMessage

func (*GetConstraintsRequest) ProtoMessage()

func (*GetConstraintsRequest) ProtoReflect

func (x *GetConstraintsRequest) ProtoReflect() protoreflect.Message

func (*GetConstraintsRequest) Reset

func (x *GetConstraintsRequest) Reset()

func (*GetConstraintsRequest) String

func (x *GetConstraintsRequest) String() string

type GetConstraintsResponse

type GetConstraintsResponse struct {
	Constraints []*Constraint `protobuf:"bytes,1,rep,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConstraintsResponse) Descriptor deprecated

func (*GetConstraintsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConstraintsResponse.ProtoReflect.Descriptor instead.

func (*GetConstraintsResponse) GetConstraints

func (x *GetConstraintsResponse) GetConstraints() []*Constraint

func (*GetConstraintsResponse) ProtoMessage

func (*GetConstraintsResponse) ProtoMessage()

func (*GetConstraintsResponse) ProtoReflect

func (x *GetConstraintsResponse) ProtoReflect() protoreflect.Message

func (*GetConstraintsResponse) Reset

func (x *GetConstraintsResponse) Reset()

func (*GetConstraintsResponse) String

func (x *GetConstraintsResponse) String() string

type GetEventsRequest

type GetEventsRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Limit     uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventsRequest) Descriptor deprecated

func (*GetEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.

func (*GetEventsRequest) GetLimit

func (x *GetEventsRequest) GetLimit() uint32

func (*GetEventsRequest) GetNamespace

func (x *GetEventsRequest) GetNamespace() string

func (*GetEventsRequest) ProtoMessage

func (*GetEventsRequest) ProtoMessage()

func (*GetEventsRequest) ProtoReflect

func (x *GetEventsRequest) ProtoReflect() protoreflect.Message

func (*GetEventsRequest) Reset

func (x *GetEventsRequest) Reset()

func (*GetEventsRequest) String

func (x *GetEventsRequest) String() string

type GetEventsResponse

type GetEventsResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventsResponse) Descriptor deprecated

func (*GetEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.

func (*GetEventsResponse) GetEvents

func (x *GetEventsResponse) GetEvents() []*Event

func (*GetEventsResponse) ProtoMessage

func (*GetEventsResponse) ProtoMessage()

func (*GetEventsResponse) ProtoReflect

func (x *GetEventsResponse) ProtoReflect() protoreflect.Message

func (*GetEventsResponse) Reset

func (x *GetEventsResponse) Reset()

func (*GetEventsResponse) String

func (x *GetEventsResponse) String() string

type IngestEventRequest

type IngestEventRequest struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*IngestEventRequest) Descriptor deprecated

func (*IngestEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use IngestEventRequest.ProtoReflect.Descriptor instead.

func (*IngestEventRequest) GetEvent

func (x *IngestEventRequest) GetEvent() *Event

func (*IngestEventRequest) ProtoMessage

func (*IngestEventRequest) ProtoMessage()

func (*IngestEventRequest) ProtoReflect

func (x *IngestEventRequest) ProtoReflect() protoreflect.Message

func (*IngestEventRequest) Reset

func (x *IngestEventRequest) Reset()

func (*IngestEventRequest) String

func (x *IngestEventRequest) String() string

type IngestEventResponse

type IngestEventResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*IngestEventResponse) Descriptor deprecated

func (*IngestEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use IngestEventResponse.ProtoReflect.Descriptor instead.

func (*IngestEventResponse) GetSuccess

func (x *IngestEventResponse) GetSuccess() bool

func (*IngestEventResponse) ProtoMessage

func (*IngestEventResponse) ProtoMessage()

func (*IngestEventResponse) ProtoReflect

func (x *IngestEventResponse) ProtoReflect() protoreflect.Message

func (*IngestEventResponse) Reset

func (x *IngestEventResponse) Reset()

func (*IngestEventResponse) String

func (x *IngestEventResponse) String() string

type Label

type Label struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Label) Descriptor deprecated

func (*Label) Descriptor() ([]byte, []int)

Deprecated: Use Label.ProtoReflect.Descriptor instead.

func (*Label) GetKey

func (x *Label) GetKey() string

func (*Label) GetValue

func (x *Label) GetValue() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

func (x *Label) ProtoReflect() protoreflect.Message

func (*Label) Reset

func (x *Label) Reset()

func (*Label) String

func (x *Label) String() string

type MatchLabel

type MatchLabel struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchLabel) Descriptor deprecated

func (*MatchLabel) Descriptor() ([]byte, []int)

Deprecated: Use MatchLabel.ProtoReflect.Descriptor instead.

func (*MatchLabel) GetKey

func (x *MatchLabel) GetKey() string

func (*MatchLabel) GetValue

func (x *MatchLabel) GetValue() string

func (*MatchLabel) ProtoMessage

func (*MatchLabel) ProtoMessage()

func (*MatchLabel) ProtoReflect

func (x *MatchLabel) ProtoReflect() protoreflect.Message

func (*MatchLabel) Reset

func (x *MatchLabel) Reset()

func (*MatchLabel) String

func (x *MatchLabel) String() string

type Pod

type Pod struct {
	Uid       string   `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Namespace string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Labels    []*Label `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Pod) Descriptor deprecated

func (*Pod) Descriptor() ([]byte, []int)

Deprecated: Use Pod.ProtoReflect.Descriptor instead.

func (*Pod) GetLabels

func (x *Pod) GetLabels() []*Label

func (*Pod) GetName

func (x *Pod) GetName() string

func (*Pod) GetNamespace

func (x *Pod) GetNamespace() string

func (*Pod) GetUid

func (x *Pod) GetUid() string

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

func (x *Pod) ProtoReflect() protoreflect.Message

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) String

func (x *Pod) String() string

type Process

type Process struct {
	Pid  int32  `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Process) Descriptor deprecated

func (*Process) Descriptor() ([]byte, []int)

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetName

func (x *Process) GetName() string

func (*Process) GetPid

func (x *Process) GetPid() int32

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

func (x *Process) ProtoReflect() protoreflect.Message

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

type RemoveActionRequest

type RemoveActionRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveActionRequest) Descriptor deprecated

func (*RemoveActionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveActionRequest.ProtoReflect.Descriptor instead.

func (*RemoveActionRequest) GetName

func (x *RemoveActionRequest) GetName() string

func (*RemoveActionRequest) GetNamespace

func (x *RemoveActionRequest) GetNamespace() string

func (*RemoveActionRequest) ProtoMessage

func (*RemoveActionRequest) ProtoMessage()

func (*RemoveActionRequest) ProtoReflect

func (x *RemoveActionRequest) ProtoReflect() protoreflect.Message

func (*RemoveActionRequest) Reset

func (x *RemoveActionRequest) Reset()

func (*RemoveActionRequest) String

func (x *RemoveActionRequest) String() string

type RemoveActionResponse

type RemoveActionResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveActionResponse) Descriptor deprecated

func (*RemoveActionResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveActionResponse.ProtoReflect.Descriptor instead.

func (*RemoveActionResponse) GetSuccess

func (x *RemoveActionResponse) GetSuccess() bool

func (*RemoveActionResponse) ProtoMessage

func (*RemoveActionResponse) ProtoMessage()

func (*RemoveActionResponse) ProtoReflect

func (x *RemoveActionResponse) ProtoReflect() protoreflect.Message

func (*RemoveActionResponse) Reset

func (x *RemoveActionResponse) Reset()

func (*RemoveActionResponse) String

func (x *RemoveActionResponse) String() string

type RemoveConstraintRequest

type RemoveConstraintRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveConstraintRequest) Descriptor deprecated

func (*RemoveConstraintRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveConstraintRequest.ProtoReflect.Descriptor instead.

func (*RemoveConstraintRequest) GetName

func (x *RemoveConstraintRequest) GetName() string

func (*RemoveConstraintRequest) GetNamespace

func (x *RemoveConstraintRequest) GetNamespace() string

func (*RemoveConstraintRequest) ProtoMessage

func (*RemoveConstraintRequest) ProtoMessage()

func (*RemoveConstraintRequest) ProtoReflect

func (x *RemoveConstraintRequest) ProtoReflect() protoreflect.Message

func (*RemoveConstraintRequest) Reset

func (x *RemoveConstraintRequest) Reset()

func (*RemoveConstraintRequest) String

func (x *RemoveConstraintRequest) String() string

type RemoveConstraintResponse

type RemoveConstraintResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveConstraintResponse) Descriptor deprecated

func (*RemoveConstraintResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveConstraintResponse.ProtoReflect.Descriptor instead.

func (*RemoveConstraintResponse) GetSuccess

func (x *RemoveConstraintResponse) GetSuccess() bool

func (*RemoveConstraintResponse) ProtoMessage

func (*RemoveConstraintResponse) ProtoMessage()

func (*RemoveConstraintResponse) ProtoReflect

func (x *RemoveConstraintResponse) ProtoReflect() protoreflect.Message

func (*RemoveConstraintResponse) Reset

func (x *RemoveConstraintResponse) Reset()

func (*RemoveConstraintResponse) String

func (x *RemoveConstraintResponse) String() string

type Selector

type Selector struct {
	MatchLabels []*MatchLabel `protobuf:"bytes,1,rep,name=match_labels,json=matchLabels,proto3" json:"match_labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Selector) Descriptor deprecated

func (*Selector) Descriptor() ([]byte, []int)

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetMatchLabels

func (x *Selector) GetMatchLabels() []*MatchLabel

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) String

func (x *Selector) String() string

type Target

type Target struct {
	Pod               *Pod            `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
	ViolatedProcesses []*Process      `protobuf:"bytes,2,rep,name=violatedProcesses,proto3" json:"violatedProcesses,omitempty"`
	ViolatedFiles     []*ViolatedFile `protobuf:"bytes,3,rep,name=violatedFiles,proto3" json:"violatedFiles,omitempty"`
	FalcoAlert        *FalcoAlert     `protobuf:"bytes,4,opt,name=falcoAlert,proto3,oneof" json:"falcoAlert,omitempty"`
	// contains filtered or unexported fields
}

func (*Target) Descriptor deprecated

func (*Target) Descriptor() ([]byte, []int)

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetFalcoAlert

func (x *Target) GetFalcoAlert() *FalcoAlert

func (*Target) GetPod

func (x *Target) GetPod() *Pod

func (*Target) GetViolatedFiles

func (x *Target) GetViolatedFiles() []*ViolatedFile

func (*Target) GetViolatedProcesses

func (x *Target) GetViolatedProcesses() []*Process

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

type UnimplementedConfigServer

type UnimplementedConfigServer struct {
}

UnimplementedConfigServer must be embedded to have forward compatible implementations.

func (UnimplementedConfigServer) AddAction

func (UnimplementedConfigServer) AddConstraint

func (UnimplementedConfigServer) GetActions

func (UnimplementedConfigServer) GetConstraints

func (UnimplementedConfigServer) RemoveAction

func (UnimplementedConfigServer) RemoveConstraint

type UnimplementedEventServer

type UnimplementedEventServer struct {
}

UnimplementedEventServer must be embedded to have forward compatible implementations.

func (UnimplementedEventServer) GetEvents

func (UnimplementedEventServer) IngestEvent

type UnsafeConfigServer

type UnsafeConfigServer interface {
	// contains filtered or unexported methods
}

UnsafeConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServer will result in compilation errors.

type UnsafeEventServer

type UnsafeEventServer interface {
	// contains filtered or unexported methods
}

UnsafeEventServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServer will result in compilation errors.

type ViolatedFile

type ViolatedFile struct {
	Name              string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ActualSha256Sum   string `protobuf:"bytes,2,opt,name=actualSha256Sum,proto3" json:"actualSha256Sum,omitempty"`
	ExpectedSha256Sum string `protobuf:"bytes,3,opt,name=expectedSha256Sum,proto3" json:"expectedSha256Sum,omitempty"`
	// contains filtered or unexported fields
}

func (*ViolatedFile) Descriptor deprecated

func (*ViolatedFile) Descriptor() ([]byte, []int)

Deprecated: Use ViolatedFile.ProtoReflect.Descriptor instead.

func (*ViolatedFile) GetActualSha256Sum

func (x *ViolatedFile) GetActualSha256Sum() string

func (*ViolatedFile) GetExpectedSha256Sum

func (x *ViolatedFile) GetExpectedSha256Sum() string

func (*ViolatedFile) GetName

func (x *ViolatedFile) GetName() string

func (*ViolatedFile) ProtoMessage

func (*ViolatedFile) ProtoMessage()

func (*ViolatedFile) ProtoReflect

func (x *ViolatedFile) ProtoReflect() protoreflect.Message

func (*ViolatedFile) Reset

func (x *ViolatedFile) Reset()

func (*ViolatedFile) String

func (x *ViolatedFile) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL