Skip to content

Commit 5593bb5

Browse files
committed
updating test
1 parent 3c777e2 commit 5593bb5

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

x-pack/plugins/security_solution/server/features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const getAlertsSubFeature = (ruleTypes: string[]): SubFeatureConfig => ({
7676
all: [],
7777
read: [],
7878
},
79-
ui: [],
79+
ui: ['crud_alerts', 'read_alerts'],
8080
},
8181
{
8282
id: 'alerts_read',
@@ -93,7 +93,7 @@ export const getAlertsSubFeature = (ruleTypes: string[]): SubFeatureConfig => ({
9393
all: [],
9494
read: [],
9595
},
96-
ui: [],
96+
ui: ['read_alerts'],
9797
},
9898
],
9999
},

x-pack/test/api_integration/apis/security/privileges.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ export default function ({ getService }: FtrProviderContext) {
3232
actions: ['all', 'read'],
3333
stackAlerts: ['all', 'read'],
3434
ml: ['all', 'read'],
35-
siem: ['all', 'read', 'minimal_all', 'minimal_read', 'cases_all', 'cases_read'],
35+
siem: [
36+
'all',
37+
'read',
38+
'minimal_all',
39+
'minimal_read',
40+
'cases_all',
41+
'cases_read',
42+
'alerts_all',
43+
'alerts_read',
44+
],
3645
observabilityCases: ['all', 'read'],
3746
uptime: ['all', 'read'],
3847
infrastructure: ['all', 'read'],

0 commit comments

Comments
 (0)