Skip to content
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

Merged

Conversation

dgieselaar
Copy link
Member

@dgieselaar dgieselaar commented Apr 23, 2024

Hides unavailable connectors (e.g. due to license mismatches).

@dgieselaar dgieselaar added release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant v8.14.0 labels Apr 23, 2024
@dgieselaar dgieselaar self-assigned this Apr 23, 2024
@dgieselaar dgieselaar requested a review from a team as a code owner April 23, 2024 15:10
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

includeSystemActionTypes: false,
})
.then((types) =>
types.filter((type) => type.enabled && type.enabledInLicense).map((type) => type.id)
Copy link
Member Author

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?

Copy link
Member

@cnasikas cnasikas Apr 23, 2024

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.

@dgieselaar dgieselaar enabled auto-merge (squash) April 24, 2024 08:26
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @dgieselaar

@dgieselaar dgieselaar merged commit 214833a into elastic:main Apr 24, 2024
17 checks passed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 24, 2024
Hides unavailable connectors (e.g. due to license mismatches).

(cherry picked from commit 214833a)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.14

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 24, 2024
)

# 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]>
kpatticha pushed a commit to kpatticha/kibana that referenced this pull request Apr 26, 2024
Hides unavailable connectors (e.g. due to license mismatches).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant v8.14.0 v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants