Review agent access to sensitive (e.g. health) data
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
{
"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"
}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: MONITORExample test cases
| Case | Input | Expected 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 VulnifyNot legal advice. These templates are starting points to help you design internal controls for AI agents. They are not legal advice and do not make your organization compliant with LGPD, GDPR, HIPAA or any other law or regulation. Review them with your own legal and compliance team before relying on them. Templates are provided “as is”, without warranty. Whether a rule matches depends on how you classify your resources and on the data your agents send; test in monitor mode before enforcing.
License: the templates are dedicated to the public domain under CC0 1.0. “Vulnify” is a trademark; the CC0 dedication does not cover the Vulnify name or logo.