Skip to content
Proyectos

Acerca de

The Open Source Incident Management Framework

Sistemas e infraestructura

Cómo se miden estas cifras

What you can do

  • Supports Slack and When enable_pinned_images is enabled, IncidentBot copies captured image attachments into its incident timeline using the bot token. The bot needs files:read and access to the source file. Capture does not enable or revoke public sharing.
  • Organize your efforts into channels to coordinate incident response
  • Easy to read messages that get to the point without a ton of visual distractions
  • Completely customizable status, severity, and role definitions to control all stages of incident response

Crecimiento de estrellas medido

in 24h
+1
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Incident Bot

CI version codecov

An incident management framework centralized around a ChatOps bot to allow your teams to easily and effectively identify and manage technical incidents impacting your cloud infrastructure, your products, or your customers' ability to use your applications and services.

Incident Bot's Documentation

[!NOTE] As of February 2nd, 2025, the Helm charts repository has moved from https://charts.incidentbot.io to https://docs.incidentbot.io/charts — please update your usage accordingly.

[!WARNING] The image registry and versioning scheme have changed. The official image has moved from Docker Hub (eb129/incidentbot) to the GitHub Container Registry, and releases now use CalVer instead of semantic versioning. If you are running an older version, see the migration guide before upgrading.

ghcr.io/incidentbot/incidentbot:latest

Features

  • Supports Slack and When enable_pinned_images is enabled, IncidentBot copies captured image attachments into its incident timeline using the bot token. The bot needs files:read and access to the source file. Capture does not enable or revoke public sharing.

Matrix as chat platforms

  • Organize your efforts into channels to coordinate incident response
  • Easy to read messages that get to the point without a ton of visual distractions
  • Completely customizable status, severity, and role definitions to control all stages of incident response
  • Communicate with the bot using ephemeral messages to keep clutter out of your channels
  • Keep the rest of your organization informed with an incident digest channel that explains the state of all incidents
  • If your digest channel is private, set options.include_private_channels: true in your config.yaml and invite the bot to the digest channel.
  • Integrate with tools you already use like Confluence, Jira, GitLab, Statuspage, PagerDuty, Zoom, and Phare
  • Automatically build a postmortem document base to save time
  • Embeddable incident status widgets via the built-in API

Interested in a web interface to use with Incident Bot? Check out the console project here.

Quick Start

Slack

  • Create a Slack app for this application. You can name it whatever you'd like.
  • Select from an app manifest and copy manifest.yaml out of this repository and paste it in to automatically configure the app and its required settings. Be sure to override any customizable settings like name, etc.
  • You'll need the app token, bot token, and user token for your application and provide those as the SLACK_APP_TOKEN, SLACK_BOT_TOKEN, and SLACK_USER_TOKEN environment variables — these can be found within the app's configuration page in Slack. For more information on Slack tokens, see the documentation here.

Matrix

  • Set PLATFORM=matrix and provide the MATRIX_HOMESERVER, MATRIX_USER_ID, MATRIX_ACCESS_TOKEN, and MATRIX_DEVICE_ID environment variables. See .env.sample for all available Matrix settings.

Both platforms

  • You'll need a Postgres instance to connect to. If trying the bot out using Docker Compose or Helm, there are options to run a database alongside the app.
  • Configure and deploy the application using one of the methods described in the documentation, or however you choose. (There's a Docker image available.)

Full setup documentation is available here.

Confluence Cloud

Enable integrations.atlassian.confluence in your configuration, then set its space key, parent-page title, and template ID. Page operations use Confluence Cloud REST v2. The account needs access to the space and permission to create/edit pages and add attachments.

Scoped credentials need read:space:confluence, read:page:confluence, and write:page:confluence for page operations. Retain the scopes needed to read templates and upload attachments. See the page API and .env.sample for authentication settings.

For service-account credentials, changing scopes requires creating a replacement credential and restarting the bot with its new details. Existing scopes for the older content endpoints do not replace the v2 scopes above.

Atlassian credentials

Set ATLASSIAN_API_URL to your site URL, such as https://example.atlassian.net, and supply ATLASSIAN_API_USERNAME and ATLASSIAN_API_TOKEN.

For scoped API tokens, also set ATLASSIAN_CLOUD_ID to the site's cloud ID. Find it at https://<site>.atlassian.net/_edge/tenant_info. IncidentBot routes Jira and Confluence API requests through api.atlassian.com; keep the site URL in ATLASSIAN_API_URL for browser links. Without a cloud ID, requests use the site URL.

The credential's scopes and the account's project/space permissions must both allow the requested operations. See .env.sample for the environment variable names.

Service-account OAuth

Create an OAuth 2.0 credential for the service account. Set ATLASSIAN_CLIENT_ID, ATLASSIAN_CLIENT_SECRET, and ATLASSIAN_CLOUD_ID; keep ATLASSIAN_API_URL as the site URL.

The client credential pair takes precedence over username/API-token authentication. IncidentBot obtains access tokens and renews them before expiry; do not put an access token in ATLASSIAN_API_TOKEN. Both Jira and Confluence use the same service-account credential and grants.

Changing scopes requires a new credential. Replace both client fields together and restart the bot to load them. Keep the previous credential until the replacement works, then revoke it. Token renewal does not extend the lifetime of the client credential itself.

Contributing

Please see contribution guidelines before opening a pull request.

Feedback

This application is not meant to solve every problem with regard to incident management. It was created as an open-source alternative to paid solutions.

If you encounter issues with functionality or wish to see new features, please open an issue or a feature request to let us know.

Explorar proyectos relacionados

Cargando…