Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Paths simpleStringSlice MaxFileSize = fileSize(32 * 1024 * 1024) ReportTargets = simpleStringSlice([]string{"spyre.log"}) Hostname string HighPriority bool YaraFiles simpleStringSlice IocFiles simpleStringSlice )
View Source
var Fs afero.Fs
Fs is the "filesystem" in which configuration and rules are found. This can be provided through a ZIP file appended to the binary.
Functions ¶
func ReadIOCs ¶ added in v1.1.0
ReadIOCs reads IOCs from iocFile into iocs. iocs is typically a struct with a single member, most likely string-based map or slice, which is tagged with the name of a subkey.
Example:
type iocs struct { EventObjects []keyIOC `json:"registry-keys"` }
type keyIOC struct { ... }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.