[8.x] [Flaky] Skipping outdated rules api tests in Serverless (#194864) (#195138)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Flaky] Skipping outdated rules api tests in Serverless
(#194864)](https://github.com/elastic/kibana/pull/194864)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Paulo
Silva","email":"paulo.henrique@elastic.co"},"sourceCommit":{"committedDate":"2024-10-04T18:31:07Z","message":"[Flaky]
Skipping outdated rules api tests in Serverless (#194864)\n\n##
Summary\r\n\r\nThis fixes
https://github.com/elastic/kibana/issues/194856\r\n\r\nSkipping test
suit due to flaky
captured\r\n[here](https://github.com/elastic/kibana/issues/194856),
initial\r\nassessment I noticed we should review a couple of things in
order to\r\nenable this test again, so I created a follow up task for
that","sha":"36780edcdf7f7bec3dbef217c2331ca3a0618cb6","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","v8.16.0","backport:version"],"title":"[Flaky] Skipping
outdated rules api tests in
Serverless","number":194864,"url":"https://github.com/elastic/kibana/pull/194864","mergeCommit":{"message":"[Flaky]
Skipping outdated rules api tests in Serverless (#194864)\n\n##
Summary\r\n\r\nThis fixes
https://github.com/elastic/kibana/issues/194856\r\n\r\nSkipping test
suit due to flaky
captured\r\n[here](https://github.com/elastic/kibana/issues/194856),
initial\r\nassessment I noticed we should review a couple of things in
order to\r\nenable this test again, so I created a follow up task for
that","sha":"36780edcdf7f7bec3dbef217c2331ca3a0618cb6"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194864","number":194864,"mergeCommit":{"message":"[Flaky]
Skipping outdated rules api tests in Serverless (#194864)\n\n##
Summary\r\n\r\nThis fixes
https://github.com/elastic/kibana/issues/194856\r\n\r\nSkipping test
suit due to flaky
captured\r\n[here](https://github.com/elastic/kibana/issues/194856),
initial\r\nassessment I noticed we should review a couple of things in
order to\r\nenable this test again, so I created a follow up task for
that","sha":"36780edcdf7f7bec3dbef217c2331ca3a0618cb6"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
This commit is contained in:
Kibana Machine 2024-10-05 06:16:33 +10:00 committed by GitHub
parent 03ca9e08a8
commit c3563d4017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ export default function ({ getService }: FtrProviderContext) {
const svlUserManager = getService('svlUserManager');
// find csp benchmark rule tests
describe('GET internal/cloud_security_posture/rules/_find', function () {
describe.skip('GET internal/cloud_security_posture/rules/_find', function () {
// security_exception: action [indices:admin/create] is unauthorized for user [elastic] with effective roles [superuser] on restricted indices [.fleet-actions-7], this action is granted by the index privileges [create_index,manage,all]
this.tags(['failsOnMKI']);