Adjusts observability alerting perms to require "all" (#79896)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e1aec17910
commit
8f3ec3a73d
|
@ -55,7 +55,7 @@ export const APM_FEATURE = {
|
|||
read: [],
|
||||
},
|
||||
alerting: {
|
||||
all: Object.values(AlertType),
|
||||
read: Object.values(AlertType),
|
||||
},
|
||||
management: {
|
||||
insightsAndAlerting: ['triggersActions'],
|
||||
|
|
|
@ -51,7 +51,7 @@ export const METRICS_FEATURE = {
|
|||
read: ['infrastructure-ui-source', 'index-pattern'],
|
||||
},
|
||||
alerting: {
|
||||
all: [METRIC_THRESHOLD_ALERT_TYPE_ID, METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID],
|
||||
read: [METRIC_THRESHOLD_ALERT_TYPE_ID, METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID],
|
||||
},
|
||||
management: {
|
||||
insightsAndAlerting: ['triggersActions'],
|
||||
|
@ -92,7 +92,7 @@ export const LOGS_FEATURE = {
|
|||
catalogue: ['infralogging', 'logs'],
|
||||
api: ['infra'],
|
||||
alerting: {
|
||||
all: [LOG_DOCUMENT_COUNT_ALERT_TYPE_ID],
|
||||
read: [LOG_DOCUMENT_COUNT_ALERT_TYPE_ID],
|
||||
},
|
||||
savedObject: {
|
||||
all: [],
|
||||
|
|
|
@ -67,7 +67,7 @@ export const initServerWithKibana = (server: UptimeCoreSetup, plugins: UptimeCor
|
|||
read: [umDynamicSettings.name],
|
||||
},
|
||||
alerting: {
|
||||
all: ['xpack.uptime.alerts.tls', 'xpack.uptime.alerts.monitorStatus'],
|
||||
read: ['xpack.uptime.alerts.tls', 'xpack.uptime.alerts.monitorStatus'],
|
||||
},
|
||||
management: {
|
||||
insightsAndAlerting: ['triggersActions'],
|
||||
|
|
Loading…
Reference in a new issue