elastic / kibana

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

[Security Solution] Implement rule upgrade concurrency control #200134

Open xcrzx opened 10 hours ago

xcrzx commented 10 hours ago

Summary

The UpgradePrebuiltRulesTableContext currently doesn’t consider rule revisions and target versions. It's possible for users to start resolving rule upgrades in the UI while a new package version is installed in the background. In such cases, all user-resolved values should be invalidated to prevent potential issues. Without this, users may unknowingly apply updates to an outdated version, resulting in unpredictable outcomes and difficult-to-debug situations.

User-resolved values should be invalidated in the following situations:

elasticmachine commented 10 hours ago

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

elasticmachine commented 10 hours ago

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

elasticmachine commented 10 hours ago

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