Skip to content
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] Allow Addition of Custom Indices to Pre-Built Security Detection Rules #153745

Open
MakoWish opened this issue Mar 25, 2023 · 5 comments
Open
Labels
💝community enhancement New value added to drive a business result Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@MakoWish
Copy link

MakoWish commented Mar 25, 2023

Is your feature request related to a problem? Please describe.
I am sure we are not the only customers with custom data sources from things like DLP or DAG, but we often want to include those indices into some of the pre-built Security Detection Rules. This is currently only possible by executing a PATCH kbn:/api/detection_engine/rules ... command, but the unfortunate thing is, every time a rule is updated, those custom indices we added are removed. I used to clone pre-built Detection Rules, and modify those cloned rules, but we then miss out on any updates to logic, etc. that are applied to the originals.

Describe the solution you'd like
Aside from adding Exceptions, the only other configurable options on a pre-built Detection Rule are for defining Actions. I would like to see a way to append custom indices to the list of indices that are predefined in the rule. These indices that are appended should not be overwritten when rules are updated.

Describe alternatives you've considered
None. I just have to remember to go through and PATCH all the rules we previously modified any time rules are updated. This is quite a lot of manual work.

Additional context
None

If this would be better suited in the Kibana repo, let me know, and I will move it there.

@MakoWish MakoWish added the enhancement New value added to drive a business result label Mar 25, 2023
@banderror
Copy link
Contributor

Hey @MakoWish, thanks a lot for your feedback. You're right that this has been a major problem for many Security users. The good news is: we're working on addressing it. You can find some information in this issue and this document. This is work in progress right now. The use case with appending custom indices to rules, including CCS indices, is going to be addressed.

@banderror banderror transferred this issue from elastic/detection-rules Mar 27, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 27, 2023
@banderror banderror added Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules 8.9 candidate and removed needs-team Issues missing a team label labels Mar 27, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@MakoWish
Copy link
Author

MakoWish commented Apr 21, 2023

I see the 8.7.0 label on #125665 , but I upgraded our DEV environment to 8.7.0 and still don't see any way to modify the indices being queried. Am I overlooking it?

@banderror
Copy link
Contributor

@MakoWish No, this feature is not implemented in 8.7.0, it's going to take a few minor release cycles to build it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💝community enhancement New value added to drive a business result Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

3 participants