Documentation ¶
Index ¶
- Variables
- func RegisterAuditAPIServer(s *grpc.Server, srv AuditAPIServer)
- type Actor
- func (*Actor) Descriptor() ([]byte, []int)
- func (m *Actor) GetAltIds() []string
- func (m *Actor) GetDisplayName() string
- func (m *Actor) GetEmail() string
- func (m *Actor) GetId() string
- func (m *Actor) GetKind() string
- func (*Actor) ProtoMessage()
- func (m *Actor) Reset()
- func (m *Actor) String() string
- func (m *Actor) XXX_DiscardUnknown()
- func (m *Actor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Actor) XXX_Merge(src proto.Message)
- func (m *Actor) XXX_Size() int
- func (m *Actor) XXX_Unmarshal(b []byte) error
- type AuditAPIClient
- type AuditAPIServer
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetActor() *Actor
- func (m *Event) GetEvent() string
- func (m *Event) GetExternalId() string
- func (m *Event) GetId() string
- func (m *Event) GetResources() []*Resource
- func (m *Event) GetSessionId() string
- func (m *Event) GetTimestamp() *timestamp.Timestamp
- func (m *Event) GetXOriginal() []byte
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetAltIds() []string
- func (m *Resource) GetDisplayName() string
- func (m *Resource) GetId() string
- func (m *Resource) GetKind() string
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) String() string
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
- type Target
- func (*Target) Descriptor() ([]byte, []int)
- func (m *Target) GetKind() Target_Kind
- func (m *Target) GetName() string
- func (*Target) ProtoMessage()
- func (m *Target) Reset()
- func (m *Target) String() string
- func (m *Target) XXX_DiscardUnknown()
- func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Target) XXX_Merge(src proto.Message)
- func (m *Target) XXX_Size() int
- func (m *Target) XXX_Unmarshal(b []byte) error
- type Target_Kind
- type WriteBatchRequest
- func (*WriteBatchRequest) Descriptor() ([]byte, []int)
- func (m *WriteBatchRequest) GetAsync() bool
- func (m *WriteBatchRequest) GetEvents() []*Event
- func (m *WriteBatchRequest) GetInputName() string
- func (m *WriteBatchRequest) GetProviderName() string
- func (m *WriteBatchRequest) GetSpaceName() string
- func (*WriteBatchRequest) ProtoMessage()
- func (m *WriteBatchRequest) Reset()
- func (m *WriteBatchRequest) String() string
- func (m *WriteBatchRequest) XXX_DiscardUnknown()
- func (m *WriteBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteBatchRequest) XXX_Merge(src proto.Message)
- func (m *WriteBatchRequest) XXX_Size() int
- func (m *WriteBatchRequest) XXX_Unmarshal(b []byte) error
- type WriteEventRequest
- func (*WriteEventRequest) Descriptor() ([]byte, []int)
- func (m *WriteEventRequest) GetEvent() *Event
- func (m *WriteEventRequest) GetInputName() string
- func (m *WriteEventRequest) GetProviderName() string
- func (m *WriteEventRequest) GetSpaceName() string
- func (*WriteEventRequest) ProtoMessage()
- func (m *WriteEventRequest) Reset()
- func (m *WriteEventRequest) String() string
- func (m *WriteEventRequest) XXX_DiscardUnknown()
- func (m *WriteEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteEventRequest) XXX_Merge(src proto.Message)
- func (m *WriteEventRequest) XXX_Size() int
- func (m *WriteEventRequest) XXX_Unmarshal(b []byte) error
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)
- func (m *WriteRequest) GetAsync() bool
- func (m *WriteRequest) GetEvents() []*Event
- func (m *WriteRequest) GetTarget() *Target
- func (*WriteRequest) ProtoMessage()
- func (m *WriteRequest) Reset()
- func (m *WriteRequest) String() string
- func (m *WriteRequest) XXX_DiscardUnknown()
- func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteRequest) XXX_Merge(src proto.Message)
- func (m *WriteRequest) XXX_Size() int
- func (m *WriteRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterAuditAPIServer ¶
func RegisterAuditAPIServer(s *grpc.Server, srv AuditAPIServer)
Types ¶
type Actor ¶
type Actor struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` AltIds []string `protobuf:"bytes,3,rep,name=alt_ids,json=altIds,proto3" json:"alt_ids,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Actor is the entity that initiated the Event.
func (*Actor) XXX_Marshal ¶
type AuditAPIClient ¶
type AuditAPIClient interface { // Write a new Event to a Target. Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WriteEvent a new Event into Indent. // // Deprecated: Use Write. WriteEvent(ctx context.Context, in *WriteEventRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WriteBatch writes multiple Events into Indent. // // Deprecated: Use Write. WriteBatch(ctx context.Context, in *WriteBatchRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
AuditAPIClient is the client API for AuditAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuditAPIClient ¶
func NewAuditAPIClient(cc *grpc.ClientConn) AuditAPIClient
type AuditAPIServer ¶
type AuditAPIServer interface { // Write a new Event to a Target. Write(context.Context, *WriteRequest) (*empty.Empty, error) // WriteEvent a new Event into Indent. // // Deprecated: Use Write. WriteEvent(context.Context, *WriteEventRequest) (*empty.Empty, error) // WriteBatch writes multiple Events into Indent. // // Deprecated: Use Write. WriteBatch(context.Context, *WriteBatchRequest) (*empty.Empty, error) }
AuditAPIServer is the server API for AuditAPI service.
type Event ¶
type Event struct { Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` ExternalId string `protobuf:"bytes,4,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` SessionId string `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Actor *Actor `protobuf:"bytes,6,opt,name=actor,proto3" json:"actor,omitempty"` Resources []*Resource `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"` XOriginal []byte `protobuf:"bytes,8,opt,name=_original,json=Original,proto3" json:"_original,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Event contains information captured at a specific moment of time, typically relating to an authorization decision or instance of access.
func (*Event) XXX_Marshal ¶
type Resource ¶
type Resource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` AltIds []string `protobuf:"bytes,3,rep,name=alt_ids,json=altIds,proto3" json:"alt_ids,omitempty"` Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Resource related to the Event.
func (*Resource) XXX_Marshal ¶
type Target ¶
type Target struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kind Target_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=indent.audit.v1.Target_Kind" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Target is the indended recipient of the contained Events.
func (*Target) GetKind ¶
func (m *Target) GetKind() Target_Kind
func (*Target) XXX_Marshal ¶
type Target_Kind ¶
type Target_Kind int32
const ( Target_INPUT Target_Kind = 0 Target_OUTPUT Target_Kind = 1 )
func (Target_Kind) EnumDescriptor ¶
func (Target_Kind) EnumDescriptor() ([]byte, []int)
func (Target_Kind) String ¶
func (x Target_Kind) String() string
type WriteBatchRequest ¶
type WriteBatchRequest struct { // Name of space containing provider. SpaceName string `protobuf:"bytes,1,opt,name=space_name,json=spaceName,proto3" json:"space_name,omitempty"` // Name of provider containing Input. ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` // Name of Input the event is written to. InputName string `protobuf:"bytes,3,opt,name=input_name,json=inputName,proto3" json:"input_name,omitempty"` // Async returns immediately and doesn't wait for events to be written. Async bool `protobuf:"varint,4,opt,name=async,proto3" json:"async,omitempty"` // Events being written. Events []*Event `protobuf:"bytes,20,rep,name=events,proto3" json:"events,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteBatchRequest) Descriptor ¶
func (*WriteBatchRequest) Descriptor() ([]byte, []int)
func (*WriteBatchRequest) GetAsync ¶
func (m *WriteBatchRequest) GetAsync() bool
func (*WriteBatchRequest) GetEvents ¶
func (m *WriteBatchRequest) GetEvents() []*Event
func (*WriteBatchRequest) GetInputName ¶
func (m *WriteBatchRequest) GetInputName() string
func (*WriteBatchRequest) GetProviderName ¶
func (m *WriteBatchRequest) GetProviderName() string
func (*WriteBatchRequest) GetSpaceName ¶
func (m *WriteBatchRequest) GetSpaceName() string
func (*WriteBatchRequest) ProtoMessage ¶
func (*WriteBatchRequest) ProtoMessage()
func (*WriteBatchRequest) Reset ¶
func (m *WriteBatchRequest) Reset()
func (*WriteBatchRequest) String ¶
func (m *WriteBatchRequest) String() string
func (*WriteBatchRequest) XXX_DiscardUnknown ¶
func (m *WriteBatchRequest) XXX_DiscardUnknown()
func (*WriteBatchRequest) XXX_Marshal ¶
func (m *WriteBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteBatchRequest) XXX_Merge ¶
func (m *WriteBatchRequest) XXX_Merge(src proto.Message)
func (*WriteBatchRequest) XXX_Size ¶
func (m *WriteBatchRequest) XXX_Size() int
func (*WriteBatchRequest) XXX_Unmarshal ¶
func (m *WriteBatchRequest) XXX_Unmarshal(b []byte) error
type WriteEventRequest ¶
type WriteEventRequest struct { // Name of space containing provider. SpaceName string `protobuf:"bytes,1,opt,name=space_name,json=spaceName,proto3" json:"space_name,omitempty"` // Name of provider containing Input. ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` // Name of Input the event is written to. InputName string `protobuf:"bytes,3,opt,name=input_name,json=inputName,proto3" json:"input_name,omitempty"` // Event being written. Event *Event `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteEventRequest) Descriptor ¶
func (*WriteEventRequest) Descriptor() ([]byte, []int)
func (*WriteEventRequest) GetEvent ¶
func (m *WriteEventRequest) GetEvent() *Event
func (*WriteEventRequest) GetInputName ¶
func (m *WriteEventRequest) GetInputName() string
func (*WriteEventRequest) GetProviderName ¶
func (m *WriteEventRequest) GetProviderName() string
func (*WriteEventRequest) GetSpaceName ¶
func (m *WriteEventRequest) GetSpaceName() string
func (*WriteEventRequest) ProtoMessage ¶
func (*WriteEventRequest) ProtoMessage()
func (*WriteEventRequest) Reset ¶
func (m *WriteEventRequest) Reset()
func (*WriteEventRequest) String ¶
func (m *WriteEventRequest) String() string
func (*WriteEventRequest) XXX_DiscardUnknown ¶
func (m *WriteEventRequest) XXX_DiscardUnknown()
func (*WriteEventRequest) XXX_Marshal ¶
func (m *WriteEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteEventRequest) XXX_Merge ¶
func (m *WriteEventRequest) XXX_Merge(src proto.Message)
func (*WriteEventRequest) XXX_Size ¶
func (m *WriteEventRequest) XXX_Size() int
func (*WriteEventRequest) XXX_Unmarshal ¶
func (m *WriteEventRequest) XXX_Unmarshal(b []byte) error
type WriteRequest ¶
type WriteRequest struct { // Target being written to. Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Async returns immediately and doesn't wait for events to be written. Async bool `protobuf:"varint,5,opt,name=async,proto3" json:"async,omitempty"` // Events being written. Events []*Event `protobuf:"bytes,20,rep,name=events,proto3" json:"events,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteRequest) Descriptor ¶
func (*WriteRequest) Descriptor() ([]byte, []int)
func (*WriteRequest) GetAsync ¶
func (m *WriteRequest) GetAsync() bool
func (*WriteRequest) GetEvents ¶
func (m *WriteRequest) GetEvents() []*Event
func (*WriteRequest) GetTarget ¶
func (m *WriteRequest) GetTarget() *Target
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) Reset ¶
func (m *WriteRequest) Reset()
func (*WriteRequest) String ¶
func (m *WriteRequest) String() string
func (*WriteRequest) XXX_DiscardUnknown ¶
func (m *WriteRequest) XXX_DiscardUnknown()
func (*WriteRequest) XXX_Marshal ¶
func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteRequest) XXX_Merge ¶
func (m *WriteRequest) XXX_Merge(src proto.Message)
func (*WriteRequest) XXX_Size ¶
func (m *WriteRequest) XXX_Size() int
func (*WriteRequest) XXX_Unmarshal ¶
func (m *WriteRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.