mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Update filecheck
This commit is contained in:
@@ -10,9 +10,9 @@ with open("/opt/so/conf/strelka/filecheck.yaml", "r") as ymlfile:
|
|||||||
cfg = yaml.load(ymlfile)
|
cfg = yaml.load(ymlfile)
|
||||||
|
|
||||||
extract_path = cfg["filecheck"]["extract_path"]
|
extract_path = cfg["filecheck"]["extract_path"]
|
||||||
historypath = cfg["filecheck.historypath"]
|
historypath = cfg["filecheck"]["historypath"]
|
||||||
strelkapath = cfg["filecheck.strelkapath"]
|
strelkapath = cfg["filecheck"]["strelkapath"]
|
||||||
logfile = cfg["filecheck.logfile"]
|
logfile = cfg["filecheck"]["logfile"]
|
||||||
|
|
||||||
logging.basicConfig(filename=logfile, filemode='w', format='%(asctime)s - %(message)s', datefmt='%d-%b-%y %H:%M:%S', level=logging.INFO)
|
logging.basicConfig(filename=logfile, filemode='w', format='%(asctime)s - %(message)s', datefmt='%d-%b-%y %H:%M:%S', level=logging.INFO)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user