elastic / kibana

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

[Security Solution] Cypress: create rules disabled by default #147377

Open banderror opened 1 year ago

banderror commented 1 year ago

Epic: https://github.com/elastic/kibana/issues/153633 Related to: https://github.com/elastic/kibana/pull/147349

Summary

When we create detection rules in Cypress tests, in most cases we create them enabled. This shouldn't be needed for many of the tests, e.g. it's not needed for the majority of rule management tests. Enabled rules consume resources of the BE which negatively affects the performance of Cypress tests themselves.

By default, create rules disabled. Only enable them or create enabled where necessary.

elasticmachine commented 1 year ago

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

elasticmachine commented 1 year ago

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