How do I govern shell executions from AI agents in a defense and aerospace environment?

Route shell executions through Kastra. The Kastra proxy or SDK intercepts each shell command before it executes, evaluates ABAC policy against the request attributes, environment, principal identity, and risk signals, and returns an allow, deny, redact, or human-approval decision. Defense and aerospace customers map controls directly to ITAR, CMMC 2.0, NIST 800-171.