Introducing Webhook Alerts: Receive real-time notification in any app
Learn how to set custom webhook alerts in any app of your choice through Akto.
Ankita Gupta
2 mins
Introduction
You can configure and enable webhook alerts in Akto to receive real-time notifications
whenever the system detects the occurrence of specific events like identification of a new sensitive endpoint in your API collection.
Choose the events in Akto that should trigger webhook alerts. These can be received in various platforms including Slack, Microsoft Teams, Google Chat, PagerDuty, Datadog, Opsgenie, Splunk, Trello, and many more.
What are Webhook Alerts?
Webhook alerts are real-time notifications triggered by specific events. They are sent to an external application via a webhook. These alerts allow instant communication of important information, enabling proactive responses to crucial events.
Benefits of Webhook Alerts
Monitoring new endpoints and sensitive parameters in your APIs can be time-consuming. Akto webhooks can automate this process for you. Your team can stay updated with real-time notifications for the following events in your API collection:
New sensitive APIs
Changes in old APIs
New parameters
New sensitive parameters
Configure Webhook Alert
You can configure Webhook Alerts in Akto in two ways:
1. Default Webhook Alert
To begin, navigate to settings → Integrations → Webhooks and click on Configure. Create a custom webhook by adding a name
, URL
, and selecting the events for alerts. Specify the time intervals for receiving these alerts. For example, if you choose 15 minutes, the webhook will run at 15-minute intervals.
The demonstration below outlines the steps to create a webhook alert for Akto’s default events.
2. Custom Webhook Alerts
In the default alerts above, you selected Akto default events for notifications. With custom alerts, you can create your own webhook payload or edit the default one based on the format that the target application expects. In the demonstration below, we have illustrated the steps to help you write your own custom webhook payload.
Example of webhook alert with google chat:
URL:
https://chat.googleapis.com/v1/spaces/<SPACE>/messages?key=KEY&token=TOKEN
Query params:
{}
Headers:
{'content-type': 'application/json'}
Payload:
Here is the results of the above custom webhook:
Go ahead and set those alerts using custom webhooks in Akto. For more information, refer to the detailed documentation here.
Keep reading
News
7 mins
March Product News: 98 New Tests, Dynamic wordlists, and more
This edition of Akto’s newsletter is packed with new features and tests that will greatly decrease your API Security testing time and increase targeted testing.
Product updates
5 mins
Detailed Errors on Postman and Swagger File Import
Akto now replays APIs to automatically get data during an import of Postman and Swagger files and transparently displays reasons why each specific API couldn't be replayed in the case of an error.
Product updates
5 mins
Added 98 New API Security Tests across 5 OWASP categories
Akto has introduced new tests across several categories including BOLA, Broken Authentication, Unrestricted Resource Consumption, BFLA, and SSRF that you can explore with Akto’s Test Editor.