Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountPipelineSteps ¶
func LintPipeline ¶
func WalkPipeline ¶
func WalkPipeline(item Config, in []Step, cb WalkCallback)
Types ¶
type Config ¶
type Config struct { ArchivesPasswords []string `hcl:"archives_passwords,optional"` // TemporaryFolder string `hcl:"temporary_folder"` Pipeline PipelineConfig `hcl:"pipeline,block"` Packages []PipelineConfig `hcl:"package,block"` }
func LoadAndLint ¶
func LoadDSLFile ¶
type FindConfig ¶
type FindConfig struct { Name string `hcl:"name,label"` Decompress bool `hcl:"decompress,optional"` InputPaths []string `hcl:"input_paths,optional"` SkipInputPaths []string `hcl:"skip_input_paths,optional"` ContinueWith []string `hcl:"continue_with,optional"` RemoveAfterDecompress bool `hcl:"remove_after_decompress,optional"` InputMimes []string `hcl:"input_mimes,optional"` DecompressWorkersCount int `hcl:"decompress_workers_count,optional"` // Extracts []ExtractConfig `hcl:"extract,block"` Finds []FindConfig `hcl:"find,block"` Processes []ProcessConfig `hcl:"process,block"` Imports []ImportConfig `hcl:"import,block"` }
type ImportConfig ¶
type ImportConfig struct { Name string `hcl:"name,label"` Imports []ImportConfig `hcl:"import,block"` }
type OutputConfig ¶
type PipelineConfig ¶
type PipelineConfig struct { Name string `hcl:"name,label"` // Extracts []ExtractConfig `hcl:"extract,block"` Finds []FindConfig `hcl:"find,block"` Processes []ProcessConfig `hcl:"process,block"` Imports []ImportConfig `hcl:"import,block"` }
type ProcessConfig ¶
type Runargs ¶
type Runargs struct { LogFile string Verbose bool ProcessorTimeout int WorkersCount uint32 Targets []string PipelineFile string Tag string Splunk Splunkargs OutputFolder string // SigmaFolder string // YaraFolder string TempFolder string }
func NewRunargs ¶
func NewRunargs() *Runargs
type WalkCallback ¶
Click to show internal directories.
Click to hide internal directories.