Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzers []Analyzer
Analyzers list of analyzers
View Source
var Options struct { //AccessKey AWS access key AccessKey string //Secret AWS secret Secret string //SessionToken AWS session token SessionToken string //Region os AWS region Region string //MaxOnlineEvents is the maximal number of events to load from cloudtrail MaxOnlineEvents int }
Options global options
Functions ¶
func Load ¶
func Load(progress ProgressFunc) error
Load reads all events from cloudtrail and builds assumerole sessions
func LoadAndAnalyze ¶
func LoadAndAnalyze(progress ProgressFunc) error
LoadAndAnalyze resets analyzer, loads new data and perform all analysis
Types ¶
type Analyzer ¶
type Analyzer interface { Analyze(event cloudtrailevents.Event) error Name() string Clear() error }
Analyzer something that analyzes events
type BleveAnalyzer ¶
BleveAnalyzer ...
func NewBleveAnalyzer ¶
func NewBleveAnalyzer(path string) (*BleveAnalyzer, error)
NewBleveAnalyzer ...
func (*BleveAnalyzer) Analyze ¶
func (ba *BleveAnalyzer) Analyze(e cloudtrail.Event) error
Analyze ...
type ProgressFunc ¶
ProgressFunc defines a function for progress indication
Click to show internal directories.
Click to hide internal directories.