-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
critical-pathBlocking other ticketsBlocking other ticketsmvpPhase 1 MVP scopePhase 1 MVP scopesecuritySecurity-related ticketsSecurity-related tickets
Milestone
Description
π€ User Story
As the core processing layer, I need a comprehensive webhook handler for processing PagerDuty incident events with proper validation and error handling.
π― Rationale
Webhook Handler is the critical entry point for incident notifications.
β Acceptance Criteria
- Create
aira/core/webhook_handler.pywith processing class - Implement POST
/webhooks/pagerdutyendpoint - Define Pydantic models for payloads (
PagerDutyWebhookEvent,PagerDutyIncident) - Implement HMAC-SHA256 signature validation using
X-PagerDuty-Signature - Use
PAGERDUTY_WEBHOOK_SECRETconfig - Map event types to internal format
- Request/response logging with correlation IDs (via shared utility)
- Add webhook processing metrics (success_count, error_count, processing_duration)
- Comprehensive unit & integration tests
π Metadata
-
Status: MVP
-
Category: Security
-
Week: Week 3
-
Complexity: Medium
-
Critical Path: Yes
-
Dependencies: AIRA-34, AIRA-31
Original Ticket: #38
Phase 1 MVP Tracking Issue
Metadata
Metadata
Assignees
Labels
critical-pathBlocking other ticketsBlocking other ticketsmvpPhase 1 MVP scopePhase 1 MVP scopesecuritySecurity-related ticketsSecurity-related tickets
Projects
Status
No status