Skip to content

[8.x] [Security Solution] Fix PATCH rule API test failure in Serverless (#202885)#202939

Merged
nikitaindik merged 1 commit intoelastic:8.xfrom
nikitaindik:backport/8.x/pr-202885
Dec 4, 2024
Merged

[8.x] [Security Solution] Fix PATCH rule API test failure in Serverless (#202885)#202939
nikitaindik merged 1 commit intoelastic:8.xfrom
nikitaindik:backport/8.x/pr-202885

Conversation

@nikitaindik
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…astic#202885)

**Resolves: elastic#202812

## Summary
This PR fixes a problem in the MKI Serverless periodic pipeline that was
introduced in elastic#201825. The issue happened because the test tried to
delete prebuilt rule assets stored in .kibana_security_solution, but you
can’t access this index in Serverless MKI.

The fix makes sure this call only runs in non-Serverless MKI
environments.
@nikitaindik nikitaindik added the backport This PR is a backport of another PR label Dec 4, 2024
@nikitaindik nikitaindik enabled auto-merge (squash) December 4, 2024 14:27
@nikitaindik nikitaindik merged commit 995c25c into elastic:8.x Dec 4, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #59 / Entity Analytics - Entity Store @ess @skipInServerlessMKI Entity Store APIs status should return "started" when all engines are started

Metrics [docs]

✅ unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants