Documentation ¶
Index ¶
- Variables
- type BoolComparison
- func (BoolComparison) Descriptor() protoreflect.EnumDescriptor
- func (x BoolComparison) Enum() *BoolComparison
- func (BoolComparison) EnumDescriptor() ([]byte, []int)deprecated
- func (x BoolComparison) Number() protoreflect.EnumNumber
- func (x BoolComparison) String() string
- func (BoolComparison) Type() protoreflect.EnumType
- type DebugEvaluationRequest
- func (*DebugEvaluationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugEvaluationRequest) GetId() string
- func (*DebugEvaluationRequest) ProtoMessage()
- func (x *DebugEvaluationRequest) ProtoReflect() protoreflect.Message
- func (x *DebugEvaluationRequest) Reset()
- func (x *DebugEvaluationRequest) String() string
- type DebugEvaluationResponse
- func (*DebugEvaluationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugEvaluationResponse) GetDebugEvaluation() *v1alpha1.DebugEvaluation
- func (*DebugEvaluationResponse) ProtoMessage()
- func (x *DebugEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *DebugEvaluationResponse) Reset()
- func (x *DebugEvaluationResponse) String() string
- type DecisionFilter
- type EntityFilter
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetAction() *EntityFilter
- func (x *Filter) GetDecision() *DecisionFilter
- func (m *Filter) GetFilter() isFilter_Filter
- func (x *Filter) GetOccurredAt() *OccurredAtFilter
- func (x *Filter) GetPrincipal() *EntityFilter
- func (x *Filter) GetResource() *EntityFilter
- func (x *Filter) GetTag() *TagFilter
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Filter_Action
- type Filter_Decision
- type Filter_OccurredAt
- type Filter_Principal
- type Filter_Resource
- type Filter_Tag
- type GetEvaluationRequest
- func (*GetEvaluationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvaluationRequest) GetId() string
- func (*GetEvaluationRequest) ProtoMessage()
- func (x *GetEvaluationRequest) ProtoReflect() protoreflect.Message
- func (x *GetEvaluationRequest) Reset()
- func (x *GetEvaluationRequest) String() string
- type GetEvaluationResponse
- func (*GetEvaluationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvaluationResponse) GetEvaluation() *v1alpha1.Evaluation
- func (*GetEvaluationResponse) ProtoMessage()
- func (x *GetEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *GetEvaluationResponse) Reset()
- func (x *GetEvaluationResponse) String() string
- type OccurredAtFilter
- func (*OccurredAtFilter) Descriptor() ([]byte, []int)deprecated
- func (x *OccurredAtFilter) GetComparison() TimeComparison
- func (x *OccurredAtFilter) GetTime() *timestamppb.Timestamp
- func (*OccurredAtFilter) ProtoMessage()
- func (x *OccurredAtFilter) ProtoReflect() protoreflect.Message
- func (x *OccurredAtFilter) Reset()
- func (x *OccurredAtFilter) String() string
- type QueryEvaluationsRequest
- func (*QueryEvaluationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEvaluationsRequest) GetFilters() []*Filter
- func (x *QueryEvaluationsRequest) GetPageToken() string
- func (*QueryEvaluationsRequest) ProtoMessage()
- func (x *QueryEvaluationsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryEvaluationsRequest) Reset()
- func (x *QueryEvaluationsRequest) String() string
- type QueryEvaluationsResponse
- func (*QueryEvaluationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEvaluationsResponse) GetEvaluations() []*v1alpha1.Evaluation
- func (x *QueryEvaluationsResponse) GetNextPageToken() string
- func (*QueryEvaluationsResponse) ProtoMessage()
- func (x *QueryEvaluationsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryEvaluationsResponse) Reset()
- func (x *QueryEvaluationsResponse) String() string
- type TagFilter
- func (*TagFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TagFilter) GetComparison() BoolComparison
- func (x *TagFilter) GetKey() string
- func (x *TagFilter) GetValue() string
- func (*TagFilter) ProtoMessage()
- func (x *TagFilter) ProtoReflect() protoreflect.Message
- func (x *TagFilter) Reset()
- func (x *TagFilter) String() string
- type TimeComparison
- func (TimeComparison) Descriptor() protoreflect.EnumDescriptor
- func (x TimeComparison) Enum() *TimeComparison
- func (TimeComparison) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeComparison) Number() protoreflect.EnumNumber
- func (x TimeComparison) String() string
- func (TimeComparison) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( TimeComparison_name = map[int32]string{ 0: "TIME_COMPARISON_UNSPECIFIED", 1: "TIME_COMPARISON_BEFORE", 2: "TIME_COMPARISON_AFTER", } TimeComparison_value = map[string]int32{ "TIME_COMPARISON_UNSPECIFIED": 0, "TIME_COMPARISON_BEFORE": 1, "TIME_COMPARISON_AFTER": 2, } )
Enum value maps for TimeComparison.
var ( BoolComparison_name = map[int32]string{ 0: "BOOL_COMPARISON_UNSPECIFIED", 1: "BOOL_COMPARISON_EQUAL", 2: "TIME_COMPARISON_NOT_EQUAL", } BoolComparison_value = map[string]int32{ "BOOL_COMPARISON_UNSPECIFIED": 0, "BOOL_COMPARISON_EQUAL": 1, "TIME_COMPARISON_NOT_EQUAL": 2, } )
Enum value maps for BoolComparison.
var File_commonfate_control_log_v1alpha1_authz_eval_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BoolComparison ¶
type BoolComparison int32
const ( BoolComparison_BOOL_COMPARISON_UNSPECIFIED BoolComparison = 0 // Equal to the provided value. BoolComparison_BOOL_COMPARISON_EQUAL BoolComparison = 1 // Not equal to the provided value. BoolComparison_TIME_COMPARISON_NOT_EQUAL BoolComparison = 2 )
func (BoolComparison) Descriptor ¶
func (BoolComparison) Descriptor() protoreflect.EnumDescriptor
func (BoolComparison) Enum ¶
func (x BoolComparison) Enum() *BoolComparison
func (BoolComparison) EnumDescriptor
deprecated
func (BoolComparison) EnumDescriptor() ([]byte, []int)
Deprecated: Use BoolComparison.Descriptor instead.
func (BoolComparison) Number ¶
func (x BoolComparison) Number() protoreflect.EnumNumber
func (BoolComparison) String ¶
func (x BoolComparison) String() string
func (BoolComparison) Type ¶
func (BoolComparison) Type() protoreflect.EnumType
type DebugEvaluationRequest ¶
type DebugEvaluationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DebugEvaluationRequest) Descriptor
deprecated
func (*DebugEvaluationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugEvaluationRequest.ProtoReflect.Descriptor instead.
func (*DebugEvaluationRequest) GetId ¶
func (x *DebugEvaluationRequest) GetId() string
func (*DebugEvaluationRequest) ProtoMessage ¶
func (*DebugEvaluationRequest) ProtoMessage()
func (*DebugEvaluationRequest) ProtoReflect ¶
func (x *DebugEvaluationRequest) ProtoReflect() protoreflect.Message
func (*DebugEvaluationRequest) Reset ¶
func (x *DebugEvaluationRequest) Reset()
func (*DebugEvaluationRequest) String ¶
func (x *DebugEvaluationRequest) String() string
type DebugEvaluationResponse ¶
type DebugEvaluationResponse struct { DebugEvaluation *v1alpha1.DebugEvaluation `protobuf:"bytes,1,opt,name=debug_evaluation,json=debugEvaluation,proto3" json:"debug_evaluation,omitempty"` // contains filtered or unexported fields }
func (*DebugEvaluationResponse) Descriptor
deprecated
func (*DebugEvaluationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugEvaluationResponse.ProtoReflect.Descriptor instead.
func (*DebugEvaluationResponse) GetDebugEvaluation ¶
func (x *DebugEvaluationResponse) GetDebugEvaluation() *v1alpha1.DebugEvaluation
func (*DebugEvaluationResponse) ProtoMessage ¶
func (*DebugEvaluationResponse) ProtoMessage()
func (*DebugEvaluationResponse) ProtoReflect ¶
func (x *DebugEvaluationResponse) ProtoReflect() protoreflect.Message
func (*DebugEvaluationResponse) Reset ¶
func (x *DebugEvaluationResponse) Reset()
func (*DebugEvaluationResponse) String ¶
func (x *DebugEvaluationResponse) String() string
type DecisionFilter ¶
type DecisionFilter struct { Decision v1alpha1.Decision `protobuf:"varint,1,opt,name=decision,proto3,enum=commonfate.authz.v1alpha1.Decision" json:"decision,omitempty"` // contains filtered or unexported fields }
Filters events with a particular authorization decision
func (*DecisionFilter) Descriptor
deprecated
func (*DecisionFilter) Descriptor() ([]byte, []int)
Deprecated: Use DecisionFilter.ProtoReflect.Descriptor instead.
func (*DecisionFilter) GetDecision ¶
func (x *DecisionFilter) GetDecision() v1alpha1.Decision
func (*DecisionFilter) ProtoMessage ¶
func (*DecisionFilter) ProtoMessage()
func (*DecisionFilter) ProtoReflect ¶
func (x *DecisionFilter) ProtoReflect() protoreflect.Message
func (*DecisionFilter) Reset ¶
func (x *DecisionFilter) Reset()
func (*DecisionFilter) String ¶
func (x *DecisionFilter) String() string
type EntityFilter ¶
type EntityFilter struct { // IDs of entities to filter for. Will filter for a principal/action/resource matching any of these entities. Ids []*v1alpha11.EID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
Filters events where the principal/action/resource matches particular entities.
func (*EntityFilter) Descriptor
deprecated
func (*EntityFilter) Descriptor() ([]byte, []int)
Deprecated: Use EntityFilter.ProtoReflect.Descriptor instead.
func (*EntityFilter) GetIds ¶
func (x *EntityFilter) GetIds() []*v1alpha11.EID
func (*EntityFilter) ProtoMessage ¶
func (*EntityFilter) ProtoMessage()
func (*EntityFilter) ProtoReflect ¶
func (x *EntityFilter) ProtoReflect() protoreflect.Message
func (*EntityFilter) Reset ¶
func (x *EntityFilter) Reset()
func (*EntityFilter) String ¶
func (x *EntityFilter) String() string
type Filter ¶
type Filter struct { // Types that are assignable to Filter: // // *Filter_Tag // *Filter_OccurredAt // *Filter_Principal // *Filter_Action // *Filter_Resource // *Filter_Decision Filter isFilter_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetAction ¶
func (x *Filter) GetAction() *EntityFilter
func (*Filter) GetDecision ¶
func (x *Filter) GetDecision() *DecisionFilter
func (*Filter) GetOccurredAt ¶
func (x *Filter) GetOccurredAt() *OccurredAtFilter
func (*Filter) GetPrincipal ¶
func (x *Filter) GetPrincipal() *EntityFilter
func (*Filter) GetResource ¶
func (x *Filter) GetResource() *EntityFilter
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Filter_Action ¶
type Filter_Action struct {
Action *EntityFilter `protobuf:"bytes,4,opt,name=action,proto3,oneof"`
}
type Filter_Decision ¶
type Filter_Decision struct {
Decision *DecisionFilter `protobuf:"bytes,6,opt,name=decision,proto3,oneof"`
}
type Filter_OccurredAt ¶
type Filter_OccurredAt struct {
OccurredAt *OccurredAtFilter `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3,oneof"`
}
type Filter_Principal ¶
type Filter_Principal struct {
Principal *EntityFilter `protobuf:"bytes,3,opt,name=principal,proto3,oneof"`
}
type Filter_Resource ¶
type Filter_Resource struct {
Resource *EntityFilter `protobuf:"bytes,5,opt,name=resource,proto3,oneof"`
}
type Filter_Tag ¶
type Filter_Tag struct {
Tag *TagFilter `protobuf:"bytes,1,opt,name=tag,proto3,oneof"`
}
type GetEvaluationRequest ¶
type GetEvaluationRequest struct { // The authorization evaluation ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEvaluationRequest) Descriptor
deprecated
func (*GetEvaluationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEvaluationRequest.ProtoReflect.Descriptor instead.
func (*GetEvaluationRequest) GetId ¶
func (x *GetEvaluationRequest) GetId() string
func (*GetEvaluationRequest) ProtoMessage ¶
func (*GetEvaluationRequest) ProtoMessage()
func (*GetEvaluationRequest) ProtoReflect ¶
func (x *GetEvaluationRequest) ProtoReflect() protoreflect.Message
func (*GetEvaluationRequest) Reset ¶
func (x *GetEvaluationRequest) Reset()
func (*GetEvaluationRequest) String ¶
func (x *GetEvaluationRequest) String() string
type GetEvaluationResponse ¶
type GetEvaluationResponse struct { Evaluation *v1alpha1.Evaluation `protobuf:"bytes,1,opt,name=evaluation,proto3" json:"evaluation,omitempty"` // contains filtered or unexported fields }
func (*GetEvaluationResponse) Descriptor
deprecated
func (*GetEvaluationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEvaluationResponse.ProtoReflect.Descriptor instead.
func (*GetEvaluationResponse) GetEvaluation ¶
func (x *GetEvaluationResponse) GetEvaluation() *v1alpha1.Evaluation
func (*GetEvaluationResponse) ProtoMessage ¶
func (*GetEvaluationResponse) ProtoMessage()
func (*GetEvaluationResponse) ProtoReflect ¶
func (x *GetEvaluationResponse) ProtoReflect() protoreflect.Message
func (*GetEvaluationResponse) Reset ¶
func (x *GetEvaluationResponse) Reset()
func (*GetEvaluationResponse) String ¶
func (x *GetEvaluationResponse) String() string
type OccurredAtFilter ¶
type OccurredAtFilter struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Comparison TimeComparison `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Filters events based on when they occurred.
func (*OccurredAtFilter) Descriptor
deprecated
func (*OccurredAtFilter) Descriptor() ([]byte, []int)
Deprecated: Use OccurredAtFilter.ProtoReflect.Descriptor instead.
func (*OccurredAtFilter) GetComparison ¶
func (x *OccurredAtFilter) GetComparison() TimeComparison
func (*OccurredAtFilter) GetTime ¶
func (x *OccurredAtFilter) GetTime() *timestamppb.Timestamp
func (*OccurredAtFilter) ProtoMessage ¶
func (*OccurredAtFilter) ProtoMessage()
func (*OccurredAtFilter) ProtoReflect ¶
func (x *OccurredAtFilter) ProtoReflect() protoreflect.Message
func (*OccurredAtFilter) Reset ¶
func (x *OccurredAtFilter) Reset()
func (*OccurredAtFilter) String ¶
func (x *OccurredAtFilter) String() string
type QueryEvaluationsRequest ¶
type QueryEvaluationsRequest struct { // The token for the next page. PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Filters for the query. Events matching *all* filters will be returned. Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*QueryEvaluationsRequest) Descriptor
deprecated
func (*QueryEvaluationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryEvaluationsRequest.ProtoReflect.Descriptor instead.
func (*QueryEvaluationsRequest) GetFilters ¶
func (x *QueryEvaluationsRequest) GetFilters() []*Filter
func (*QueryEvaluationsRequest) GetPageToken ¶
func (x *QueryEvaluationsRequest) GetPageToken() string
func (*QueryEvaluationsRequest) ProtoMessage ¶
func (*QueryEvaluationsRequest) ProtoMessage()
func (*QueryEvaluationsRequest) ProtoReflect ¶
func (x *QueryEvaluationsRequest) ProtoReflect() protoreflect.Message
func (*QueryEvaluationsRequest) Reset ¶
func (x *QueryEvaluationsRequest) Reset()
func (*QueryEvaluationsRequest) String ¶
func (x *QueryEvaluationsRequest) String() string
type QueryEvaluationsResponse ¶
type QueryEvaluationsResponse struct { Evaluations []*v1alpha1.Evaluation `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*QueryEvaluationsResponse) Descriptor
deprecated
func (*QueryEvaluationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryEvaluationsResponse.ProtoReflect.Descriptor instead.
func (*QueryEvaluationsResponse) GetEvaluations ¶
func (x *QueryEvaluationsResponse) GetEvaluations() []*v1alpha1.Evaluation
func (*QueryEvaluationsResponse) GetNextPageToken ¶
func (x *QueryEvaluationsResponse) GetNextPageToken() string
func (*QueryEvaluationsResponse) ProtoMessage ¶
func (*QueryEvaluationsResponse) ProtoMessage()
func (*QueryEvaluationsResponse) ProtoReflect ¶
func (x *QueryEvaluationsResponse) ProtoReflect() protoreflect.Message
func (*QueryEvaluationsResponse) Reset ¶
func (x *QueryEvaluationsResponse) Reset()
func (*QueryEvaluationsResponse) String ¶
func (x *QueryEvaluationsResponse) String() string
type TagFilter ¶
type TagFilter 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"` Comparison BoolComparison `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Filters event by a particular key/value tag associated when them. Will filter for either events which match the tag, or do not match the tag, based on the 'comparison' value.
func (*TagFilter) Descriptor
deprecated
func (*TagFilter) GetComparison ¶
func (x *TagFilter) GetComparison() BoolComparison
func (*TagFilter) ProtoMessage ¶
func (*TagFilter) ProtoMessage()
func (*TagFilter) ProtoReflect ¶
func (x *TagFilter) ProtoReflect() protoreflect.Message
type TimeComparison ¶
type TimeComparison int32
const ( TimeComparison_TIME_COMPARISON_UNSPECIFIED TimeComparison = 0 // Events which occurred before the specified time. TimeComparison_TIME_COMPARISON_BEFORE TimeComparison = 1 // Events which occurred after the specified time. TimeComparison_TIME_COMPARISON_AFTER TimeComparison = 2 )
func (TimeComparison) Descriptor ¶
func (TimeComparison) Descriptor() protoreflect.EnumDescriptor
func (TimeComparison) Enum ¶
func (x TimeComparison) Enum() *TimeComparison
func (TimeComparison) EnumDescriptor
deprecated
func (TimeComparison) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeComparison.Descriptor instead.
func (TimeComparison) Number ¶
func (x TimeComparison) Number() protoreflect.EnumNumber
func (TimeComparison) String ¶
func (x TimeComparison) String() string
func (TimeComparison) Type ¶
func (TimeComparison) Type() protoreflect.EnumType