> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit & Compliance

> Export workflow audit data, generate compliance reports, and manage retention settings at /fw/audit-compliance.

The Audit & Compliance screen provides tabbed access to workflow execution export, compliance reports, scheduled reports, and retention settings and is available at `/fw/audit-compliance`.

## Overview

This admin screen uses a four-tab layout. **Workflow Export** (`WorkflowExecutionExportTab`) allows downloading workflow execution records. **Compliance Reports** (`ComplianceReportsTab`) generates named compliance reports. **Scheduled Reports** (`ScheduledReportsTab`) manages recurring report delivery. **Retention** (`RetentionSettingsTab`) configures how long audit records are retained. All tabs are wrapped in a `PermissionGate` for `fw.audit.view` (`FW_PERMISSIONS.AUDIT_VIEW`).

## Who it's for

Requires permission: `fw.audit.view` (`FW_PERMISSIONS.AUDIT_VIEW`).

## Before you start

* Hold `fw.audit.view` to access this screen.
* Ensure the execution worker is configured if you need real-time execution data.

## Steps

<Steps>
  <Step title="Open Audit & Compliance">Navigate to `/fw/audit-compliance`.</Step>
  <Step title="Export workflow executions">Select the **Workflow Export** tab to download execution records.</Step>
  <Step title="Generate compliance reports">Select the **Compliance Reports** tab and configure a report.</Step>
  <Step title="Schedule a report">Select the **Scheduled Reports** tab to set up recurring report delivery.</Step>
  <Step title="Configure retention">Select the **Retention** tab to adjust the audit record retention period.</Step>
</Steps>

## Key concepts

* **Workflow Export** — raw execution-level audit data export.
* **Compliance Reports** — structured reports for regulatory or internal review.
* **Retention** — controls how long audit records are kept before purge.

## Related

<Columns cols={2}>
  <Card title="Forms & Workflow" icon="diagram-project" href="/fw/overview">
    Forms & Workflow core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index">
    Documentation coverage and governance.
  </Card>
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/fw\.tsx
  * src/cores/fw/pages/AuditCompliancePage.tsx
  * src/platform/permissions/constants.ts
</Accordion>
