search

package
v0.0.0-...-2c15bd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL