-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option to test falco rules before applying #194
Comments
Sounds like a great idea, I'll make sure it happens in the next falco release. |
I just tried and So I think that should be sufficient. If you're looking for the ability to only validate falco_rules.yaml go ahead and reopen and I'll add that ability. |
yes, it's more the latter: only validate falco_rules.yaml |
Ah ok, I'll reopen then. |
To test configuration, you can use 'falco -c %s -L'.
ansible has a validate option to test a new file before replacing old one. it works fine for falco.yaml but not to falco_rules.yaml.
it would be nice if 'falco -c %s -L' could also apply to rules file alone or have another option to do so.
it allows play to gracefully fail when there is an error in rules.
it also means you can update falco.yaml, validate, update falco rules and at next play falco.yaml validation will fail because of rules file.
Thanks
The text was updated successfully, but these errors were encountered: