Back to Checks
claude

Claude organization has content redaction enabled

dataprivacy_content_redaction_enabled
Service: dataprivacySeverity: high
OfficialVerifiedPrivate
Categories:gen-ai
Resource Type:ClaudeOrganizationSettings

The effective organization settings are evaluated for content_redaction_enabled. Redaction removes sensitive strings before content is stored, shrinking what a retention window or an export can expose.

Risk

Redaction removes sensitive strings before content is stored, shrinking what a retention window or an export can expose.

Run this check with Prowler

Run in Prowler Cloud
Install
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-claude[runtime]"
Run
prowler claude --checks dataprivacy_content_redaction_enabled

Recommendation

Enable content redaction in the organization's data and privacy controls.

Remediation

Other

1Enable content redaction in the organization's data and privacy controls.

Check Code

from prowler.lib.check.models import Check

from prowler_provider_claude.lib.report import CheckReportClaude
from prowler_provider_claude.services.dataprivacy.dataprivacy_client import (
    dataprivacy_client,
)


class dataprivacy_content_redaction_enabled(Check):
    """Claude organization redacts sensitive content.

    Redaction removes sensitive strings before content is stored, shrinking what a retention window or an export can expose.
    """

    def execute(self) -> list[CheckReportClaude]:
        findings = []
        for settings in dataprivacy_client.settings:
            row = settings.get("content_redaction_enabled")
            if row is None:
                continue
            org = settings.name.removesuffix(" effective settings")
            report = CheckReportClaude(metadata=self.metadata(), resource=settings)
            if row.value is True:
                report.status = "PASS"
                report.status_extended = f"Organization {org} has content redaction enabled (content_redaction_enabled is true)."
            else:
                report.status = "FAIL"
                report.status_extended = f"Organization {org} does not have content redaction enabled (content_redaction_enabled is {str(row.value).lower()})."
            findings.append(report)
        return findings