Skip to content

Commit ed9f3b6

Browse files
committed
updated global read role and test config to add flag for rule registry in security solution
1 parent 046341a commit ed9f3b6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

x-pack/test/rule_registry/common/config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
8080
`--xpack.actions.enabledActionTypes=${JSON.stringify(enabledActionTypes)}`,
8181
'--xpack.eventLog.logEntries=true',
8282
...disabledPlugins.map((key) => `--xpack.${key}.enabled=false`),
83+
// TO DO: Remove feature flags once we're good to go
84+
'--xpack.securitySolution.enableExperimental=["ruleRegistryEnabled"]',
85+
'--xpack.ruleRegistry.write.enabled=true',
8386
`--server.xsrf.whitelist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`,
8487
...(ssl
8588
? [

x-pack/test/rule_registry/common/lib/authentication/roles.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ export const globalRead: Role = {
2424
},
2525
kibana: [
2626
{
27-
feature: {
28-
siem: ['read'],
29-
apm: ['read'],
30-
},
27+
base: ['read'],
3128
spaces: ['*'],
3229
},
3330
],

0 commit comments

Comments
 (0)