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

# Microsoft Presidio Analyzer

> CodeRabbit's guide to Microsoft Presidio Analyzer.

[Microsoft Presidio Analyzer](https://microsoft.github.io/presidio/) detects sensitive data patterns in text. CodeRabbit can use it to scan changed text files for high-signal personally identifiable information (PII) and surface findings directly in pull request reviews.

Presidio is opt-in. Enable it in your `.coderabbit.yaml` file or in CodeRabbit settings before expecting Presidio findings in reviews.

```yaml theme={null}
reviews:
  tools:
    presidio:
      enabled: true
```

## Files

When enabled, Presidio runs against all non-binary files changed in any pull request.

## Configuration File

If your repository includes a `.presidiocli` configuration file, CodeRabbit will run Presidio using your `.presidiocli`. If you enable Presidio without adding this file, CodeRabbit will generate and use the following default `.presidiocli`:

```
language: en
threshold: 0.35
ignore: |
  .git
entities:
  - CREDIT_CARD
  - US_SSN
  - CRYPTO
  - PHONE_NUMBER
```

### Supported entities

CodeRabbit supports the following Presidio entity types:

* `CREDIT_CARD`
* `CRYPTO`
* `EMAIL_ADDRESS`
* `IBAN_CODE`
* `PHONE_NUMBER`
* `US_BANK_NUMBER`
* `US_ITIN`
* `US_SSN`

## Links

* [Microsoft Presidio documentation](https://microsoft.github.io/presidio/)
* [GitHub Repository](https://github.com/microsoft/presidio)
