Audit, encryption, and operations
Understand audit trails, application-level encryption, observability, messaging, and deployment responsibilities.
In the appApplication · OperationsUpdated September 19, 2026
Understand audit trails, application-level encryption, observability, messaging, and deployment responsibilities.
The foundation includes operational primitives, but does not conflate deployable code with fully automated operations. Each project confirms its availability, backup, and monitoring objectives.
Keep a business audit trail
The audit trail can record the tenant, actor, action, entity type, entity identifier, a message, a functional tag, and the date. The actor identifier remains available even if the account is deleted.
The record is written to the database and structured logs. It can feed a paginated, filterable administration page for support, compliance, and investigations.
Encrypt sensitive values
Cryptonomiconprovides shared authenticated encryption, using AES-256-GCM by default or ChaCha20-Poly1305. Keys are derived with HKDF from a master key, a salt, and a context.This primitive can protect a provider key stored in the database, for example. It guarantees confidentiality and tamper detection for fields that use it. It does not automatically encrypt every table, file, or infrastructure volume.
Passwords follow a different contract: they are hashed with Argon2 and can never be decrypted.
Correlate a request end to end
Pino logs are structured and enriched with a
requestId, route, API action, tenant, user, and, when available, project or version. The context is created before the request body is parsed, preserving a correlation identifier even for invalid JSON.HTTP errors follow a catalog of codes. Server errors and processing outside requests can be relayed to the configured alert channel. Datadog tracing and runtime metrics are optional.
This foundation makes diagnosis easier, but SLOs, dashboards, and alerting rules still need to be configured for the environment.
Deploy the base runtime
The generated application generally brings together:
The frontend proxies
/apiand/ssoto the backend. The backend applies migrations, initializes security data, and exposes a health check. Docker images and environment variables provide a portable foundation for cloud or on-premises deployment.Go-live checklist