Webhook
Overview
Firefly integrates with webhooks to provide real-time notifications for various events and alerts. This integration enables teams to receive updates about infrastructure changes, policy violations, drift detection, and other important events directly to their custom endpoints.
Prerequisites
A service or application that can receive webhook notifications
A valid webhook URL endpoint
(Optional) Custom credentials for authentication
Setup Procedure
Go to your service or app and generate an incoming webhook URL
In Firefly, select Settings > Integrations
Select Add New > Webhook Integration
Enter a descriptive name in the Nickname field
Add the Webhook URL
(Optional) Add custom credentials
Select Next
Response Schema
The webhook payload follows this JSON schema:
Features Enabled
Real-time Notifications: Receive immediate alerts for important events
Custom Integration: Integrate with any service that supports webhooks
Flexible Authentication: Support for custom credentials
Rich Payload: Detailed event information in JSON format
Multiple Event Types: Support for various notification types including drift detection and resource management
Best Practices
Use HTTPS endpoints for secure communication
Implement proper authentication mechanisms
Set up proper error handling and retry mechanisms
Monitor webhook delivery and response times
Regularly review and update webhook configurations
Troubleshooting
For webhook delivery issues:
Verify the webhook URL is valid and accessible
Check authentication credentials if configured
Monitor response status codes
Review webhook logs for errors
For payload issues:
Validate the JSON schema
Check for required fields
Verify date formats
Ensure proper handling of optional fields
For integration issues:
Test the webhook endpoint independently
Verify network connectivity
Check firewall rules
Review rate limiting settings
Last updated
Was this helpful?