Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: deadlink to RBAC pitfalls blog post in references. #91

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/analysis/default-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Rules:
"Review the policy rules for \'" + (has(subject.namespace) ? subject.namespace +"/" : "") + subject.name + "\' ("+ subject.kind +") by running \'rbac-tool policy-rules -e " + subject.name +"\'.\n" +
"You can visualize the RBAC policy by running \'rbac-tool viz --include-subjects=" + subject.name +"\'"
References:
- https://www.impidio.com/blog/kubernetes-rbac-security-pitfalls
- https://certitude.consulting/blog/en/kubernetes-rbac-security-pitfalls/

# Analysis expressions are evaluated with array of SubjectPermissions object - see https://github.com/alcideio/rbac-tool/blob/master/pkg/rbac/subject_permissions.go#L11
# Expression syntax can be found here: https://github.com/google/cel-spec/blob/master/doc/intro.md
Expand All @@ -87,7 +87,7 @@ Rules:
Severity: CRITICAL
Uuid: a845ec84-8fec-4d64-8d8b-7c2b9ca05d63
References:
- https://www.impidio.com/blog/kubernetes-rbac-security-pitfalls
- https://certitude.consulting/blog/en/kubernetes-rbac-security-pitfalls/
- https://kubernetes.io/docs/reference/access-authn-authz/rbac/
Recommendation: |
"Review the policy rules for \'" + (has(subject.namespace) ? subject.namespace +"/" : "") + subject.name + "\' ("+ subject.kind +") by running \'rbac-tool policy-rules -e " + subject.name +"\'.\n" +
Expand Down Expand Up @@ -117,7 +117,7 @@ Rules:
"Review the policy rules for \'" + (has(subject.namespace) ? subject.namespace +"/" : "") + subject.name + "\' ("+ subject.kind +") by running \'rbac-tool policy-rules -e " + subject.name +"\'" +
"\nYou can visualize the RBAC policy by running \'rbac-tool viz --include-subjects=" + subject.name +"\'"
References:
- https://www.impidio.com/blog/kubernetes-rbac-security-pitfalls
- https://certitude.consulting/blog/en/kubernetes-rbac-security-pitfalls/
- https://kubernetes.io/docs/reference/access-authn-authz/rbac/

# Analysis expressions are evaluated with array of SubjectPermissions object - see https://github.com/alcideio/rbac-tool/blob/master/pkg/rbac/subject_permissions.go#L11
Expand Down
Loading