Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultWindow time.Duration = 39600 * time.Hour
by default, search all records 10 years prior and after today
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Parameters struct { ActionID string `json:"actionid"` ActionName string `json:"actionname"` After time.Time `json:"after"` AgentID string `json:"agentid"` AgentName string `json:"agentname"` AgentVersion string `json:"agentversion"` Before time.Time `json:"before"` CommandID string `json:"commandid"` FoundAnything bool `json:"foundanything"` InvestigatorID string `json:"investigatorid"` InvestigatorName string `json:"investigatorname"` Limit float64 `json:"limit"` LoaderID string `json:"loaderid"` LoaderName string `json:"loadername"` ManifestID string `json:"manifestid"` ManifestName string `json:"manifestname"` Offset float64 `json:"offset"` Report string `json:"report"` Status string `json:"status"` Target string `json:"target"` ThreatFamily string `json:"threatfamily"` Type string `json:"type"` }
SearchParameters contains fields used to perform database searches
func NewParameters ¶
func NewParameters() (p Parameters)
NewParameters initializes search parameters
func (Parameters) String ¶
func (p Parameters) String() (query string)
String() returns a query string with the current search parameters
Click to show internal directories.
Click to hide internal directories.