[Python] The "Audit" Listener #3

Open
opened 2025-11-23 08:28:53 +00:00 by 22360255 · 0 comments
Member

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.

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.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
2025/UL_Project_Arena_Group_7#3
No description provided.