mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Security Solution][Rule Preview] Fixes <space-id>
index permission bug with Rule Preview (#153590)
This commit is contained in:
parent
9f8b44df26
commit
464169f0b4
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@ export const previewRulesRoute = async (
|
|||
.atSpace(spaceId, {
|
||||
elasticsearch: {
|
||||
index: {
|
||||
[`${DEFAULT_PREVIEW_INDEX}`]: ['read'],
|
||||
[`.internal${DEFAULT_PREVIEW_INDEX}-`]: ['read'],
|
||||
[`${DEFAULT_PREVIEW_INDEX}-${spaceId}`]: ['read'],
|
||||
[`.internal${DEFAULT_PREVIEW_INDEX}-${spaceId}-*`]: ['read'],
|
||||
},
|
||||
cluster: [],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue