Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

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

More from Thursday 20 August →