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

[Security Solution][Detections] Rule context.results_link can become stale with no clear way to update #92344

Open
spong opened this issue Feb 23, 2021 · 9 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rule Actions Security Solution Rule Actions feature impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@spong
Copy link
Member

spong commented Feb 23, 2021

It's been reported that the context.results_link within Rule Actions can become stale and there is no clear or documented way for users to update it, resulting in broken links within actions.

The context.results_link field is stored in {meta: {kibana_siem_app_url: "url}} on individual rules, and is only updated when a rule is edited. This field is not exposed to the user in the UI, and so it is not clear that this action will update the results_link field.

This is especially problematic for a deployment changing domains, as the only way via the UI to ensure all their rules are using the updated results_link is to manually edit each rule. Alternatively, this could be automated via the API or performed as a bulk find/replace by exporting, editing, and re-importing all the rules.

@spong spong added bug Fixes for quality problems that affect the customer experience Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Feature:Rule Actions Security Solution Rule Actions feature labels Feb 23, 2021
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@MadameSheema MadameSheema added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Feb 23, 2021
@peluja1012 peluja1012 added the Team:Detection Rule Management Security Detection Rule Management Team label Mar 18, 2022
@LaZyDK
Copy link

LaZyDK commented Jul 13, 2022

I have this issue.

@peluja1012 peluja1012 added Team:Detection Alerts Security Detection Alerts Area Team and removed Team:Detection Rule Management Security Detection Rule Management Team labels Aug 3, 2022
@yctercero yctercero added Team:Detection Engine Security Solution Detection Engine Area and removed Team:Detection Alerts Security Detection Alerts Area Team labels May 13, 2023
@chadnormanimpact
Copy link

I have this issue

@yctercero
Copy link
Contributor

@banderror was this field addressed as part of the prebuilt rule customization effort? Wondering if it is now exposed?

@banderror
Copy link
Contributor

@yctercero I don't think we've touched the meta object during the work on rule customization. @jpdjere Could you confirm?

@jpdjere
Copy link
Contributor

jpdjere commented Sep 30, 2024

Hi @yctercero and @banderror

We haven't done any changes to this field, it can still be updated by our PATCH and PUT endpoints.

Also, it has been left out of the upgrade workflow: the field is not part of the APIs to upgrade a rule - during upgrade it will be always be forcefully "updated" to whatever the current value for the field is.

@yctercero
Copy link
Contributor

Thanks @jpdjere ! What would be the effort to surface it in the UI? It seems to be an issue a number of users hit. cc @approksiu

@banderror
Copy link
Contributor

banderror commented Oct 4, 2024

@yctercero I don't think it's possible to give a good answer to the question "What would be the effort to surface it in the UI?" without first discussing it with the product/UX team in order to understand what we'd like to have in that UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rule Actions Security Solution Rule Actions feature impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Detection Engine Security Solution Detection Engine Area 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

9 participants