Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options struct { SlackNotification bool `short:"a" help:"Send a Slack notification to the configured webhook when one or more CRE is detected"` Disabled bool `short:"d" help:"Do not run community CREs"` Stop string `short:"e" help:"Stop time"` Generate bool `short:"g" help:"Generate data sources template"` JsonLogs bool `short:"j" help:"Print logs in JSON format to stderr" default:"false"` Skip int `short:"k" help:"Skip the first N lines for timestamp detection"` Level string `short:"l" help:"Print logs at this level to stderr"` Name string `short:"o" help:"Report output name, generated data source template name, or notification context name"` Quiet bool `short:"q" help:"Quiet mode, do not print progress"` Rules string `short:"r" help:"Path to a CRE rules file"` Source string `short:"s" help:"Path to a data source Yaml file"` Format string `short:"t" help:"Format to use for timestamps"` Version bool `short:"v" help:"Print version and exit"` Window string `short:"w" help:"Reorder lookback window duration"` Regex string `short:"x" help:"Regex to match for extracting timestamps"` AcceptUpdates bool `short:"y" help:"Accept updates to rules or new release"` }
Functions ¶
func InitAndExecute ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.