A prompt tells your AI to grant admin?
Your agent reads a malicious ticket and tries to change access rights through its tools.You decide which actions your agent can take.Case and policy
Give an IT agent the tools it needs for a task. Keep role changes, deletions, and unrelated services outside its authority.
Let routine work run automatically and require your operator’s approval for production. A prompt can’t expand the permissions you set.
Choose what your agent can do
policy "agent-actions" {
let allowedRestart = (
request.operation == "restart"
and request.service == "billing-api"
and request.environment in ["staging", "production"]
)
allow if (allowedRestart)
require operator if (allowedRestart and request.environment == "production")
}