mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
21 lines
588 B
Go
21 lines
588 B
Go
package kolide
|
|
|
|
type FIMSections map[string][]string
|
|
|
|
type FileIntegrityMonitoringStore interface {
|
|
// NewFIMSection creates a named group of file paths
|
|
NewFIMSection(path *FIMSection) (*FIMSection, error)
|
|
// FIMSections returns all named file sections
|
|
FIMSections() (FIMSections, error)
|
|
}
|
|
|
|
// FilePath maps a name to a group of files for the osquery file_paths
|
|
// section.
|
|
// See https://osquery.readthedocs.io/en/stable/deployment/configuration/
|
|
type FIMSection struct {
|
|
ID uint
|
|
SectionName string `db:"section_name"`
|
|
Description string
|
|
Paths []string `db:"-"`
|
|
}
|