add GLOBALS.pcap_engine

This commit is contained in:
m0duspwnens
2024-01-29 16:54:08 -05:00
parent 88d2ddba8b
commit d118ff4728
7 changed files with 19 additions and 17 deletions

View File

@@ -24,21 +24,21 @@
"statickeyauth": {
"apiKey": "{{ GLOBALS.sensoroni_key }}"
{%- if PCAPMERGED.enabled %}
{%- if PCAPENGINE.steno %}
{%- if GLOBALS.pcap_engine == "STENO" %}
},
"stenoquery": {
"executablePath": "/opt/sensoroni/scripts/stenoquery.sh",
"pcapInputPath": "/nsm/pcap",
"pcapOutputPath": "/nsm/pcapout"
}
{%- elif PCAPENGINE.suri %}
{%- elif GLOBALS.pcap_engine == "SURICATA" %}
},
"suriquery": {
"executablePath": "/opt/sensoroni/scripts/suriquery.sh",
"pcapInputPath": "/nsm/suripcap",
"pcapOutputPath": "/nsm/pcapout"
}
{%- endif %}
{%- endif %}
{%- else %}
}
{%- endif %}