enable/disable suricata in ui. assign threads properly

This commit is contained in:
m0duspwnens
2023-05-22 17:48:22 -04:00
parent 4ef77f9050
commit eb633be437
11 changed files with 348 additions and 288 deletions

View File

@@ -230,6 +230,7 @@ function add_sensor_to_minion() {
echo " node:" >> $PILLARFILE
echo " lb_procs: '$CORECOUNT'" >> $PILLARFILE
echo "suricata:" >> $PILLARFILE
echo " enabled: True " >> $PILLARFILE
echo " config:" >> $PILLARFILE
echo " af-packet:" >> $PILLARFILE
echo " threads: '$CORECOUNT'" >> $PILLARFILE