mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add new terms rule type to privileges (#137293)
This commit is contained in:
parent
e5fe63e27c
commit
483f484cb7
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import {
|
|||
EQL_RULE_TYPE_ID,
|
||||
SAVED_QUERY_RULE_TYPE_ID,
|
||||
THRESHOLD_RULE_TYPE_ID,
|
||||
NEW_TERMS_RULE_TYPE_ID,
|
||||
} from '@kbn/securitysolution-rules';
|
||||
|
||||
import type { Logger } from '@kbn/core/server';
|
||||
|
@ -285,6 +286,7 @@ export class Plugin implements ISecuritySolutionPlugin {
|
|||
QUERY_RULE_TYPE_ID,
|
||||
SAVED_QUERY_RULE_TYPE_ID,
|
||||
THRESHOLD_RULE_TYPE_ID,
|
||||
NEW_TERMS_RULE_TYPE_ID,
|
||||
];
|
||||
|
||||
plugins.features.registerKibanaFeature(getKibanaPrivilegesFeaturePrivileges(ruleTypes));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue