This is a sample webservice illustrating the 2 endpoints needed to dynamically hook into iLert alert actions.
- 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
andhttps://xxxx-xxx-xxx-xxx-xxx.ngrok.io/api/action-responses
- configure a connection with the connector^^ on your desired alert source
Can be found in the documentation.
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.