{"id":15714301,"url":"https://github.com/slackapi/template-incident-management","last_synced_at":"2025-07-22T11:07:13.431Z","repository":{"id":44005372,"uuid":"174179254","full_name":"slackapi/template-incident-management","owner":"slackapi","description":"A sample of managing incidents via Slack","archived":false,"fork":false,"pushed_at":"2023-07-18T20:46:33.000Z","size":878,"stargazers_count":35,"open_issues_count":12,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T12:40:50.509Z","etag":null,"topics":["slack-workflow-sample"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slackapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-06T16:19:53.000Z","updated_at":"2024-11-30T05:26:21.000Z","dependencies_parsed_at":"2023-01-31T14:31:10.483Z","dependency_job_id":null,"html_url":"https://github.com/slackapi/template-incident-management","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slackapi/template-incident-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slackapi%2Ftemplate-incident-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slackapi%2Ftemplate-incident-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slackapi%2Ftemplate-incident-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slackapi%2Ftemplate-incident-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slackapi","download_url":"https://codeload.github.com/slackapi/template-incident-management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slackapi%2Ftemplate-incident-management/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266481732,"owners_count":23935938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["slack-workflow-sample"],"created_at":"2024-10-03T21:35:53.036Z","updated_at":"2025-07-22T11:07:13.406Z","avatar_url":"https://github.com/slackapi.png","language":"TypeScript","funding_links":[],"categories":["Tools"],"sub_categories":["Open Source Tools"],"readme":"# Slack Incident Management Blueprint\n\nAn example of managing incidents via Slack\n\n## Workflow\n\nIncidents can be a busy and stressful time. You can alleviate some of this stress by automating it via your Slack workspace.\n\n### Incident Declarations\n\n1. Users declare an incident using a `/incident-declare` command in Slack\n2. IncidentBot takes this and\n\n- Creates a channel with the naming format of `#incd-YYYY-MM-DD-1234`, where 1234 is a number identifying the incident\n- Notifies the Incidents channel (see Environment variables used below)\n- Notifies the incident responders\n\n### Incident Reporting\n\n1. Users file reports in an incident channel using a `/incident-can-report` command in Slack\n2. IncidentBot takes this and\n\n- Posts a formatted message to the channel containing the report\n- Pins the formatted message\n\n## Environment variables used\n\n- `BOT_TOKEN` : The `xoxb` token for your app\n- `SIGNING_SECRET` : The signing secret from your app configuration\n- `INCIDENTS_CHANNEL` : A channel which recieves messages for all declared incidents\n\n## Known limitations\n\nThis is really just a proof of concept, so some shortcuts have been taken for the sake of brevity\n\n- Incident numbers are actually just a random integer. For a production deployment, we'd recommend using a unique number with some actual significance\n- Nothing is persisted to a data store. For running historical analytics etc, it would probably be useful to log all incidents to a DB\n- Incident responders are hardcoded into the tool. This would probably be better served via configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslackapi%2Ftemplate-incident-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslackapi%2Ftemplate-incident-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslackapi%2Ftemplate-incident-management/lists"}