elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.12k forks source link

Ability to resolve ServiceNow, IBM Resilient and Jira incidents #83221

Open YulNaumenko opened 3 years ago

YulNaumenko commented 3 years ago

It would be great to leverage the new recovered action group to make alerts resolve certain types of incidents when they recover. There is currently no way to deduplicate incidents in ServiceNow, Jira and IBM Resilient to find the right incident to resolve. If there could be something similar to PagerDuty, that would be great.

Original description In the [issue](https://github.com/elastic/kibana/issues/77772) we are changing the grouping field for ServiceNow, Jira and IBM Resilient from {{alertId}} to {{alertInstanceId}}. But there is no similar way as for PagerDuty to avoid duplication of incident creation. We need to do an API call to check if the incident for a current alertInstanceId was created. Similarly there is no way to Resolve created incidents as we do for PagerDuty. ServiceNow, Jira and IBM Resilient requires to do a separate API call with the existing incident Id to change the status to Resolved. Do we planning to support Deduplication and Resolve mechanism for ServiceNow, Jira and IBM Resilient with the current limitations?
YulNaumenko commented 3 years ago

Based on the team discussion, was decided to solve the problem in two steps:

  1. Create a short term solution, where Resolved action group will be unavailable for ServiceNow, Jira and IBM Resilient action types. The proper issue is opened #83452
  2. @arisonl will investigate how competitors implemented this integration. Does someone else support deduplication/ resolution features for incidents in ServiceNow, Jira or IBM Resilient. If it is, we should start working on the long term approach for adding similar support for Kibana Alerting.
YulNaumenko commented 3 years ago

Based on the research from @arisonl, competitors have a support for Resolving incidents for ServiceNow, Jira or IBM Resilient

mikecote commented 3 years ago

Rename title to Ability to resolve ServiceNow, IBM Resilient and Jira incidents. We can use this issue to find a way to resolve IBM Resilient, Jira and SerivceNow incidents. If deduplication is the way to go, we'll handle it at the same time.

mikecote commented 3 years ago

Moving from 7.12 - Candidates to 7.x - Candidates.

mikecote commented 3 years ago

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

elasticmachine commented 2 years ago

Pinging @elastic/security-threat-hunting-cases (Team:Threat Hunting:Cases)

elasticmachine commented 2 years ago

Pinging @elastic/response-ops (Team:ResponseOps)

timorkal commented 1 year ago

Where is that currently at? We have Elastic Cloud and Jira Service Management, and we currently lack the ability to auto-resolve incidents.

cnasikas commented 10 months ago

Related https://github.com/elastic/kibana/issues/170522

cnasikas commented 9 months ago

PR https://github.com/elastic/kibana/pull/171760 implemented auto-closing SN incidents when an alert recovers.

doakalexi commented 9 months ago

cc @shanisagiv1