mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{%- from 'vars/globals.map.jinja' import GLOBALS %}
|
|
{%- from 'sensoroni/map.jinja' import SENSORONIMERGED %}
|
|
{%- from 'pcap/config.map.jinja' import PCAPMERGED %}
|
|
{
|
|
"logFilename": "/opt/sensoroni/logs/sensoroni.log",
|
|
"logLevel":"info",
|
|
"agent": {
|
|
"nodeId": "{{ GLOBALS.hostname | lower }}",
|
|
"role": "{{ GLOBALS.role }}",
|
|
"description": {{ SENSORONIMERGED.config.node_description | tojson }},
|
|
"address": "{{ GLOBALS.node_ip }}",
|
|
"model": "{{ GLOBALS.so_model }}",
|
|
"pollIntervalMs": {{ SENSORONIMERGED.config.node_checkin_interval_ms }},
|
|
"serverUrl": "https://{{ GLOBALS.url_base }}/sensoroniagents",
|
|
"verifyCert": false,
|
|
"modules": {
|
|
{%- if SENSORONIMERGED.config.analyze.enabled %}
|
|
"analyze": {
|
|
"timeoutMs": {{ SENSORONIMERGED.config.analyze.timeout_ms }},
|
|
"parallelLimit": {{ SENSORONIMERGED.config.analyze.parallel_limit }}
|
|
},
|
|
{%- endif %}
|
|
"importer": {},
|
|
"statickeyauth": {
|
|
"apiKey": "{{ GLOBALS.sensoroni_key }}"
|
|
{%- if PCAPMERGED.enabled %}
|
|
{%- if PCAPENGINE.steno %}
|
|
},
|
|
"stenoquery": {
|
|
"executablePath": "/opt/sensoroni/scripts/stenoquery.sh",
|
|
"pcapInputPath": "/nsm/pcap",
|
|
"pcapOutputPath": "/nsm/pcapout"
|
|
}
|
|
{%- elif PCAPENGINE.suri %}
|
|
},
|
|
"suriquery": {
|
|
"executablePath": "/opt/sensoroni/scripts/suriquery.sh",
|
|
"pcapInputPath": "/nsm/suripcap",
|
|
"pcapOutputPath": "/nsm/pcapout"
|
|
}
|
|
{%- endif %}
|
|
{%- else %}
|
|
}
|
|
{%- endif %}
|
|
}
|
|
}
|
|
}
|