QuestionQ16Verified/Kubernetes Security FundamentalsCopy linkReport a problemAsk AstroTutorSave questionIn Kubernetes, which of these conditions must be satisfied for a user to create or update a Role?AThe user is granted explicit permission to perform the 'escalate verb on its own User resource in the authentication.k8s.io API groupBThe user is granted explicit permission to perform the bind' verb on the roles or ClusterRoles resource in the rbac.authorization.k8s.io API groupCThe user is granted a role to create/update RoleBinding or ClusterRoleBinding objectsDThe user already has all the permissions contained in the role at the same scope as the object being modified.Show AnswerAnswerExplanationKubernetes RBAC blocks privilege escalation by requiring a user who creates or updates a Role to already possess every permission included in that Role at the applicable scope. The alternative exception is explicit escalate permission on roles or clusterroles in the rbac.authorization.k8s.io API group; bind and RoleBinding permissions apply to binding roles, not modifying a Role.Learn moreUsing RBAC AuthorizationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion