https://redmine.openinfosecfoundation.org/issues/3974
- Allow spaces in custom HTTP headers. Redmine issue
https://redmine.openinfosecfoundation.org/issues/4362
+- Better error message on invalid source specification:
+ https://redmine.openinfosecfoundation.org/issues/5141
## 1.2.5 - 2022-09-22
- Update entrypoint search path when not installed with distutils. This is
for filename in filenames:
if filename.endswith(".yaml"):
path = os.path.join(dirpath, filename)
+ logger.debug("Loading source specification file {}".format(path))
source = yaml.safe_load(open(path, "rb"))
+
+ if not "source" in source:
+ logger.error("Source specification file missing field \"source\": filename: {}".format(
+ path))
+ continue
+
sources[source["source"]] = source
if "params" in source: