mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-08 20:38:00 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e604ad5969 |
@@ -66,11 +66,22 @@ delete_zeek() {
|
|||||||
ZEEK_LOG="/nsm/zeek/logs/"
|
ZEEK_LOG="/nsm/zeek/logs/"
|
||||||
[ -d $ZEEK_LOG ] && so-zeek-stop && rm -rf $ZEEK_LOG/* && so-zeek-start
|
[ -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
|
so-suricata-stop
|
||||||
delete_pcap
|
delete_pcap
|
||||||
delete_suricata
|
delete_suricata
|
||||||
delete_zeek
|
delete_zeek
|
||||||
so-suricata-start
|
so-suricata-start
|
||||||
|
delete_import
|
||||||
|
delete_strelka
|
||||||
|
|||||||
Reference in New Issue
Block a user