Skip to main content

Data Inventory & Classification

Status

Owner: Tech lead · Status: draft · Canonical source: Flezi Galaxy Codebase

Details all categories of data processed by the platform, storage locations, retention periods, and encryption safeguards.

Classification Matrix​

Data CategoryStorage LocationClassificationDefault RetentionEncryption
User Accounts (Email, name, hashed password)PostgreSQL (users)ConfidentialAccount lifetimebcrypt + at-rest encryption
Conversations & MessagesPostgreSQL (ai_messages)InternalConfigurable (default persistent)AES-256 at-rest
Files & DocumentsAzure Blob StorageInternal / ConfidentialUntil deleted by userAzure SSE (AES-256)
Vector EmbeddingsAzure AI SearchInternalSynced with document lifecycleAzure Search at-rest encryption
Streaming EventsRedis StreamTransientMax 24 hours (TTL expiration)In-transit TLS + memory TTL
Sandbox ArtifactsSandbox VM Disk → BlobTransient → DurableHarvested at run completionContainer deleted after session
Audit Logs & TracesMLflow / PostgreSQLInternal90–365 daysEncrypted at-rest

Existing Controls​

  • Least-privilege role scoping on all data operations.
  • Automated TTL purge on transient Redis buffers and sandbox containers.

Evidence (Files & Configuration)​

  • flezi.app.api.backend/app/database/models/
  • flezi.app.api.backend/app/features/files/storage.py

Limitations & Roadmap​

  • Self-service automated retention rules for organizational administrators.