PaloAltoNetworks / rbac-police

Evaluate the RBAC permissions of Kubernetes identities through policies written in Rego
https://www.paloaltonetworks.com/resources/whitepapers/kubernetes-privilege-escalation-excessive-permissions-in-popular-platforms
MIT License
331 stars 35 forks source link

Add NodeRestriction flag #2

Closed yuvalavra closed 2 years ago

yuvalavra commented 2 years ago

NodeRestriction prevents nodes from abusing certain powerful permissions even if they're granted to them via RBAC. rbac-police should take that into account, possible implementation:

yuvalavra commented 2 years ago

NodeRestriction1.10:

NodeRestriction1.17:

yuvalavra commented 2 years ago

Fixed in #7