Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶
type Events struct { Total int64 `json:"total" description:"total number of matched results"` Records []interface{} `json:"records" description:"actual array of results"` }
type Filter ¶
type Filter struct { ObjectRefNamespaceMap map[string]time.Time WorkspaceMap map[string]time.Time ObjectRefNamespaces []string ObjectRefNamespaceFuzzy []string Workspaces []string WorkspaceFuzzy []string ObjectRefNames []string ObjectRefNameFuzzy []string Levels []string Verbs []string Users []string UserFuzzy []string GroupFuzzy []string SourceIpFuzzy []string ObjectRefResources []string ObjectRefSubresources []string ResponseCodes []int32 ResponseStatus []string StartTime time.Time EndTime time.Time }
type Options ¶
type Options struct { Enable bool `json:"enable" yaml:"enable"` WebhookUrl string `json:"webhookUrl" yaml:"webhookUrl"` // The maximum concurrent senders which send auditing events to the auditing webhook. EventSendersNum int `json:"eventSendersNum" yaml:"eventSendersNum"` // The batch size of auditing events. EventBatchSize int `json:"eventBatchSize" yaml:"eventBatchSize"` // The batch interval of auditing events. EventBatchInterval time.Duration `json:"eventBatchInterval" yaml:"eventBatchInterval"` Host string `json:"host" yaml:"host"` BasicAuth bool `json:"basicAuth" yaml:"basicAuth"` Username string `json:"username" yaml:"username"` Password string `json:"password" yaml:"password"` IndexPrefix string `json:"indexPrefix,omitempty" yaml:"indexPrefix,omitempty"` Version string `json:"version" yaml:"version"` }
func NewAuditingOptions ¶
func NewAuditingOptions() *Options
type Statistics ¶
Click to show internal directories.
Click to hide internal directories.