[9.0] [ResponseOps][Slack] Allow configuring and accessing only slack web api or webhook (#237640)#238257
Merged
Merged
Conversation
…pi or webhook (elastic#237640) ## Summary Fixes elastic#233306 Fixes elastic#233177 This PR allows to access only slack web api or slack webhook connector while creating or updating a rule/connector if only one of them is configured in kibana.yml. If both of them configured, then connector flyout only shows slack connector with webhook and web api sub types. - When `xpack.actions.enabledActionTypes: ['.slack_api'] ` https://github.com/user-attachments/assets/6dd0aab4-963b-41ba-ba44-81d42338e2fd - When `xpack.actions.enabledActionTypes: ['.slack'] ` https://github.com/user-attachments/assets/47b147dc-5d94-4c3e-b0e2-5bc94e987f0f - When `xpack.actions.enabledActionTypes: ['.slack', '.slack_api'] ` https://github.com/user-attachments/assets/7d33fda8-b373-43c8-a6e4-656135c2e3cb ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 44e7331) # Conflicts: # src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts # x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.tsx # x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.tsx # x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx # x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx
2 tasks
adcoelho
approved these changes
Oct 9, 2025
Contributor
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.0:Questions ?
Please refer to the Backport tool documentation