diff --git a/salt/strelka/filecheck/filecheck b/salt/strelka/filecheck/filecheck index b74cefaed..8b1ddd446 100644 --- a/salt/strelka/filecheck/filecheck +++ b/salt/strelka/filecheck/filecheck @@ -10,9 +10,9 @@ with open("/opt/so/conf/strelka/filecheck.yaml", "r") as ymlfile: cfg = yaml.load(ymlfile) extract_path = cfg["filecheck"]["extract_path"] -historypath = cfg["filecheck.historypath"] -strelkapath = cfg["filecheck.strelkapath"] -logfile = cfg["filecheck.logfile"] +historypath = cfg["filecheck"]["historypath"] +strelkapath = cfg["filecheck"]["strelkapath"] +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)