elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.67k stars 8.23k forks source link

[Security Solution] Abort Rule Management API endpoint handlers after abort signal comes #177284

Open maximpn opened 9 months ago

maximpn commented 9 months ago

Relates to: https://github.com/elastic/kibana/issues/177277

Summary

Rule Management API endpoints should terminate whenever an abort signal comes. It may be a connection termination or some external event when absence of reaction on aborting will lead to unnecessary resources consumption, memory leaks and undefined behaviour.

There is a documenation about abort signals usage and an example of using it with the ES client.

elasticmachine commented 9 months ago

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

elasticmachine commented 9 months ago

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

elasticmachine commented 9 months ago

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)