Create task task-81.5

This commit is contained in:
Dylan Knutson
2025-07-31 03:51:57 +00:00
parent aeabfc5150
commit 9941529101

View File

@@ -0,0 +1,25 @@
---
id: task-81.5
title: Add routes and implement data retention policies for Telegram bot logs
status: To Do
assignee: []
created_date: '2025-07-31'
labels: []
dependencies: []
parent_task_id: task-81
---
## Description
Configure routing for the admin audit interface and implement automated data cleanup and retention policies for the Telegram bot logging system
## Acceptance Criteria
- [ ] Routes added for TelegramBotLogsController following existing admin patterns
- [ ] Routes are properly protected with admin authentication
- [ ] Data retention policy configurable via GlobalState
- [ ] Automated cleanup job removes logs older than configured period
- [ ] Cleanup job also removes associated BlobFile images
- [ ] Cleanup job can be run manually and scheduled automatically
- [ ] Data retention settings have sensible defaults
- [ ] Cleanup process includes proper logging and error handling