Skip to content
masterclass Buddy

Arcjet · Concept

allow

Python + FastAPI sensitive information detection checks request text for entities such as email addresses, names, addresses, and identifiers. Configure an allow or deny list and use Rampart for local detection.

Last updated

Syntax

def detect_sensitive_info(*, mode: Mode, allow: Sequence[str | SensitiveInfoEntityType] = (), deny: Sequence[str | SensitiveInfoEntityType] = (), backend: SensitiveInfoBackend = ...) -> SensitiveInfoDetection

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • SensitiveInfoEntityType
  • Mode
  • detect_sensitive_info
  • SensitiveInfoDetection
  • rampart
  • sensitive_info_value
  • SensitiveInfoEntityType.EMAIL
  • SensitiveInfoEntityType.GIVEN_NAME

Source: Sensitive information reference for Python + FastAPI. Checked 2026-11-03.