SubjectAccessReviewSpec

com.coralogix.zio.k8s.model.authorization.v1.SubjectAccessReviewSpec
See theSubjectAccessReviewSpec companion object
case class SubjectAccessReviewSpec(extra: Optional[Map[String, Vector[String]]], groups: Optional[Vector[String]], nonResourceAttributes: Optional[NonResourceAttributes], resourceAttributes: Optional[ResourceAttributes], uid: Optional[String], user: Optional[String])

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

Value parameters

extra

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

groups

Groups is the groups you're testing for.

uid

UID information about the requesting user.

user

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Groups is the groups you're testing for.

Groups is the groups you're testing for.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets nonResourceAttributes.

Gets nonResourceAttributes.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets resourceAttributes.

Gets resourceAttributes.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

UID information about the requesting user.

UID information about the requesting user.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product