NAME
Ixchel::Actions::suricata_base - Reels in the base Suricata config and uses it for generating the base config for each instance.
VERSION
Version 0.4.0
CLI SYNOPSIS
ixchel -a suricata_base [-d <base_dir>]
ixchel -a suricata_base -w [-o <file>] [--np] [-d <base_dir>]
CODE SYNOPSIS
use Data::Dumper;
my $results=$ixchel->action(action=>'suricata_base', opts=>{np=>1, w=>1, });
print Dumper($results);
DESCRIPTION
This will fetch the file specied via .suricata.base_config in the config. This is a URL to the config file to use, by default it is https://raw.githubusercontent.com/OISF/suricata/master/suricata.yaml.in .
This will be fetched using proxies as defined under .proxy .
The following keys are removed.
.logging.outputs
.outputs
.af-packet
.pcap
.include
.rule-files
.af-xdp
.dpdk
.sensor-name
FLAGS
-w
Write the generated services to service files.
-i instance
A instance to operate on.
-d <base_dir>
Use this as the base dir instead of .suricata.config_base from the config.
RESULT HASH REF
.errors :: A array of errors encountered.
.status_text :: A string description of what was done and teh results.
.ok :: Set to zero if any of the above errored.