[7.x] [Security Solution] [Detections] Read privileges for dependencies (#80852) (#81163)

* remove all privileges on hidden saved object type of alert and change alerting privileges to read when read privileges are set for security solution.
This commit is contained in:
Devin W. Hurley 2020-10-20 13:02:03 -04:00 committed by GitHub
parent 733feb6fe9
commit b7d201f2e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,7 +228,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
catalogue: ['securitySolution'],
api: ['securitySolution', 'lists-read'],
savedObject: {
all: ['alert'],
all: [],
read: [
'config',
'cases',
@ -239,7 +239,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S
],
},
alerting: {
all: [SIGNALS_ID, NOTIFICATIONS_ID],
read: [SIGNALS_ID, NOTIFICATIONS_ID],
},
management: {
insightsAndAlerting: ['triggersActions'],