package k8s.io.api.authorization.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ExtraValue

generated.proto:34

ExtraValue masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

items, if empty, will result in an empty slice

Used in: SubjectAccessReviewSpec

message LocalSubjectAccessReview

generated.proto:43

LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.

message NonResourceAttributes

generated.proto:59

NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface

Used in: SelfSubjectAccessReviewSpec, SubjectAccessReviewSpec

message NonResourceRule

generated.proto:70

NonResourceRule holds information that describes a rule for the non-resource

Used in: SubjectRulesReviewStatus

message ResourceAttributes

generated.proto:81

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

Used in: SelfSubjectAccessReviewSpec, SubjectAccessReviewSpec

message ResourceRule

generated.proto:116

ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

Used in: SubjectRulesReviewStatus

message SelfSubjectAccessReview

generated.proto:138

SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action

message SelfSubjectAccessReviewSpec

generated.proto:154

SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

Used in: SelfSubjectAccessReview

message SelfSubjectRulesReview

generated.proto:170

SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

message SelfSubjectRulesReviewSpec

generated.proto:185

SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.

Used in: SelfSubjectRulesReview

message SubjectAccessReview

generated.proto:191

SubjectAccessReview checks whether or not a user or group can perform an action.

message SubjectAccessReviewSpec

generated.proto:207

SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

Used in: LocalSubjectAccessReview, SubjectAccessReview

message SubjectAccessReviewStatus

generated.proto:236

SubjectAccessReviewStatus

Used in: LocalSubjectAccessReview, SelfSubjectAccessReview, SubjectAccessReview

message SubjectRulesReviewStatus

generated.proto:262

SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.

Used in: SelfSubjectRulesReview