auditv1

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cerbos_audit_v1_audit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessLogEntry

type AccessLogEntry struct {
	CallId     string                 `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Peer       *Peer                  `protobuf:"bytes,3,opt,name=peer,proto3" json:"peer,omitempty"`
	Metadata   map[string]*MetaValues `` /* 157-byte string literal not displayed */
	Method     string                 `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"`
	StatusCode uint32                 `protobuf:"varint,6,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessLogEntry) Descriptor deprecated

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

Deprecated: Use AccessLogEntry.ProtoReflect.Descriptor instead.

func (*AccessLogEntry) GetCallId

func (x *AccessLogEntry) GetCallId() string

func (*AccessLogEntry) GetMetadata

func (x *AccessLogEntry) GetMetadata() map[string]*MetaValues

func (*AccessLogEntry) GetMethod

func (x *AccessLogEntry) GetMethod() string

func (*AccessLogEntry) GetPeer

func (x *AccessLogEntry) GetPeer() *Peer

func (*AccessLogEntry) GetStatusCode

func (x *AccessLogEntry) GetStatusCode() uint32

func (*AccessLogEntry) GetTimestamp

func (x *AccessLogEntry) GetTimestamp() *timestamppb.Timestamp

func (*AccessLogEntry) HashPB

func (m *AccessLogEntry) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*AccessLogEntry) MarshalToSizedBufferVT

func (m *AccessLogEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AccessLogEntry) MarshalToVT

func (m *AccessLogEntry) MarshalToVT(dAtA []byte) (int, error)

func (*AccessLogEntry) MarshalVT

func (m *AccessLogEntry) MarshalVT() (dAtA []byte, err error)

func (*AccessLogEntry) ProtoMessage

func (*AccessLogEntry) ProtoMessage()

func (*AccessLogEntry) ProtoReflect

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

func (*AccessLogEntry) Reset

func (x *AccessLogEntry) Reset()

func (*AccessLogEntry) SizeVT

func (m *AccessLogEntry) SizeVT() (n int)

func (*AccessLogEntry) String

func (x *AccessLogEntry) String() string

func (*AccessLogEntry) UnmarshalVT

func (m *AccessLogEntry) UnmarshalVT(dAtA []byte) error

type AuditTrail added in v0.33.0

type AuditTrail struct {
	EffectivePolicies map[string]*v11.SourceAttributes `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuditTrail) Descriptor deprecated added in v0.33.0

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

Deprecated: Use AuditTrail.ProtoReflect.Descriptor instead.

func (*AuditTrail) GetEffectivePolicies added in v0.33.0

func (x *AuditTrail) GetEffectivePolicies() map[string]*v11.SourceAttributes

func (*AuditTrail) HashPB added in v0.33.0

func (m *AuditTrail) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*AuditTrail) MarshalToSizedBufferVT added in v0.33.0

func (m *AuditTrail) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*AuditTrail) MarshalToVT added in v0.33.0

func (m *AuditTrail) MarshalToVT(dAtA []byte) (int, error)

func (*AuditTrail) MarshalVT added in v0.33.0

func (m *AuditTrail) MarshalVT() (dAtA []byte, err error)

func (*AuditTrail) ProtoMessage added in v0.33.0

func (*AuditTrail) ProtoMessage()

func (*AuditTrail) ProtoReflect added in v0.33.0

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

func (*AuditTrail) Reset added in v0.33.0

func (x *AuditTrail) Reset()

func (*AuditTrail) SizeVT added in v0.33.0

func (m *AuditTrail) SizeVT() (n int)

func (*AuditTrail) String added in v0.33.0

func (x *AuditTrail) String() string

func (*AuditTrail) UnmarshalVT added in v0.33.0

func (m *AuditTrail) UnmarshalVT(dAtA []byte) error

type DecisionLogEntry

type DecisionLogEntry struct {
	CallId    string                 `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Peer      *Peer                  `protobuf:"bytes,3,opt,name=peer,proto3" json:"peer,omitempty"`
	// Deprecated. Use method.check_resources.inputs instead.
	Inputs []*v1.CheckInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Deprecated. Use method.check_resources.outputs instead.
	Outputs []*v1.CheckOutput `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// Deprecated. Use method.check_resources.error instead.
	Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// Types that are assignable to Method:
	//
	//	*DecisionLogEntry_CheckResources_
	//	*DecisionLogEntry_PlanResources_
	Method     isDecisionLogEntry_Method `protobuf_oneof:"method"`
	Metadata   map[string]*MetaValues    `` /* 158-byte string literal not displayed */
	AuditTrail *AuditTrail               `protobuf:"bytes,16,opt,name=audit_trail,json=auditTrail,proto3" json:"audit_trail,omitempty"`
	// contains filtered or unexported fields
}

func (*DecisionLogEntry) Descriptor deprecated

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

Deprecated: Use DecisionLogEntry.ProtoReflect.Descriptor instead.

func (*DecisionLogEntry) GetAuditTrail added in v0.33.0

func (x *DecisionLogEntry) GetAuditTrail() *AuditTrail

func (*DecisionLogEntry) GetCallId

func (x *DecisionLogEntry) GetCallId() string

func (*DecisionLogEntry) GetCheckResources

func (x *DecisionLogEntry) GetCheckResources() *DecisionLogEntry_CheckResources

func (*DecisionLogEntry) GetError

func (x *DecisionLogEntry) GetError() string

func (*DecisionLogEntry) GetInputs

func (x *DecisionLogEntry) GetInputs() []*v1.CheckInput

func (*DecisionLogEntry) GetMetadata

func (x *DecisionLogEntry) GetMetadata() map[string]*MetaValues

func (*DecisionLogEntry) GetMethod

func (m *DecisionLogEntry) GetMethod() isDecisionLogEntry_Method

func (*DecisionLogEntry) GetOutputs

func (x *DecisionLogEntry) GetOutputs() []*v1.CheckOutput

func (*DecisionLogEntry) GetPeer

func (x *DecisionLogEntry) GetPeer() *Peer

func (*DecisionLogEntry) GetPlanResources

func (x *DecisionLogEntry) GetPlanResources() *DecisionLogEntry_PlanResources

func (*DecisionLogEntry) GetTimestamp

func (x *DecisionLogEntry) GetTimestamp() *timestamppb.Timestamp

func (*DecisionLogEntry) HashPB

func (m *DecisionLogEntry) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*DecisionLogEntry) MarshalToSizedBufferVT

func (m *DecisionLogEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecisionLogEntry) MarshalToVT

func (m *DecisionLogEntry) MarshalToVT(dAtA []byte) (int, error)

func (*DecisionLogEntry) MarshalVT

func (m *DecisionLogEntry) MarshalVT() (dAtA []byte, err error)

func (*DecisionLogEntry) ProtoMessage

func (*DecisionLogEntry) ProtoMessage()

func (*DecisionLogEntry) ProtoReflect

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

func (*DecisionLogEntry) Reset

func (x *DecisionLogEntry) Reset()

func (*DecisionLogEntry) SizeVT

func (m *DecisionLogEntry) SizeVT() (n int)

func (*DecisionLogEntry) String

func (x *DecisionLogEntry) String() string

func (*DecisionLogEntry) UnmarshalVT

func (m *DecisionLogEntry) UnmarshalVT(dAtA []byte) error

type DecisionLogEntry_CheckResources

type DecisionLogEntry_CheckResources struct {
	Inputs  []*v1.CheckInput  `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs []*v1.CheckOutput `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Error   string            `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DecisionLogEntry_CheckResources) Descriptor deprecated

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

Deprecated: Use DecisionLogEntry_CheckResources.ProtoReflect.Descriptor instead.

func (*DecisionLogEntry_CheckResources) GetError

func (*DecisionLogEntry_CheckResources) GetInputs

func (x *DecisionLogEntry_CheckResources) GetInputs() []*v1.CheckInput

func (*DecisionLogEntry_CheckResources) GetOutputs

func (x *DecisionLogEntry_CheckResources) GetOutputs() []*v1.CheckOutput

func (*DecisionLogEntry_CheckResources) HashPB

func (m *DecisionLogEntry_CheckResources) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*DecisionLogEntry_CheckResources) MarshalToSizedBufferVT

func (m *DecisionLogEntry_CheckResources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_CheckResources) MarshalToVT

func (m *DecisionLogEntry_CheckResources) MarshalToVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_CheckResources) MarshalVT

func (m *DecisionLogEntry_CheckResources) MarshalVT() (dAtA []byte, err error)

func (*DecisionLogEntry_CheckResources) ProtoMessage

func (*DecisionLogEntry_CheckResources) ProtoMessage()

func (*DecisionLogEntry_CheckResources) ProtoReflect

func (*DecisionLogEntry_CheckResources) Reset

func (*DecisionLogEntry_CheckResources) SizeVT

func (m *DecisionLogEntry_CheckResources) SizeVT() (n int)

func (*DecisionLogEntry_CheckResources) String

func (*DecisionLogEntry_CheckResources) UnmarshalVT

func (m *DecisionLogEntry_CheckResources) UnmarshalVT(dAtA []byte) error

type DecisionLogEntry_CheckResources_

type DecisionLogEntry_CheckResources_ struct {
	CheckResources *DecisionLogEntry_CheckResources `protobuf:"bytes,7,opt,name=check_resources,json=checkResources,proto3,oneof"`
}

func (*DecisionLogEntry_CheckResources_) MarshalToSizedBufferVT

func (m *DecisionLogEntry_CheckResources_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_CheckResources_) MarshalToVT

func (m *DecisionLogEntry_CheckResources_) MarshalToVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_CheckResources_) SizeVT

func (m *DecisionLogEntry_CheckResources_) SizeVT() (n int)

type DecisionLogEntry_PlanResources

type DecisionLogEntry_PlanResources struct {
	Input  *v1.PlanResourcesInput  `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	Output *v1.PlanResourcesOutput `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	Error  string                  `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DecisionLogEntry_PlanResources) Descriptor deprecated

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

Deprecated: Use DecisionLogEntry_PlanResources.ProtoReflect.Descriptor instead.

func (*DecisionLogEntry_PlanResources) GetError

func (x *DecisionLogEntry_PlanResources) GetError() string

func (*DecisionLogEntry_PlanResources) GetInput

func (*DecisionLogEntry_PlanResources) GetOutput

func (*DecisionLogEntry_PlanResources) HashPB

func (m *DecisionLogEntry_PlanResources) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*DecisionLogEntry_PlanResources) MarshalToSizedBufferVT

func (m *DecisionLogEntry_PlanResources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_PlanResources) MarshalToVT

func (m *DecisionLogEntry_PlanResources) MarshalToVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_PlanResources) MarshalVT

func (m *DecisionLogEntry_PlanResources) MarshalVT() (dAtA []byte, err error)

func (*DecisionLogEntry_PlanResources) ProtoMessage

func (*DecisionLogEntry_PlanResources) ProtoMessage()

func (*DecisionLogEntry_PlanResources) ProtoReflect

func (*DecisionLogEntry_PlanResources) Reset

func (x *DecisionLogEntry_PlanResources) Reset()

func (*DecisionLogEntry_PlanResources) SizeVT

func (m *DecisionLogEntry_PlanResources) SizeVT() (n int)

func (*DecisionLogEntry_PlanResources) String

func (*DecisionLogEntry_PlanResources) UnmarshalVT

func (m *DecisionLogEntry_PlanResources) UnmarshalVT(dAtA []byte) error

type DecisionLogEntry_PlanResources_

type DecisionLogEntry_PlanResources_ struct {
	PlanResources *DecisionLogEntry_PlanResources `protobuf:"bytes,8,opt,name=plan_resources,json=planResources,proto3,oneof"`
}

func (*DecisionLogEntry_PlanResources_) MarshalToSizedBufferVT

func (m *DecisionLogEntry_PlanResources_) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_PlanResources_) MarshalToVT

func (m *DecisionLogEntry_PlanResources_) MarshalToVT(dAtA []byte) (int, error)

func (*DecisionLogEntry_PlanResources_) SizeVT

func (m *DecisionLogEntry_PlanResources_) SizeVT() (n int)

type MetaValues

type MetaValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaValues) Descriptor deprecated

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

Deprecated: Use MetaValues.ProtoReflect.Descriptor instead.

func (*MetaValues) GetValues

func (x *MetaValues) GetValues() []string

func (*MetaValues) HashPB

func (m *MetaValues) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*MetaValues) MarshalToSizedBufferVT

func (m *MetaValues) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MetaValues) MarshalToVT

func (m *MetaValues) MarshalToVT(dAtA []byte) (int, error)

func (*MetaValues) MarshalVT

func (m *MetaValues) MarshalVT() (dAtA []byte, err error)

func (*MetaValues) ProtoMessage

func (*MetaValues) ProtoMessage()

func (*MetaValues) ProtoReflect

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

func (*MetaValues) Reset

func (x *MetaValues) Reset()

func (*MetaValues) SizeVT

func (m *MetaValues) SizeVT() (n int)

func (*MetaValues) String

func (x *MetaValues) String() string

func (*MetaValues) UnmarshalVT

func (m *MetaValues) UnmarshalVT(dAtA []byte) error

type Peer

type Peer struct {
	Address      string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	AuthInfo     string `protobuf:"bytes,2,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"`
	UserAgent    string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	ForwardedFor string `protobuf:"bytes,4,opt,name=forwarded_for,json=forwardedFor,proto3" json:"forwarded_for,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddress

func (x *Peer) GetAddress() string

func (*Peer) GetAuthInfo

func (x *Peer) GetAuthInfo() string

func (*Peer) GetForwardedFor

func (x *Peer) GetForwardedFor() string

func (*Peer) GetUserAgent

func (x *Peer) GetUserAgent() string

func (*Peer) HashPB

func (m *Peer) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Peer) MarshalToSizedBufferVT

func (m *Peer) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Peer) MarshalToVT

func (m *Peer) MarshalToVT(dAtA []byte) (int, error)

func (*Peer) MarshalVT

func (m *Peer) MarshalVT() (dAtA []byte, err error)

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) SizeVT

func (m *Peer) SizeVT() (n int)

func (*Peer) String

func (x *Peer) String() string

func (*Peer) UnmarshalVT

func (m *Peer) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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