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.0.1

SYNOPSIS

use Data::Dumper;

my $results=$ixchel->action(action=>'suricata_base', opts=>{np=>1, w=>1, });

print Dumper($results);

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
.af-packet
.pcap
.include
.rule-files

FLAGS

--np

Do not print the status of it.

-w

Write the generated services to service files.

-i instance

A instance to operate on.

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.