Sensoroni Module - Add Valid Configs

This commit is contained in:
Mike Reeves
2019-06-10 11:16:56 -04:00
parent 6b219710b1
commit 8036c8b236
3 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
{%- set MASTERIP = salt['pillar.get']('static:masterip', '') -%}
{%- set SENSORONIKEY = salt['pillar.get']('static:sensoronikey', '') -%}
{
"logFilename": "sensoroni.log",
"agent": {
"pollIntervalMs": 10000,
"serverUrl": "https://{{ MASTERIP }}/sensoroniagents",
"modules": {
"statickeyauth": {
"apiKey": "{{ SENSORONIKEY }}"
},
"stenoquery": {
"pcapInputPath": "/nsm/pcap",
"pcapOutputPath": "/nsm/pcapoutput"
}
}
}
}

View File

@@ -1 +1,25 @@
# Config File if Needed
{%- set MASTERIP = salt['pillar.get']('static:masterip', '') -%}
{%- set SENSORONIKEY = salt['pillar.get']('static:sensoronikey', '') -%}
{
"logFilename": "sensoroni-server.log",
"server": {
"bindAddress": "{{ MASTERIP }}:9822",
"maxPacketCount": 5000,
"htmlDir": "html",
"modules": {
"filedatastore": {
"jobDir": "jobs"
},
"securityonion": {
"elasticsearchHost": "http://{{ MASTERIP }}:9200",
"elasticsearchUsername": "",
"elasticsearchPassword": "",
"elasticsearchVerifyCert": false
},
"statickeyauth": {
"anonymousCidr": "{{ MASTERIP }}/32",
"apiKey": "{{ SENSORONIKEY }}"
}
}
}
}