package
Version:
v1.8.0-beta.7
Opens a new window with list of versions in this module.
Published: Jul 27, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ToolSysmon = "sysmon"
ToolOSQueryi = "osqueryi"
)
type Metadata struct {
Md5 string `sod:"lower,index" json:"md5"`
Sha1 string `sod:"lower,index" json:"sha1"`
Sha256 string `sod:"lower,index" json:"sha256"`
Sha512 string `sod:"lower,index" json:"sha512"`
}
type Tool struct {
sod.Item
Uuid string `sod:"index,unique" json:"uuid"`
OS string `sod:"index" json:"os"`
Name string `sod:"index" json:"name"`
Alias string `json:"alias"`
Metadata Metadata `json:"metadata"`
Binary []byte `json:"binary,omitempty"`
}
Validate function triggered by database insertion
Structure will not be inserted if any error is returned by
this function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.