Policy library

Block sensitive (e.g. health) data leaving the company

Covers: Health (LGPD art. 11, sensitive personal data)

Important: Vulnify is not designed to process protected health information (PHI) under HIPAA and does not currently sign Business Associate Agreements. Do not send PHI to Vulnify. This template evaluates action metadata, your own resource labels and optional content checks for some common identifiers; it is not a reliable detector of health data.
Use in VulnifyOpens in monitor mode by default. Nothing is created until you click Apply.

What it does

Blocks any agent action that sends data from resources you classify as SENSITIVE to an external email or API. The SENSITIVE classification alone is enough to match.

Default mode in this template: ENFORCE. The “Use in Vulnify” link preselects monitor mode; you can switch to enforce before applying.

Policy

Policy JSON (API)
{
  "name": "health-block-health-data-external",
  "description": "Blocks any agent action that sends data from resources you classify as SENSITIVE to an external email or API. The SENSITIVE classification alone is enough to match.",
  "enabled": true,
  "action": "ANY",
  "resource": "SENSITIVE",
  "condition": {
    "destination": "EXTERNAL",
    "containsSensitiveData": true
  },
  "decision": "BLOCK",
  "mode": "ENFORCE"
}
Policy YAML (CLI policy file)
apiVersion: vulnify.io/v1
kind: Policy
metadata:
  name: health-block-health-data-external
spec:
  description: "Blocks any agent action that sends data from resources you classify as SENSITIVE to an external email or API. The SENSITIVE classification alone is enough to match."
  enabled: true
  action: ANY
  resource: SENSITIVE
  condition:
    destination: EXTERNAL
    containsSensitiveData: true
  decision: BLOCK
  mode: ENFORCE

Example test cases

CaseInputExpected decision
patient data emailed externally{"agent":"example-agent","action":"SEND_EMAIL","resource":"patient-records","destination":"EXTERNAL_EMAIL","containsSensitiveData":true}BLOCK

Try this template on your own agents, in monitor mode first.

Use in Vulnify