Documentation ¶
Index ¶
- type AuditEvent
- type AuditEventCodes
- type AuditEventInfo
- type AuditEventSearchObject
- type EventsResult
- type Monitor
- func (store *Monitor) AuditEventCodes() (*AuditEventCodes, error)
- func (store *Monitor) AuditEvents(offset, limit int, sortkey, sortdir string, fuzzycount bool) (*EventsResult, error)
- func (store *Monitor) ComponentStatus(hostname string) (*json.RawMessage, error)
- func (store *Monitor) ComponentsStatus() (*json.RawMessage, error)
- func (store *Monitor) InstanceStatus() (*json.RawMessage, error)
- func (store *Monitor) SearchAuditEvents(offset, limit int, sortkey, sortdir string, fuzzycount bool, ...) (*EventsResult, error)
- func (store *Monitor) TerminateInstances() error
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶
type AuditEvent struct { ServiceID string `json:"service_id,omitempty"` ServiceName string `json:"service_name,omitempty"` EventID string `json:"event_id,omitempty"` EventName string `json:"event_name,omitempty"` Created string `json:"created,omitempty"` Message map[string]string `json:"message,omitempty"` }
AuditEvent audit event definitions
type AuditEventCodes ¶
type AuditEventCodes map[string]AuditEventInfo
AuditEventCodes audit event codes definitions
type AuditEventInfo ¶
type AuditEventInfo struct { EventID int `json:"event_id"` EventName string `json:"event_name"` EventDescription string `json:"event_desc"` }
AuditEventInfo audit event codes value definitions
type AuditEventSearchObject ¶
type AuditEventSearchObject struct { Keywords string `json:"keywords"` UserID string `json:"user_id"` ConnectionID string `json:"connection_id"` HostID string `json:"host_id"` SourceID string `json:"source_id"` SessionID string `json:"session_id"` AccessGroupID string `json:"access_group_id"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
AuditEventSearchObject audit event search definitions
type EventsResult ¶
type EventsResult struct { Count int `json:"count"` Items []AuditEvent `json:"items"` }
EventsResult list of event results
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is a monitor service client instance.
func (*Monitor) AuditEventCodes ¶
func (store *Monitor) AuditEventCodes() (*AuditEventCodes, error)
AuditEventCodes get audit event codes
func (*Monitor) AuditEvents ¶
func (store *Monitor) AuditEvents(offset, limit int, sortkey, sortdir string, fuzzycount bool) (*EventsResult, error)
AuditEvents get all audit events
func (*Monitor) ComponentStatus ¶
func (store *Monitor) ComponentStatus(hostname string) (*json.RawMessage, error)
ComponentStatus get component status object by hostname.
func (*Monitor) ComponentsStatus ¶
func (store *Monitor) ComponentsStatus() (*json.RawMessage, error)
ComponentsStatus get the status of all deployed privx components
func (*Monitor) InstanceStatus ¶
func (store *Monitor) InstanceStatus() (*json.RawMessage, error)
InstanceStatus status of the whole instance
func (*Monitor) SearchAuditEvents ¶
func (store *Monitor) SearchAuditEvents(offset, limit int, sortkey, sortdir string, fuzzycount bool, searchObject *AuditEventSearchObject) (*EventsResult, error)
SearchAuditEvents search for audit events
func (*Monitor) TerminateInstances ¶
TerminateInstances terminate PrivX instances
Click to show internal directories.
Click to hide internal directories.