io.k8s.api.authorization.v1

Members list

Concise view

Type members

Classlikes

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.

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.

Attributes

Companion:
object
Source:
LocalSubjectAccessReview.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
LocalSubjectAccessReview.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class NonResourceAttributes(path: Option[String], verb: Option[String])

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

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

Attributes

Companion:
object
Source:
NonResourceAttributes.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
NonResourceAttributes.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class NonResourceRule(verbs: Seq[String], nonResourceURLs: Option[Seq[String]])

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

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

Attributes

Companion:
object
Source:
NonResourceRule.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
NonResourceRule.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ResourceAttributes(name: Option[String], version: Option[String], resource: Option[String], verb: Option[String], group: Option[String], subresource: Option[String], namespace: Option[String])

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

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

Attributes

Companion:
object
Source:
ResourceAttributes.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
ResourceAttributes.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ResourceRule(verbs: Seq[String], apiGroups: Option[Seq[String]], resourceNames: Option[Seq[String]], resources: Option[Seq[String]])

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.

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.

Attributes

Companion:
object
Source:
ResourceRule.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
ResourceRule.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

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

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

Attributes

Companion:
object
Source:
SelfSubjectAccessReview.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SelfSubjectAccessReview.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SelfSubjectAccessReviewSpec(nonResourceAttributes: Option[NonResourceAttributes], resourceAttributes: Option[ResourceAttributes])

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

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

Attributes

Companion:
object
Source:
SelfSubjectAccessReviewSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SelfSubjectAccessReviewSpec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

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.

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.

Attributes

Companion:
object
Source:
SelfSubjectRulesReview.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SelfSubjectRulesReview.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SelfSubjectRulesReviewSpec(namespace: Option[String])

SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.

SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.

Attributes

Companion:
object
Source:
SelfSubjectRulesReviewSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SelfSubjectRulesReviewSpec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

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

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

Attributes

Companion:
object
Source:
SubjectAccessReview.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SubjectAccessReview.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SubjectAccessReviewSpec(groups: Option[Seq[String]], resourceAttributes: Option[ResourceAttributes], uid: Option[String], extra: Option[Map[String, Seq[String]]], user: Option[String], nonResourceAttributes: Option[NonResourceAttributes])

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

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

Attributes

Companion:
object
Source:
SubjectAccessReviewSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SubjectAccessReviewSpec.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SubjectAccessReviewStatus(allowed: Boolean, denied: Option[Boolean], evaluationError: Option[String], reason: Option[String])

SubjectAccessReviewStatus

SubjectAccessReviewStatus

Attributes

Companion:
object
Source:
SubjectAccessReviewStatus.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SubjectAccessReviewStatus.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SubjectRulesReviewStatus(incomplete: Boolean, nonResourceRules: Seq[NonResourceRule], resourceRules: Seq[ResourceRule], evaluationError: Option[String])

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.

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.

Attributes

Companion:
object
Source:
SubjectRulesReviewStatus.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SubjectRulesReviewStatus.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type