-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Obs AI Assistant] Hide unavailable connectors #181455
[Obs AI Assistant] Hide unavailable connectors #181455
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
includeSystemActionTypes: false, | ||
}) | ||
.then((types) => | ||
types.filter((type) => type.enabled && type.enabledInLicense).map((type) => type.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cnasikas there is also enabledInConfig
, but I wasn't sure what that means. Do we also need to take it into account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Users can disable connector types in kibana.yml
by using the xpack.actions.enabledActionTypes
config. By default all types are available. Better to filter them out.
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @dgieselaar |
Hides unavailable connectors (e.g. due to license mismatches). (cherry picked from commit 214833a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) # Backport This will backport the following commits from `main` to `8.14`: - [[Obs AI Assistant] Hide unavailable connectors (#181455)](#181455) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-24T09:51:58Z","message":"[Obs AI Assistant] Hide unavailable connectors (#181455)\n\nHides unavailable connectors (e.g. due to license mismatches).","sha":"214833af0bc45dad269529a1904cfbb934da945e","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Obs AI Assistant","v8.14.0","v8.15.0"],"title":"[Obs AI Assistant] Hide unavailable connectors","number":181455,"url":"https://github.com/elastic/kibana/pull/181455","mergeCommit":{"message":"[Obs AI Assistant] Hide unavailable connectors (#181455)\n\nHides unavailable connectors (e.g. due to license mismatches).","sha":"214833af0bc45dad269529a1904cfbb934da945e"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/181455","number":181455,"mergeCommit":{"message":"[Obs AI Assistant] Hide unavailable connectors (#181455)\n\nHides unavailable connectors (e.g. due to license mismatches).","sha":"214833af0bc45dad269529a1904cfbb934da945e"}}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <[email protected]>
Hides unavailable connectors (e.g. due to license mismatches).
Hides unavailable connectors (e.g. due to license mismatches).