-
Notifications
You must be signed in to change notification settings - Fork 529
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
[FR] Manage Exceptions in an as-code way #1738
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I created a Terraform Provider for Elastic Rules and Exceptions |
Interested in this as well. |
Adding a little more context, this method is preferred as it can add exceptions in a structured way vs editing the query. I think to do this correctly, we'd have to do a few things.
Anything else? |
Managing this and rule actions creates complexity. Codifications of those exception lists in a nice streamlined way would be fantastic to have. |
Hi @slawomirbabicz , |
With this new feature #3889, exceptions and exceptions lists can now be managed via our CLI for both local and kibana API usage. These commands can also be easily wrapped in the Terraform providers above. If you run into any issues with managing exceptions lists, please re-open the issue or create a new one. Thanks! |
related to #3405
Is your feature request related to a problem? Please describe.
We have created a CD pipeline for rules using the CLI tool.
We manage rules as TOML files and deploy them to the SIEM in every
git push
.It would be great if we could do the same with the exceptions
Describe the solution you'd like
I would like extra functionality that also manages the Exceptions and Exception List from the CLI
kibana
subcommand.Or any documentation on the matter (if this already exists).
I have seen them the TOML
[[rule.exceptions_list]]
directive is somehow working but I do not know in what extend. Does it support the Exception comment and conditions as well? I tried something like:and didn't work
Describe alternatives you've considered
I have tried adding them as raw Kibana Objects. This didn't work for me.
The text was updated successfully, but these errors were encountered: