Agent Wranglers

Policy as code

Scan infrastructure code on every change, test your own rules against the plan, block dangerous actions at the organization level, and let exceptions expire.

  • Recommended 5

Policy as code turns infrastructure rules into checks that pass or fail. Some checks run on the code before anything changes. Others sit in the cloud and refuse a call even from an admin. Together they catch the mistakes a review misses. They follow the rules as code idea from the engineering playbook.

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/infrastructure/policy-as-code">Agent Wranglers infrastructure and environments playbook</a>. In code you write, add a comment next to it with the same link.