---
title: Zero Data Retention (ZDR)
description: Enforce strict Zero Data Retention for hosted Code Audit on Enterprise plans.
seoTitle: Configure Zero Data Retention (ZDR) for Code Audit
seoDescription: Turn on strict Zero Data Retention (ZDR) for hosted Code Audit
  in an Enterprise Inth organization.
lastModified: "2026-12-01T21:09:25Z"
---
Enterprise organizations can turn on strict **Zero Data Retention (ZDR)** for hosted [Code Audit](/docs/code-audit). When enabled, Code Audit data is never used to improve our services and requests are restricted strictly to AI providers covered by a ZDR agreement.

## Prerequisites

* Your organization is on an **Enterprise** plan. See [Pricing](/docs/pricing).
* You are an organization **owner**. Only owners can turn ZDR on or off.
* Wait for any in-progress Code Audit runs to finish if the Dashboard asks you to before turning strict ZDR on.

## Turn on ZDR

1. In the Dashboard, open **Settings > General**.
2. Find **Zero Data Retention (ZDR)**.
3. Turn the switch on.
4. In the confirmation dialog, select **Turn on**.

With strict ZDR enabled, if no ZDR-covered AI provider is available when a scan runs, Code Audit requests fail rather than proceeding without ZDR coverage.

## Turn off ZDR

1. Open **Settings > General**.
2. Under **Zero Data Retention (ZDR)**, turn the switch off.
3. In the confirmation dialog, select **Turn off**.

Audits that were already running when you turned strict ZDR off keep strict ZDR until they finish.
