Add geo-containment to kibana feature config (#85221)
This commit is contained in:
parent
402641ed9d
commit
4a94fa0b78
|
@ -7,6 +7,7 @@
|
|||
import { i18n } from '@kbn/i18n';
|
||||
import { ID as IndexThreshold } from './alert_types/index_threshold/alert_type';
|
||||
import { GEO_THRESHOLD_ID as GeoThreshold } from './alert_types/geo_threshold/alert_type';
|
||||
import { GEO_CONTAINMENT_ID as GeoContainment } from './alert_types/geo_containment/alert_type';
|
||||
import { STACK_ALERTS_FEATURE_ID } from '../common';
|
||||
import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/server';
|
||||
|
||||
|
@ -20,7 +21,7 @@ export const BUILT_IN_ALERTS_FEATURE = {
|
|||
management: {
|
||||
insightsAndAlerting: ['triggersActions'],
|
||||
},
|
||||
alerting: [IndexThreshold, GeoThreshold],
|
||||
alerting: [IndexThreshold, GeoThreshold, GeoContainment],
|
||||
privileges: {
|
||||
all: {
|
||||
app: [],
|
||||
|
@ -29,7 +30,7 @@ export const BUILT_IN_ALERTS_FEATURE = {
|
|||
insightsAndAlerting: ['triggersActions'],
|
||||
},
|
||||
alerting: {
|
||||
all: [IndexThreshold, GeoThreshold],
|
||||
all: [IndexThreshold, GeoThreshold, GeoContainment],
|
||||
read: [],
|
||||
},
|
||||
savedObject: {
|
||||
|
@ -47,7 +48,7 @@ export const BUILT_IN_ALERTS_FEATURE = {
|
|||
},
|
||||
alerting: {
|
||||
all: [],
|
||||
read: [IndexThreshold, GeoThreshold],
|
||||
read: [IndexThreshold, GeoThreshold, GeoContainment],
|
||||
},
|
||||
savedObject: {
|
||||
all: [],
|
||||
|
|
Loading…
Reference in a new issue