Stop risky agent commands before they run
An agent can force-push or destroy infrastructure as easily as it runs a test. Policies decide what runs.
What policies do
Allow, confirm or deny
Let it run, ask the developer first, or block it.
Per organisation, workspace, project or team
For the organisation, a workspace, a project or a team.
A catalogue of ready-made policies
Start from ready-made policies and adapt them.
Every decision on record
Who ran what, and which rule decided.
How it works
-
Pick or write a policy
Install one from the catalogue, or create your own.
-
It applies to everyone
Change a rule once and everyone has it.
-
The command is checked before it runs
It is allowed, confirmed by the developer, or refused.
Questions and answers
What kind of commands can a policy stop?
rm -rf on the root, a force-push to a protected branch, or terraform destroy.
How do policies relate to Shield?
Shield masks secrets in output. Policies stop risky commands. Together they cover more.
Will it slow developers down?
No. RTK adds under 20 milliseconds to a command.
