mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.12`: - [[RAM] Stack management rules available with only ml feature (#174791)](https://github.com/elastic/kibana/pull/174791) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Xavier Mouligneau","email":"xavier.mouligneau@elastic.co"},"sourceCommit":{"committedDate":"2024-01-16T16:13:02Z","message":"[RAM] Stack management rules available with only ml feature (#174791)\n\n## Summary\r\n\r\nFix => https://github.com/elastic/kibana/issues/173573","sha":"5d5f0d10739647ea7a963327c72dcda5b845ade1","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","Team:ML","v8.12.1","v8.13.0"],"title":"[RAM] Stack management rules available with only ml feature","number":174791,"url":"https://github.com/elastic/kibana/pull/174791","mergeCommit":{"message":"[RAM] Stack management rules available with only ml feature (#174791)\n\n## Summary\r\n\r\nFix => https://github.com/elastic/kibana/issues/173573","sha":"5d5f0d10739647ea7a963327c72dcda5b845ade1"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174791","number":174791,"mergeCommit":{"message":"[RAM] Stack management rules available with only ml feature (#174791)\n\n## Summary\r\n\r\nFix => https://github.com/elastic/kibana/issues/173573","sha":"5d5f0d10739647ea7a963327c72dcda5b845ade1"}}]}] BACKPORT--> Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
This commit is contained in:
parent
47c66ee0f0
commit
485960af24
2 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@ export function getPluginPrivileges() {
|
|||
app: [PLUGIN_ID, 'kibana'],
|
||||
excludeFromBasePrivileges: false,
|
||||
management: {
|
||||
insightsAndAlerting: ['jobsListLink'],
|
||||
insightsAndAlerting: ['jobsListLink', 'triggersActions'],
|
||||
},
|
||||
catalogue: [PLUGIN_ID],
|
||||
};
|
||||
|
@ -161,7 +161,7 @@ export function getPluginPrivileges() {
|
|||
...[...featureMlCapabilitiesKeys, ...userMlCapabilitiesKeys].map((k) => `ml:${k}`),
|
||||
],
|
||||
catalogue: [PLUGIN_ID],
|
||||
management: { insightsAndAlerting: [] },
|
||||
management: { insightsAndAlerting: ['triggersActions'] },
|
||||
ui: [...featureMlCapabilitiesKeys, ...userMlCapabilitiesKeys],
|
||||
savedObject: {
|
||||
all: [],
|
||||
|
|
|
@ -132,7 +132,7 @@ export class MlServerPlugin
|
|||
app: [PLUGIN_ID, 'kibana'],
|
||||
catalogue: [PLUGIN_ID, `${PLUGIN_ID}_file_data_visualizer`],
|
||||
management: {
|
||||
insightsAndAlerting: ['jobsListLink'],
|
||||
insightsAndAlerting: ['jobsListLink', 'triggersActions'],
|
||||
},
|
||||
alerting: Object.values(ML_ALERT_TYPES),
|
||||
privileges: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue