dbtrail

Compliance Mapping

How dbtrail capabilities map to SOC 2, HIPAA, PCI-DSS, and GDPR compliance controls

dbtrail indexes MySQL binary logs in real time for row-level recovery and data change forensics. This page maps dbtrail capabilities to specific compliance controls across SOC 2, HIPAA, PCI-DSS, and GDPR.

dbtrail is not a certified product

These frameworks audit your organization, not individual tools. dbtrail is a technical control that supports specific requirements within your broader compliance program.


SOC 2 Availability (A1.2, A1.3)

A1.2: Data backup processes and recovery infrastructure

dbtrail capabilityHow it supports A1.2
Recovery SQL generationRow-level, point-in-time recovery without full database restores. Reduces effective RPO to the last committed transaction.
Continuous binlog indexingEvery data change is captured as it occurs. Provides evidence that backup processes are operational and current.

A1.3: Testing of recovery plan procedures

dbtrail capabilityHow it supports A1.3
On-demand recovery validationRecovery SQL can be generated and verified at any time. Output serves as auditable evidence of tested restore procedures.

Scope

dbtrail complements full database backups (xtrabackup, mysqldump, snapshots). It does not replace offsite replication, cross-region DR, or full infrastructure recovery.


HIPAA Security Rule

§164.308(a)(7): Contingency Plan

Implementation specificationStatusdbtrail capability
(ii)(A) Data Backup PlanRequiredRecovery SQL restores exact pre-incident state of specific ePHI records. Supplements full backups for partial data loss scenarios.
(ii)(B) Disaster Recovery PlanRequiredContinuous binlog indexing ensures recovery data is not dependent on backup schedule intervals.
(ii)(D) Testing and Revision ProceduresAddressableRecovery SQL generation is repeatable and verifiable on demand.

§164.308(a)(1)(ii)(D): Information System Activity Review

dbtrail capabilityHow it supports activity review
who_changedIdentifies which MySQL user modified a specific row, when, and from which host. Includes before/after values.
user_activityLists all recent data changes by a specific MySQL user.

Scope

dbtrail does not replace full ePHI backup/restore procedures, BAA agreements, workforce security training, access controls, or encryption requirements. It is one technical control within a contingency plan.


PCI-DSS v4.0: Requirement 10

10.2: Audit logs for anomaly detection and forensic analysis

dbtrail capabilityWhat it records
who_changedMySQL user, timestamp, source host, and before/after row values for any specific row change.
user_activityAll data modifications by a specific MySQL user across all indexed tables.
connection_historyConnections from specific MySQL users or source hosts/IPs.

dbtrail captures data-level changes that application-layer logging typically misses: direct SQL executed against the database by privileged users, scripts, or application bugs.

10.3: Protect audit trails from modification

Indexed binlog data is stored in append-only fashion. Original binary log events are cryptographically referenced.

10.5: Audit log retention

RequirementPCI-DSS minimumdbtrail support
Total retention12 monthsConfigurable per tenant
Immediately availableMost recent 3 monthsIndexed data is queryable in real time

Scope

dbtrail provides the database-level data change audit trail. It does not replace application-layer logging (failed logins, permission changes, API access), SIEM integration, network monitoring, or file integrity monitoring.


GDPR Article 32: Security of Processing

32(1)(c): Timely restoration of personal data

Point-in-time row recovery generates SQL to restore specific affected rows in seconds. This is the proportionate response when the incident is partial data loss (accidental deletion, application bug, unauthorized modification) rather than total infrastructure failure.

32(1)(d): Regular testing of security measures

Recovery SQL generation is repeatable and can be validated at any time as part of regular security measure evaluation.

32(2): Risks of accidental destruction, loss, or alteration

who_changed and user_activity forensics detect and attribute accidental or unauthorized data modifications. Recovery SQL reverses the damage.

Right to Erasure (Article 17)

Retention of indexed binlog data containing personal information must be aligned with your data retention policy. dbtrail retention is configurable per tenant to support purge of personal data when required by erasure requests, while respecting minimum retention periods imposed by other frameworks (e.g., PCI-DSS 12-month minimum). Consult your DPO on the appropriate configuration.

Scope

dbtrail supports one specific technical capability under Article 32: timely, granular data restoration. It does not replace DPIAs, encryption, pseudonymization, access controls, DPO appointment, or lawful basis documentation.


Summary

FrameworkControldbtrail capabilityCoverage
SOC 2A1.2Recovery SQL, continuous indexingRow-level recovery, reduced RPO
SOC 2A1.3On-demand recovery validationAuditable restore evidence
HIPAA§164.308(a)(7)(ii)(A)Recovery SQLExact-state recovery of specific records
HIPAA§164.308(a)(7)(ii)(D)On-demand recovery testingVerifiable contingency plan testing
HIPAA§164.308(a)(1)(ii)(D)who_changed, user_activityData modification audit trail
PCI-DSS10.2who_changed, user_activity, connection_historyData-level forensics with before/after values
PCI-DSS10.3Append-only storageTamper-resistant audit trail
PCI-DSS10.5Configurable retention12-month retention, 3-month immediate access
GDPRArt. 32(1)(c)Point-in-time row recoverySeconds vs. hours for targeted restoration
GDPRArt. 32(1)(d)On-demand recovery validationRepeatable security measure testing

Supporting documentation

If you are undergoing a compliance audit and want to include dbtrail as a documented control, we can provide:

  • Architecture and data flow documentation
  • Encryption in transit (TLS) and at rest specifications
  • Retention configuration reference
  • Recovery validation procedures with sample output

Contact hello@dbtrail.com for compliance-related requests.

On this page