curl --location 'http://127.0.0.1:8000/api/alerts' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data '{
"security_event_id": 1,
"title": "Brute Force Detected",
"description": "Multiple failed login attempts detected from external IP.",
"status": "pending"
}'{
"message": "Alert created successfully",
"data": {
"id": 3,
"security_event": "unauthorized_access",
"title": "Unauthorized Access Alert",
"description": "Unauthorized access attempt detected on a protected endpoint.",
"status": "pending"
}
}