{"id":21134098,"url":"https://github.com/horgix/incidents-automation-app","last_synced_at":"2025-09-01T20:41:52.805Z","repository":{"id":50209980,"uuid":"112017709","full_name":"Horgix/incidents-automation-app","owner":"Horgix","description":"Incidents automation - Application","archived":false,"fork":false,"pushed_at":"2022-12-07T23:48:50.000Z","size":27,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T17:59:24.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Horgix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-25T16:22:44.000Z","updated_at":"2017-12-03T13:06:34.000Z","dependencies_parsed_at":"2023-01-25T00:30:23.920Z","dependency_job_id":null,"html_url":"https://github.com/Horgix/incidents-automation-app","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Horgix/incidents-automation-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horgix%2Fincidents-automation-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horgix%2Fincidents-automation-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horgix%2Fincidents-automation-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horgix%2Fincidents-automation-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Horgix","download_url":"https://codeload.github.com/Horgix/incidents-automation-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horgix%2Fincidents-automation-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273188208,"owners_count":25060820,"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-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-11-20T06:23:13.806Z","updated_at":"2025-09-01T20:41:52.742Z","avatar_url":"https://github.com/Horgix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Version 0.1.1\n\n```\n$ http POST localhost:5000/webhook Hello=World\nHTTP/1.0 200 OK\nContent-Length: 23\nContent-Type: application/json\nDate: Sun, 26 Nov 2017 11:20:04 GMT\nServer: Werkzeug/0.12.2 Python/3.6.2\n\n{\n    \"Hello\": \"World\"\n}\n```\n\n```\nRequest:\n{\n    \"Hello\": \"World\"\n}\n127.0.0.1 - - [26/Nov/2017 12:20:04] \"POST /webhook HTTP/1.1\" 200 -\n```\n\n\nExample hello world event:\n\n```json\n{\n    \"responseId\": \"6b0178b4-c9b2-42e3-b293-4c0d8030fc59\",\n    \"queryResult\": {\n        \"queryText\": \"Hello\",\n        \"action\": \"hello\",\n        \"parameters\": {},\n        \"allRequiredParamsPresent\": true,\n        \"fulfillmentMessages\": [\n            {\n                \"text\": {\n                    \"text\": [\n                        \"\"\n                    ]\n                }\n            }\n        ],\n        \"intent\": {\n            \"name\": \"projects/incidents-9359b/agent/intents/0f5d8d3c-f662-46a2-90e5-cc41e667301c\",\n            \"displayName\": \"Hello\"\n        },\n        \"intentDetectionConfidence\": 1.0,\n        \"diagnosticInfo\": {},\n        \"languageCode\": \"en\"\n    },\n    \"originalDetectIntentRequest\": {\n        \"payload\": {}\n    },\n    \"session\": \"projects/incidents-9359b/agent/sessions/60152c9d-ea6a-436a-af0a-fefdb76c891e\"\n}\n```\n\nNow from Slack\n\n```json\n{\n    \"responseId\": \"36f1d96a-e353-4f17-8b42-9b80aca2ce70\",\n    \"queryResult\": {\n        \"queryText\": \"Hello\",\n        \"action\": \"hello\",\n        \"parameters\": {},\n        \"allRequiredParamsPresent\": true,\n        \"fulfillmentMessages\": [\n            {\n                \"text\": {\n                    \"text\": [\n                        \"\"\n                    ]\n                }\n            }\n        ],\n        \"intent\": {\n            \"name\": \"projects/incidents-9359b/agent/intents/0f5d8d3c-f662-46a2-90e5-cc41e667301c\",\n            \"displayName\": \"Hello\"\n        },\n        \"intentDetectionConfidence\": 1.0,\n        \"diagnosticInfo\": {},\n        \"languageCode\": \"en\"\n    },\n    \"originalDetectIntentRequest\": {\n        \"payload\": {\n            \"data\": {\n                \"authed_users\": [\n                    \"U84T2CA6R\"\n                ],\n                \"event_id\": \"Ev852SJBDF\",\n                \"api_app_id\": \"A85BF397D\",\n                \"team_id\": \"T84NUNW2W\",\n                \"event\": {\n                    \"event_ts\": \"1511720131.000023\",\n                    \"channel\": \"D869XNK7Y\",\n                    \"text\": \"Hello\",\n                    \"type\": \"message\",\n                    \"user\": \"U84T2CA6R\",\n                    \"ts\": \"1511720131.000023\"\n                },\n                \"type\": \"event_callback\",\n                \"event_time\": 1511720131.0,\n                \"token\": \"q4GmpdQPQSUT9TlJhSiDrwhU\"\n            },\n            \"source\": \"slack\"\n        }\n    },\n    \"session\": \"projects/incidents-9359b/agent/sessions/a488a01b-46b7-4db5-a703-f3bb2ef062ff\"\n}\n```\n\n\n# Configuration\n\n`config.json` :\n\n```\n{\n  \"slack\": {\n    \"channel\": \"#incidents\",\n    \"self\": {\n      \"token\": \"xoxb-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n      \"id\": \"ABCD12345\",\n      \"name\": \"incidents-bot\"\n    },\n    \"fake_user\": {\n      \"email\": \"hello@example.org\",\n      \"password\": \"ultrasecurepassword\",\n      \"token\": \"xoxp-111111111111-222222222222-333333333333-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\n    },\n    \"apiai_user\": {\n      \"id\": \"XYZ987654\"\n    }\n  },\n  \"elasticsearch\": {\n    \"index\": \"incidents\",\n    \"host\": \"my-es-cluster.eu-west-1.es.amazonaws.com\",\n    \"region\": \"eu-west-1\"\n  },\n  \"jira\": {\n    \"host\": \"https://jira.example.org\",\n    \"user\": \"incidents-bot\",\n    \"password\": \"anotherultrasecurepassword\",\n    \"project\": \"INCIDENTS\"\n  },\n  \"cachet\": {\n    \"host\": \"http://status.example.org/api/v1\",\n    \"token\": \"xxxxxxxxxxxxxxxxxxxx\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorgix%2Fincidents-automation-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorgix%2Fincidents-automation-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorgix%2Fincidents-automation-app/lists"}