mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
merge pillar with the defaults https://github.com/Security-Onion-Solutions/securityonion/issues/2319
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{%- import_yaml "zeek/fileextraction_defaults.yaml" as zeek_default %}
|
{% import_yaml "zeek/fileextraction_defaults.yaml" as zeek_default -%}
|
||||||
{%- set zeek = salt['grains.filter_by'](zeek_default, default='zeek', merge=salt['pillar.get']('zeek', {})) %}
|
{% set zeek = salt['grains.filter_by'](zeek_default, default='zeek', merge=salt['pillar.get']('zeek', {})) -%}
|
||||||
# Directory to stage Zeek extracted files before processing
|
# Directory to stage Zeek extracted files before processing
|
||||||
redef FileExtract::prefix = "/nsm/zeek/extracted/";
|
redef FileExtract::prefix = "/nsm/zeek/extracted/";
|
||||||
# Set a limit to the file size
|
# Set a limit to the file size
|
||||||
@@ -7,7 +7,7 @@ redef FileExtract::default_limit = 9000000;
|
|||||||
# These are the mimetypes we want to rip off the networks
|
# These are the mimetypes we want to rip off the networks
|
||||||
export {
|
export {
|
||||||
global _mime_whitelist: table[string] of string = {
|
global _mime_whitelist: table[string] of string = {
|
||||||
{%- for li in zeek.zeek.policy.file_extraction %}
|
{%- for li in zeek.policy.file_extraction %}
|
||||||
{%- if not loop.last %}
|
{%- if not loop.last %}
|
||||||
{%- for k,v in li.items() %}
|
{%- for k,v in li.items() %}
|
||||||
["{{ k }}"] = "{{ v }}",
|
["{{ k }}"] = "{{ v }}",
|
||||||
|
|||||||
Reference in New Issue
Block a user