SQL Server Audit Tool
Audit SQL Server logins, DDL changes, permission grants, and backups across instances in near real time. Add the optional Compliance Pack to read native SQL Server Audit for SOX, HIPAA, PCI DSS, and GDPR evidence.
Why DBLense SQL Server Auditor?
Auditing SQL Server for regulatory and organizational compliance is challenging — complex database environments, multiple users with varying permissions, frequent changes, and evolving compliance standards. DBLense SQL Auditor reduces the time and effort required to configure, monitor, and report on compliance from days to minutes.
Centralized Audit Database
All audit data from every monitored SQL Server instance flows into a single centralized database. Role-based access (Admin, Operator, Viewer) ensures the right people see the right data.
Background Collector Service
A lightweight Windows service runs 24/7, continuously collecting audit events from each registered instance with minimal overhead and no gaps in coverage.
Management Dashboard
A streamlined desktop application with five tabs — Dashboard, Events, Configure, Alerts, and Reports — plus a dedicated Settings window for service management, user administration, integrations, and security.
AI-Powered Security Insights
Built-in AI analysis panel that provides automated security summaries, anomaly detection, threat analysis, and actionable recommendations — all from a slide-out drawer without leaving your workflow.
SIEM & Webhook Integration
Forward alerts to Splunk, Microsoft Sentinel, Elastic, Slack, Teams, PagerDuty and more. Supports JSON and CEF formats with automatic retries and health monitoring per endpoint.
Compliance Pack (optional)
Enable the Compliance Pack to read directly from a native SQL Server Audit you configure on the monitored instance (on-prem TO FILE or Azure Managed Instance TO URL). The collector reads via sys.fn_get_audit_file() over the same TCP 1433 connection — no agent, no file share, no Azure SDK. Produces the tamper-evident evidence trail auditors recognise for SOX, HIPAA, PCI DSS.
One-Click Compliance Reports
Generate PDF compliance reports with a single click — Sensitive Data Access, Permission Changes, Schema Changes, and Failed Logins. Configurable report periods for audit reviews.
Real-Time Alerting
Automatic alerts with severity levels (Critical, Warning, Info), acknowledgment tracking, and badge counts. Alert on failed logins, privilege escalations, schema changes, and more.
Built-in Compliance Packs
Pre-configured audit policies aligned with major regulatory frameworks. Each compliance pack covers the event categories, report types, and alert rules needed to satisfy specific requirements. For audit evidence trails accepted by external auditors, combine with the optional Compliance Pack (SQL Server Audit integration) described below.
GDPR
General Data Protection Regulation. Track who accessed or modified personal data, with full login and timestamp accountability for data subject access requests.
HIPAA
Health Insurance Portability and Accountability Act. Maintain audit trails for patient record access with tamper-proof evidence and automatic alerts for unauthorized access.
SOX
Sarbanes-Oxley Act. Monitor privilege changes and administrative actions for financial data integrity. Track role changes, permission grants, and configuration modifications.
PCI DSS
Payment Card Industry Data Security Standard. Detect unauthorized access attempts, track authentication activity, and monitor cardholder data environments with configurable retention.
What You Can Audit
Configure per-instance audit policies with granular control over what gets tracked. Choose from pre-built categories or customize your own.
Data Changes
- SELECT, INSERT, UPDATE, DELETE tracking
- Per-instance toggle for each operation type
- Statement capture with execution metrics
- Minimum duration filter to reduce noise
Schema Changes
- CREATE, ALTER, DROP on all object types
- Track every change with the responsible user
- Database management operations (backup, restore)
Security & Authentication
- Login, Logout, and Failed Login tracking
- Permission changes (GRANT, DENY, REVOKE)
- Server configuration changes
- Role membership modifications
Filters & Scope
- Filter by database, login, application, or hostname
- Exclude system logins and internal applications
- Continuous collection with no gaps
- Configurable collection intervals
AI-Powered Security Analysis
Go beyond raw event logs. The built-in AI panel analyzes your audit data and surfaces actionable intelligence.
Security Summary
High-level overview of your audit posture with key metrics and risk indicators.
Anomaly Detection
Identify unusual patterns — off-hours access, bulk data operations, and privilege escalations.
Threat Analysis
Assess brute-force attempts, suspicious schema changes, and potential data exfiltration.
Recommendations
Actionable hardening suggestions based on your specific audit data and environment.
Alert, Respond & Integrate
Raise alerts when potential compliance issues arise. Send notifications to your existing tools via webhook and SIEM integration.
Real-Time Alerts
- Severity-based alerts: Critical, Warning, Info
- Alert acknowledgment with user tracking
- Dynamic badge counts on the Alerts tab
- Bulk acknowledge or individual triage
- Filter to show or hide acknowledged alerts
SIEM & Webhook Integration
- Splunk, Microsoft Sentinel, Elastic, QRadar
- Slack, Microsoft Teams, PagerDuty webhooks
- JSON and CEF (Common Event Format) output
- Per-endpoint enable/disable and test functionality
- Automatic failure tracking and health status
- Send test alerts to verify connectivity
Compliance Pack — SQL Server Audit Integration
An optional, drop-in upgrade that reads security and backup events from a native SQL Server Audit you configure on the monitored instance. This is the evidence trail external auditors recognise for SOX, HIPAA, PCI DSS and ISO 27001 — produced by SQL Server itself and tamper-evident by design.
How it works
- You run a one-time script on the target instance that creates a
SERVER AUDITwith the action groups DBLense recognises (logins, principals, roles, permissions, backup/restore, audit changes). - On on-prem / VM SQL Server, the audit writes to local
.sqlauditfiles (path you choose, e.g.C:\SQLAudit\). - On Azure SQL Managed Instance, it writes
.xelfiles to an Azure Blob container via SAS credential. - The DBLense collector calls
sys.fn_get_audit_file()over the same TCP 1433 connection it already uses — SQL Server reads the file or blob on our behalf.
What you get
- Tamper-evident security + backup trail recognised by external auditors
- Captures failed BACKUP / RESTORE attempts (not just successful ones)
- Captures every audit configuration change automatically (AUDIT_CHANGE_GROUP)
- Zero new moving parts in DBLense — same collector, same connection
Supported platforms
- SQL Server 2016+ (Standard, Enterprise, Developer) on Windows / Linux / VMs
- Azure SQL Managed Instance (General Purpose or Business Critical)
- Azure SQL Database — on roadmap (database-scoped audit differs)
Four-step install
- Choose on-prem or Managed Instance install script
- Edit path / blob URL + SAS at the top of the script
- Run with
sqlcmd -I -i install-server-audit-*.sql - Enable Use Server Audit on the instance in DBLense and paste the path
Full walkthrough, tuning, cost notes, and troubleshooting: Compliance Pack setup guide.
One-Click Compliance Reports
Integrity & chain of evidence
When the Compliance Pack is on, the collector records the source audit GUID and file/blob URI of every event it imports. Reports cite these back to SQL Server's own audit trail so reviewers can verify the chain — no “trust us” required.
- Events cross-linked to source
.sqlaudit/.xelfile - Watermark-based collection — no duplicates, no gaps
- Append-only central table with configurable retention
- Central DB can itself sit on SQL 2022+ ledger tables if desired
PDF Compliance Reports
Generate polished PDF reports with a single click for internal reviews or external audits. Four pre-built report types aligned with common compliance requirements.
- Sensitive Data Access — Who accessed what data and when
- Permission Changes — Grant, deny, revoke actions and role changes
- Schema Changes — All structural modifications with the responsible user
- Failed Logins — Brute force indicators and auth failures
- Configurable period: 7, 30, 90, or 365 days
- CSV and PDF export from the Events tab
DBLense SQL Auditor Works For...
Enterprise
- Real-time monitoring across many instances
- Comprehensive auditing with minimal overhead
- Role-based access for compliance teams
- Tamper-evident audit trail via optional Compliance Pack (SQL Server Audit)
- SIEM integration for centralized security operations
Teams
- Deploy and configure within minutes
- Collect only relevant data to reduce overhead
- AI-powered analysis reduces manual triage
- Webhook alerts to Slack and Teams channels
- Multiple dashboards connected to one central database
Individual DBAs
- Register instances and start auditing in minutes
- Pre-configured event categories with recommendations
- One-click compliance reports for auditors
- AI insights without complex analysis
- Built-in diagnostics for troubleshooting
See SQL Server Auditor in Action
A short walkthrough of live auditing, alerts, and compliance reports.
System Requirements
Live Auditing + Optional Compliance Pack
Monitor every login, schema change, and permission modification across all your SQL Server instances in near-real time. Add the optional Compliance Pack to layer in a tamper-evident SQL Server Audit trail for SOX, HIPAA, PCI DSS and GDPR evidence — all from a single desktop.
Questions DBAs search for
These are the jobs this tool is built to do. Use them as a shortcut into the product and docs.
How do I audit who changed a table or permission in SQL Server?
SQL Auditor collects login, DDL, permission, and backup events into a central store. Search by time, login, and object, then export reports for schema changes and grants.
Can I monitor failed SQL Server logins and privilege changes?
Yes. Real-time alerts cover failed logins, privilege escalations, and schema changes, with severity, acknowledgment, and optional SIEM forwarding.
Does it support SOX, HIPAA, PCI DSS, or GDPR audits?
The optional Compliance Pack reads a native SQL Server Audit you configure (file or Azure URL) and produces the tamper-evident trail auditors expect.
Do I need an agent on each SQL Server?
A lightweight Windows collector service pulls events over the normal SQL connection. The compliance path uses sys.fn_get_audit_file over TCP 1433, not a file share on each host.