Urgent.News

What's breaking now, across thousands of outlets.

AI

The Authorization Gap in AI Operations: Building a Policy-Enforced EKS Control Plane with Cedar, Step Functions, and Systems Manager

Originally published in AWSBuilder The hardest problem in AI-driven operations is not getting an agent to diagnose an incident. Modern models can correlate logs, metrics, deployment events, traces, Kubernetes state, and historical incidents well enough to produce plausible remediation proposals. The harder question begins one step later: Who decides whether the proposed action is actually allowed…

The primary challenge in AI-driven operations is not model accuracy for incident diagnosis. The more critical question is who determines if an action is authorized to make changes in production. Model accuracy alone is insufficient to guarantee safe decision-making. Even highly accurate models can sometimes produce incorrect recommendations.

To address this, the proposal suggests a policy-enforced control plane architecture for EKS (Elastic Kubernetes Service) clusters. The control plane separates the model's recommendation from the actual authorization and execution of the remediation action.

An executable contract should be established where the AI agent generates a typed remediation proposal with specific details like the action to perform, affected cluster and namespace, workload details, observed and target revisions, reason for the proposal, and execution bounds. This proposal is treated as intent, not fact. The model's suggestion about which revision to roll back should not be trusted without verification from other sources.

A separate evidence collector enriches the proposal with deterministic system data such as deployment generation, current and previous revisions, healthy status of the previous revision, detection of stateful migrations or maintenance freezes, and a timestamp. This provides the necessary facts to make informed authorization decisions.

The Amazon Verified Permissions with Cedar policies can externalize authorization. The remediation actor can request permission to perform an action against a resource under certain conditions. Policies can be defined to permit actions when specific conditions like previous revision healthiness, stateful migration status, and maintenance freeze are met.

Certain operations should never be allowed to run autonomously, such as deleting persistent data, changing cluster-wide authorization, or executing arbitrary shell commands. These should be explicitly forbidden regardless of the model's confidence level.

AWS Step Functions can manage the workflow state around authorization decisions. The state machine could collect evidence, validate the proposal, classify risk, and decide whether to approve, request human approval, or escalate to a senior engineer. Human approval can be handled using the callback-with-task-token pattern in Step Functions.

In summary, the key is separating model recommendations from authorization and enforcing policies using Cedar and Amazon Verified Permissions. The control plane determines if an action is authorized to run, while Step Functions handles the workflow orchestration. This keeps policy enforcement focused and separates it from operational risk classification.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

"Agent 协议栈三层分化:MCP 管工具、A2A 管协作、Agent Plugins 管分发"

Agent 协议栈三层分化:MCP 管工具、A2A 管协作、Agent Plugins 管分发 2026年8月,协议战结束了。 这不是说竞争消失了——而是战场发生了转移。半年前,开发者还在热烈争论"MCP vs 其它协议哪个更好",而现在答案已经清晰得让人有点意外: 没有哪个更好,只有哪个更适合哪一层。 三层架构是如何成形的 先说背景。AI Agent…

More from Thursday 20 August →