Licensed to be used in conjunction with basebox, only.
// security
Retention
Applies to
Product: Demo · Cloud · Server · Audience: Security / Compliance reviewer
How long which data is kept: chats, documents, knowledge bases, audit log (configurable), uploads, logs and backups; defaults and what administrators control. Basic rule: the application currently deletes nothing on its own. Not even the audit log – its retention slider has no effect yet. Everything stays until a user or administrator deletes it.
Overview
| Data | Retention | Who controls | Automatic deletion |
|---|---|---|---|
| Audit log | Unlimited – the retention slider exists but has no effect yet | Administrator (Policies) | Not yet – implementation in progress |
| Chat history | Locally in the browser, until the user deletes it or clears the browser data | User (Chat history & data) | No – not stored on the server |
| Chat uploads (files in a conversation) | With the conversation | User | On deletion of the chat |
| Knowledge base documents and their passages/embeddings | Until an administrator removes them from the knowledge base | Administrator (Knowledge bases) | No |
Temporary RAG files (/tmp/ragsrv) |
For the duration of processing | System | Yes |
| User accounts | Until an administrator deletes or deactivates them | Administrator | No |
| Invitations | Valid for 14 days | System | Yes – the invitation expires; the account is created only on acceptance |
| API keys | Until revoked | Administrator / developer | No |
| Per-user connector credentials | Until the user removes them or the account is deleted | User | With the account |
| System and application logs | Per the operator's log infrastructure (syslog/journal, log stack); basebox sets no retention of its own | Platform Operator (Server) · basebox (Cloud) | Per operator configuration |
| Backups | Per the operator's retention policy, e.g. retentionPolicy: "30d" in the CloudNativePG example |
Operator | With rotation |
| Model weights, caches | No personal data | – | – |
What this means for deletion requests
A deletion in the application takes effect in the database immediately, but backups keep the old state until their rotation. Whoever promises a retention limit must add the backup retention: with 30 days of backup retention, a deleted record has vanished from all backups after 30 days at the latest. Details: Deletion.
Audit log: the one configurable value
The audit log is the table with the most personal data (user identifier, timestamp, client address – and conversation content if the detail level provides for it). Two settings determine what and for how long:
- Detail level: actions only (default), additionally questions, or questions and answers. As soon as content is recorded, all users see a notice in the chat.
- Retention period: The retention slider exists under Administration → Organization in the audit log section, but currently has no effect: audit entries are not deleted automatically. Implementation is in progress. Until then entries grow without limit – at a high detail level including the prompts. Agree with the data protection officer whether the high detail level should stay active until the implementation is done.
Recommendation: retention as short as the evidentiary purpose allows; with content recording enabled, considerably shorter than with pure action logging.
Per deployment model
- Cloud: you control the application values (audit retention, deletion by users and administrators). Log and backup retention of the platform is set by basebox; ask for the values for your environment (Backup).
- Server: everything sits with you – application settings with the administrator, log and backup retention with the Platform Operator (Logging, Backup & restore). Under operation by basebox the values are in the operations contract.
- Demo: no retention commitment; test data may be removed at any time.
For the review
- Set the audit retention and document the value.
- Define a process for knowledge bases: who checks whether documents are still needed?
- Factor backup rotation into every deletion period.
- Record where audit log export files are kept and when they are deleted.
Next step: Deletion