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

Ability to select a slack channel or person at action execution time #61998

Closed
mikecote opened this issue Mar 31, 2020 · 8 comments
Closed

Ability to select a slack channel or person at action execution time #61998

mikecote opened this issue Mar 31, 2020 · 8 comments
Labels
estimate:small Small Estimated Level of Effort Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework Feature:Actions Project:MoreConnectors Alerting team project for integrating with more external services. R&D Research and development ticket (not meant to produce code, but to make a decision) Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented Mar 31, 2020

It was brought up when discussing #61464 that users would like to select a channel or person at execution time (based on context variable) instead of having to create a connector per channel / person.

We can use this issue to investigate the feasibility and implementation of such solution.

@mikecote mikecote added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Mar 31, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@mikecote
Copy link
Contributor Author

cc @alexh97 as discussed I have opened this issue to track this request.

@arisonl
Copy link
Contributor

arisonl commented May 5, 2020

The need to be able to determine recipients (e.g. in Slack, email etc.) dynamically depending on alert context has come up in a couple of customer meetings too.

@pmuellr
Copy link
Member

pmuellr commented May 6, 2020

So the alert will have an "address" (email to: / slack channel/user) available it can provide in the context that gets passed to actions? Or would those "addresses" be available somewhere else?

I'm wondering if the case integrations might have some interesting data like that, which could be passed as context to action parameters.

@pmuellr
Copy link
Member

pmuellr commented Aug 4, 2020

Just a note that I believe the current type of integration we use with slack doesn't provide an opportunity to "address" a Slack post to specific channels or people, though you can always @ or # them in the message itself. I believe there are other types of integrations with richer APIs though - we will likely end up needing to use a richer integration later anyway to deal with image uploads and other richer text capabilities.

@mikecote mikecote added the R&D Research and development ticket (not meant to produce code, but to make a decision) label Sep 9, 2020
@mikecote
Copy link
Contributor Author

mikecote commented Feb 4, 2021

Moving from 7.x - Candidates to 8.x - Candidates (Backlog) after the latest 7.x planning session.

@gmmorris gmmorris added NeededFor:AppServices Project:MoreConnectors Alerting team project for integrating with more external services. Feature:Actions Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework and removed Feature:Alerting labels Jun 30, 2021
@gmmorris gmmorris added the loe:medium Medium Level of Effort label Jul 14, 2021
@pmuellr
Copy link
Member

pmuellr commented Jul 29, 2021

I believe to implement this, we'll need to move to a more elaborate Slack API, as the one we use is pretty bare-bones. Keep in mind you can always refer to a person or channel via @person or #channel in the message itself, but there's a different way to be able to target a message to a specific person/channel directly.

And I believe we'd be moving to a Slack API that can support this, when we end up changing to use the Block Kit capabilities #88832, so I'm think that issue basically blocks this one

@gmmorris gmmorris changed the title Ability to select a slack channel or person at execution time Ability to select a slack channel or person at Rule creation time Aug 13, 2021
@gmmorris gmmorris changed the title Ability to select a slack channel or person at Rule creation time Ability to select a slack channel or person at action execution time Aug 13, 2021
@gmmorris gmmorris added the estimate:small Small Estimated Level of Effort label Aug 18, 2021
@gmmorris gmmorris removed the loe:medium Medium Level of Effort label Sep 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
@mikecote
Copy link
Contributor Author

Closing due to lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
estimate:small Small Estimated Level of Effort Feature:Actions/ConnectorTypes Issues related to specific Connector Types on the Actions Framework Feature:Actions Project:MoreConnectors Alerting team project for integrating with more external services. R&D Research and development ticket (not meant to produce code, but to make a decision) Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

6 participants