-
-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
@satta ping: we ditch |
Thanks, good to know. For buster, yes. Bullseye will have |
Hey @satta, I just checked the docs, and we definitely require
|
Got it. This will mean updating and backporting version 3 as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes itself look good to me, but I failed to pass validation when I tried to start threatbus:
$ head -7 config.yaml.example
logging:
console: true
console_verbosity: DEBUG
file: false
file_verbosity: DEBUG
filename: threatbus.log
$ threatbus -c config.yaml.example
Invalid config: combined validators failed logging.console is required in env main or logging.file is required in env main
$ THREATBUS_LOGGING_CONSOLE=true threatbus -c config.yaml.example
Invalid config: combined validators failed logging.console is required in env main or logging.file is required in env main
It's not completely clear to me what the issue is.
Both things you tried are invalid. You first need to copy the file to something ending in Second, as stated in the readme,
|
Shouldn't we then add a validator that checks that the |
While we lose the ability to accept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good; I didn't get to do too much local testing but imho it's fine to merge this now and fix any remaining issues as they come up, since it's a month anyways to the next release.
馃摂 Description
Switch configuration framework from confuse to dynaconf. The PR updates all of Threat Bus, all plugins, all apps, all integration tests and the MISP test utils.
Docs will follow in a separate PR.
馃摑 Checklist
馃幆 Review Instructions
required
values are present or the validation should complain otherwise.