Skip to content

Instantly share code, notes, and snippets.

@benmo-pdx
benmo-pdx / ai_assistant_policy.rego
Last active May 1, 2026 19:30
Attribute Based Access Policy for AI Assistants in a Clinical Setting - Obscured Order
# TW, BM, XI - Obscured Order
# ABAC Assignment - CS 489
#------------------------------------------------------------------#
# ABAC Policy: Healthcare Triage and Monitoring Agent Access Control
#
# Goal:
# This policy enforces attribute-based access control (ABAC) for
# AI agents interacting with patient records in a clinical setting.
# It ensures that access is granted only when the agent’s role, requested