Skip to content

Commit

Permalink
updated global read role and test config to add flag for rule registr…
Browse files Browse the repository at this point in the history
…y in security solution
  • Loading branch information
yctercero committed Jul 15, 2021
1 parent 046341a commit ed9f3b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions x-pack/test/rule_registry/common/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
`--xpack.actions.enabledActionTypes=${JSON.stringify(enabledActionTypes)}`,
'--xpack.eventLog.logEntries=true',
...disabledPlugins.map((key) => `--xpack.${key}.enabled=false`),
// TO DO: Remove feature flags once we're good to go
'--xpack.securitySolution.enableExperimental=["ruleRegistryEnabled"]',
'--xpack.ruleRegistry.write.enabled=true',
`--server.xsrf.whitelist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`,
...(ssl
? [
Expand Down
5 changes: 1 addition & 4 deletions x-pack/test/rule_registry/common/lib/authentication/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ export const globalRead: Role = {
},
kibana: [
{
feature: {
siem: ['read'],
apm: ['read'],
},
base: ['read'],
spaces: ['*'],
},
],
Expand Down

0 comments on commit ed9f3b6

Please sign in to comment.