Policy library

Review agent access to sensitive (e.g. health) data

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

Every agent read of a resource you classify as SENSITIVE waits for approval, whether or not that particular read contains health data: the SENSITIVE classification alone is enough to match. Ships in monitor mode first: decisions are recorded but the action is allowed, so you can see volume before enforcing.

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

Policy

Policy JSON (API)
{
  "name": "health-review-health-data-access",
  "description": "Every agent read of a resource you classify as SENSITIVE waits for approval, whether or not that particular read contains health data: the SENSITIVE classification alone is enough to match. Ships in monitor mode first: decisions are recorded but the action is allowed, so you can see volume before enforcing.",
  "enabled": true,
  "action": "READ",
  "resource": "SENSITIVE",
  "condition": {
    "containsSensitiveData": true
  },
  "decision": "REVIEW",
  "mode": "MONITOR"
}
Policy YAML (CLI policy file)
apiVersion: vulnify.io/v1
kind: Policy
metadata:
  name: health-review-health-data-access
spec:
  description: "Every agent read of a resource you classify as SENSITIVE waits for approval, whether or not that particular read contains health data: the SENSITIVE classification alone is enough to match. Ships in monitor mode first: decisions are recorded but the action is allowed, so you can see volume before enforcing."
  enabled: true
  action: READ
  resource: SENSITIVE
  condition:
    containsSensitiveData: true
  decision: REVIEW
  mode: MONITOR

Example test cases

CaseInputExpected decision
agent reads patient records{"agent":"example-agent","action":"READ_DATA","resource":"patient-records","containsSensitiveData":true,"recordsAffected":1}REVIEW (monitor: recorded, final ALLOW)

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

Use in Vulnify