--- title: "Set up database audit trails" slug: "set-up-database-audit-trails-1" tags: ["ESM"] updated: 2026-09-12T21:25:11Z published: 2026-09-12T21:25:11Z canonical: "docs.trellix.com/set-up-database-audit-trails-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up database audit trails Set up an audit trail to track access and changes made to the database or to tables associated with specific database events. The Trellix ESM compliance report lists audit trails associated with each event. To generate audit trail events, you must add: - Data Access rules - Privileged User Audit Trails report 1. From the dashboard, click ![GUID-0177D71C-5A80-43D5-9629-5D396CF2895F-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-02f09313-c1e5-2026-c72f-7f2ad21785f1(4).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A10%3A29Z&se=2026-11-22T15%3A10%3A29Z&sr=c&sp=r&sig=DGLhqoJvgPlvUEBMvLlyLcNtBZ5LBUlzmN8dzazkFnc%3D) and select **Policy Editor**. 2. In the **Rule Types** pane, select DEM → Data Access. 3. Highlight **DEM - Template Rule - Trusted Use Access From IP Range**. 4. Click Edit → Copy, then click Edit → Paste. 5. Change the name and properties of the new rule. 1. Highlight the rule, then select Edit → Modify. 2. Name the rule, then type the user name. 3. Select the **Untrusted** action type, then click **OK**. 6. Click the **Rollout** icon ![GUID-A5690870-A648-4CC7-B1B1-F092A03B5C3B-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-2108e417-0ae7-4659-87eb-53452c624335(2).png?sv=2026-02-06&spr=https&st=2026-11-22T14%3A10%3A29Z&se=2026-11-22T15%3A10%3A29Z&sr=c&sp=r&sig=DGLhqoJvgPlvUEBMvLlyLcNtBZ5LBUlzmN8dzazkFnc%3D). 7. Set up the report: 1. On **System Properties**, click Reports → Add. 2. Fill in sections 1–3, and 6. 3. In section 4, select **Report PDF** or **Report HTML** 4. In section 5, select Compliance → SOX → Privileged User Audit Trails (Database). 5. Click **Save**. 8. To generate the report, click **Run Now**. :