mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-06 11:28:46 +02:00
Update so-nsm-clear
This commit is contained in:
@@ -66,11 +66,22 @@ delete_zeek() {
|
||||
ZEEK_LOG="/nsm/zeek/logs/"
|
||||
[ -d $ZEEK_LOG ] && so-zeek-stop && rm -rf $ZEEK_LOG/* && so-zeek-start
|
||||
}
|
||||
delete_import() {
|
||||
IMPORT_DATA="/nsm/import/"
|
||||
[ -d $IMPORT_DATA ] && rm -rf $IMPORT_DATA/*
|
||||
}
|
||||
delete_strelka() {
|
||||
STRELKA_HISTORY_DATA="/nsm/strelka/history/"
|
||||
STRELKA_PROCESSED_DATA="/nsm/strelka/processed/"
|
||||
[ -d $STRELKA_HISTORY_DATA ] && rm -rf $STRELKA_HISTORY_DATA/*
|
||||
[ -d $STRELKA_PROCESSED_DATA ] && rm -rf $STRELKA_PROCESSED_DATA/*
|
||||
}
|
||||
|
||||
|
||||
so-suricata-stop
|
||||
delete_pcap
|
||||
delete_suricata
|
||||
delete_zeek
|
||||
so-suricata-start
|
||||
|
||||
|
||||
delete_import
|
||||
delete_strelka
|
||||
|
||||
Reference in New Issue
Block a user