[Go to site: main page, start]

Skip to main content
Microsoft Presidio Analyzer 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.
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