Skip to content

Commit

Permalink
updated apm kibana features structure
Browse files Browse the repository at this point in the history
  • Loading branch information
yctercero committed May 18, 2021
1 parent 3b25855 commit d348de2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions x-pack/plugins/apm/server/feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,33 @@ export const APM_FEATURE = {
ui: ['show', 'alerting:show', 'alerting:save'],
},
},
subFeatures: [
{
name: 'Manage Alerts',
privilegeGroups: [
{
groupType: 'independent',
privileges: [
{
id: 'alert_manage',
name: 'Manage Alerts',
includeIn: 'all',
alerting: {
alert: {
all: Object.values(AlertType),
},
},
savedObject: {
all: [],
read: [],
},
ui: [],
},
],
},
],
},
],
};

interface Feature {
Expand Down

0 comments on commit d348de2

Please sign in to comment.