elastic / kibana

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

[Detection Engine][FTR] Use of `refresh` in FTRs #182889

Open yctercero opened 1 week ago

yctercero commented 1 week ago

Summary

A number of our tests (FTRs) make use of utils that manually refresh internal indices. This is ok when running them in ESS, but not when running them in Serverless. In Serverless, the superuser role does not have sufficient privileges to execute such actions on internal indices.

We can consider elevating the privileges of our test user, but that would make me worry that we may be moving our tests a bit further away from the "true" behavior.

Examples:

Action needed

Determine if there is best practice for conducting actions in tests that users may be blocked from in Serverless environment. Is it absolutely necessary? Could we do without it?

elasticmachine commented 1 week ago

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

elasticmachine commented 1 week ago

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

elasticmachine commented 1 week ago

Pinging @elastic/security-detection-engine (Team:Detection Engine)