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

# Redaction policy

> One redaction decision per path of the recorded MCP traffic.

Schema: `urn:hex65:schema:redaction:v1`. Every field below comes from the schema; the schema decides.

The redaction policy (plan section 5.5.3, F-CON-07): one decision per path of the recorded MCP traffic. YAML 1.2 read with the core schema; unknown keys are errors.

## Fields

| Field | Type | Required | Meaning |
| - | - | - | - |
| `version` | `1` | yes | |
| `defaults` | object | no | |
| `defaults.unknown_strings` | one of `"keep"`, `"fake"`, `"strip"`, `"hash"` | no | The action for a string on a path the policy does not list. |
| `defaults.on_finding` | one of `"fake"`, `"strip"`, `"hash"` | no | The action proposed for a path the detectors flag (secrets are always strip). |
| `paths` | list of see RedactionDecision | yes | |
| `headers_deny` | list of string | no | HTTP headers whose values are never recorded. |

## RedactionPath

server.tool.(args\\|result\\|error) then keys, with \[] for list items; a name that is not a plain identifier is written as \["name"]

A value of type string.

## RedactionClass

A value of type one of `"none"`, `"email"`, `"phone"`, `"card"`, `"iban"`, `"national_id"`, `"ip_address"`, `"street_address"`, `"person_name"`, `"date_of_birth"`, `"free_text"`, `"api_key"`, `"bearer_token"`, `"jwt"`, `"private_key"`, `"url_credentials"`, `"password"`, `"secret"`.

## RedactionDecision

| Field | Type | Required | Meaning |
| - | - | - | - |
| `path` | see RedactionPath | yes | |
| `class` | see RedactionClass | yes | |
| `action` | one of `"fake"`, `"strip"`, `"hash"`, `"keep"` | yes | |
| `reason` | string | no | must not be blank |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.