Skip to content

Commit

Permalink
Update policies.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvalavra authored Oct 5, 2022
1 parent f628a7d commit cbc5c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Policies are [Rego](https://www.openpolicyagent.org/docs/latest/policy-language/
- **Groups**: Groups that violate the policy based on their permissions.
- **Combined**: Nodes that violate the policy based on the union of their permissions and the permissions of the service accounts they host.

The policy library at [lib](./lib) includes ~20 policies that identify identities that possess risky permissions, each detecting a different attack path.
The [policy library](./lib) includes ~20 policies that alert on identities possessing risky permissions, each detecting a different attack path.

## Writing Custom Policies
Policies are written in Rego, and receive input in the schema produced by `rbac-police collect`, as defined in [collect.md](./collect.md). Policies should define a `describe` rule, at least one violation type they produce, alongside one or two evaluators. Below is the [nodes_proxy](../lib/nodes_proxy.rego) policy, for example.
Expand Down

0 comments on commit cbc5c66

Please sign in to comment.