NAME

Ixchel::Actions::suricata_extract_submit_config - Generates the config file for suricata_extract_submit.

VERSION

Version 0.1.0

CLI SYNOPSIS

ixchel -a suricata_extract_submit_config

ixchel -a suricata_extract_submit_config -w [-o <file>]

CODE SYNOPSIS

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

if ($results->{ok}) {
    print $results->{filled_in};
}else{
    die('Action errored... '.joined("\n", @{$results->{errors}}));
}

DESCRIPTION

The template used is 'suricata_extract_submit'.

The returned value is the filed in template.

FLAGS

-w

Write out the file instead of stdout.

-o <file>

File to write the out to if -w is specified.

Default :: /usr/local/etc/suricata_extract_submit.ini

RESULT HASH REF

.errors :: A array of errors encountered.
.status_text :: A string description of what was done and the results.
.ok :: Set to zero if any of the above errored.
.filled_in :: The filled in template.