elastic / kibana

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

[Security Solution][Investigations] Updates API FTR tests to not run with operator privileges #184807

Closed MadameSheema closed 3 months ago

MadameSheema commented 4 months ago

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

Details and examples of how to do that are in the serverless test readme: main/x-pack/test_serverless/README.md#roles-based-testing

elasticmachine commented 4 months ago

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

elasticmachine commented 4 months ago

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

elasticmachine commented 4 months ago

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

angorayc commented 3 months ago

The current role we use to generate the api key is an admin role, but it is not an operator role. https://github.com/elastic/kibana/pull/181605

After checking with @MadameSheema , we agreed to close this ticket. One the api key generator support roles other than the admin role - https://github.com/elastic/kibana/issues/184948, we can generate api keys with different roles.