Skip to main content

Compliance profiles

A profile bundles a policy and the detectors it needs, so one line gets you a sensible starting point for a jurisdiction.

ProfileMasksBlocks
india_dpdpain_voter_id, in_phone, in_gstin, in_ifsc, email, phonein_aadhaar, in_pan, in_passport, credit_card, api_key
eu_gdpremail, phonecredit_card, api_key
us_hipaaemail, phone, us_passport, us_einssn, credit_card, api_key

Activate in YAML​

policy.yaml
version: "1.0"
profile: india_dpdpa

Activate in code​

from promptveil import Shield
from promptveil.profiles import load_profile, available_profiles

print(available_profiles()) # ['eu_gdpr', 'india_dpdpa', 'us_hipaa']

profile = load_profile("us_hipaa")
shield = Shield(config=profile.policy, detectors=list(profile.detectors))
Not legal advice

Profiles are starting-point presets, not a certification of compliance with DPDPA, GDPR, HIPAA or any other regulation. Detection is heuristic and may miss sensitive data. You remain responsible for your own compliance obligations.