Logging and Monitoring Policy — summary
The Logging and Monitoring Policy defines what Verin logs, where logs are stored, how long they are retained, and how alerts are generated and acknowledged. It supports the audit-trail and monitoring requirements of SOC 2 (CC7.2, CC7.3), ISO/IEC 27001 (A.8.15, A.8.16), the HIPAA Security Rule (164.312(b)), and 21 CFR Part 11 (§11.10(e)).
The append-only audit log captures document uploads, authentication and session events, chat / query events, and platform-administration actions. Audit-logging of approval, electronic-signature, and audit-trail-export events is a planned enhancement; until it lands, those access records live at the application service layer rather than in the audit log. The audit-log table is protected by a database-level immutability trigger on PostgreSQL with an event-listener fallback enforcing the same semantic on SQLite for desktop and self-hosted deployments.
What is not logged is also explicit: customer document content in raw form, prompt content beyond what is necessary for short-term debugging, and any plaintext credentials, API keys, signing passwords, or OAuth tokens. Structured logging applies credential and token redaction; OAuth tokens are encrypted at rest with Fernet before any logging surface sees them.
Retention is tiered: 7 years minimum for the application audit log (longer where regulatory regime requires); 12 months for authentication / session events; 30 days hot + 12 months cold for application request and error logs. Customer-specific retention overrides set in the MSA take precedence. Access to logs follows the Access Control Policy — least-privilege, justified business need, periodic review.
Full text
The full Logging and Monitoring Policy is shared under NDA via the evidence-request flow.