generated from 2025/project_base
[Python] The "Audit" Listener #3
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
2025/UL_Project_Arena_Group_7#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority: Critical
Assignee: Python
Dev Context: Fulfills the "Distributed Systems" grading requirement.
Rust "fires and forgets" logs to this service.
Specs:
Framework: FastAPI (Minimal).
Endpoint: POST /audit
Payload Schema:
JSON
{
"event_id": "UUID (string)",
"action": "string",
"user_id": "UUID (string)",
"timestamp": "ISO8601 string"
}
Action: Append received JSON to a local audit.log file or print to stdout (for Render logs).
Definition of Done:
Service is running locally on Port 8000.
Command curl -X POST http://localhost:8000/audit -d '{"action":"test"}' returns 200 OK.