https://github.com/ilert/dynamic-action-provider
Sample webservice illustrating the 2 endpoints needed to dynamically hook into iLert alert actions.
https://github.com/ilert/dynamic-action-provider
actions alert alerting alertmanager ansible ansible-playbook ansible-tower dynamic incident-response incident-response-tooling
Last synced: 7 months ago
JSON representation
Sample webservice illustrating the 2 endpoints needed to dynamically hook into iLert alert actions.
- Host: GitHub
- URL: https://github.com/ilert/dynamic-action-provider
- Owner: iLert
- Created: 2022-03-09T16:03:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T15:50:26.000Z (over 3 years ago)
- Last Synced: 2025-03-13T02:37:15.609Z (7 months ago)
- Topics: actions, alert, alerting, alertmanager, ansible, ansible-playbook, ansible-tower, dynamic, incident-response, incident-response-tooling
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iLert dynamic actions provider
This is a sample webservice illustrating the 2 endpoints needed to dynamically hook into iLert alert actions.
## How to use?
- you will need Node.js and npm installed
- download or git pull this repository
- `cd dynamic-action-provider`
- run `npm install`
- run `npm start`
- you may use a service like ngrok to expose your local webservice to the internet during testing
e.g. `ngrok http 8087`
- configure your dynamic actions connector in iLert with your urls
e.g. `https://xxxx-xxx-xxx-xxx-xxx.ngrok.io/api/action-requests` and `https://xxxx-xxx-xxx-xxx-xxx.ngrok.io/api/action-responses`
- configure a connection with the connector^^ on your desired alert source## More info
Can be found in the [documentation](https://docs.ilert.com/rest-api/application-hooks/dynamic-alert-actions).
## Disclaimer
This sample also contains a demo for a super simple Ansible tower playbook trigger; please remember that this is a demo.
Never run this in production without proper adjustments and needed changes for proper security e.g. adding authentication.