tarianpb

package
v0.0.3-alpha3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const EventTypeFalcoAlert = "falco_alert"
View Source
const EventTypeViolation = "violation"
View Source
const KindConstraint = "Constraint"
View Source
const KindEvent = "Event"

Variables

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,
		},
	},
	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 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)
}

ConfigClient is the client API for Config service.

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

func NewConfigClient

func NewConfigClient(cc grpc.ClientConnInterface) ConfigClient

type ConfigServer

type ConfigServer interface {
	GetConstraints(context.Context, *GetConstraintsRequest) (*GetConstraintsResponse, error)
	AddConstraint(context.Context, *AddConstraintRequest) (*AddConstraintResponse, error)
	RemoveConstraint(context.Context, *RemoveConstraintRequest) (*RemoveConstraintResponse, error)
	// contains filtered or unexported methods
}

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.golang.ir/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     string            `protobuf:"bytes,2,opt,name=priority,proto3" 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() string

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 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 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) AddConstraint

func (UnimplementedConfigServer) GetConstraints

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