Skip to main content
Compare what a role is allowed today against the document that describes it

Synopsis

Reads every inline and attached policy on a role, merges them, and compares the result with the rendered document. Two questions at once. Replacing a policy that worked with one derived from reading the source loses whatever the source does not mention — calls a library makes on your behalf appear nowhere in your code, and the policy you are replacing is the only record that they were ever needed. And a role that has drifted from its document, because somebody attached a grant by hand to unblock a build, looks exactly like one that has not. Actions are compared with their conditions, not alone: an action present in both can still have been narrowed, and a narrowing denies cases the old policy served.

Options

Global options

See global options.

SEE ALSO

  • kubox admin aws - Render and verify the IAM policies a Kubox deployment needs