I'm looking for advice on how to effectively handle K8s RBAC audits to meet compliance standards like ISO27001 and SOC2. After going through my fifth ISO27001 audit, I created a checklist of the common checks that auditors usually request. Here's a snippet of what I've documented on RBAC and access control measures:
1. Ensure there are no cluster-admin bindings outside of the kube-system namespace.
2. Use least-privilege Roles for ServiceAccounts rather than ClusterRoles.
3. Avoid wildcard permissions in production namespaces.
4. Enable RBAC audit logging to monitor user actions.
5. Implement external authentication (OIDC/SAML) for human users.
I also cover Network Policies, Secrets Management, and Pod Security practices in my checklist. If there's interest, I can share a Gist link with the complete 70-point checklist. I hope this info helps others avoid last-minute scrambles before audits!
8 Answers
We ended up documenting a workflow similar to yours after a few audits. Automating the checks really helped us turn them into reusable runbooks instead of scrambling at the last minute. It's a game changer!
Ugh, tell me about it! I’d rather just set the whole cluster on fire than deal with those last-minute audits!
This list is fantastic! I’d love to see the full checklist if you decide to share. My cluster has been in compliance too, and it's a relief to hear I'm not alone in this!
For a laugh, you could always hire Delve to handle it! 😂
Really good stuff! Do you use any specific tools like Kyverno or OPA to enforce these policies? Automating checks sounds like a smart move!
I recently had my first ISO27001 audit, and I was surprised that a lot of these checks didn't come up. What a relief!
Yeah, definitely share the Gist! It would be super useful for many of us trying to stay compliant with these audits.
You might want to check out Kyverno. It’s a great tool for enforcing policies automatically, which could help streamline the audit process and ensure compliance.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux