SubjectAccessReviewStatus

com.coralogix.zio.k8s.model.authorization.v1.SubjectAccessReviewStatus
See theSubjectAccessReviewStatus companion object
case class SubjectAccessReviewStatus(allowed: Boolean, denied: Optional[Boolean], evaluationError: Optional[String], reason: Optional[String])

SubjectAccessReviewStatus

Value parameters

allowed

Allowed is required. True if the action would be allowed, false otherwise.

denied

Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

evaluationError

EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

reason

Reason is optional. It indicates why a request was allowed or denied.

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

Allowed is required. True if the action would be allowed, false otherwise.

Allowed is required. True if the action would be allowed, false otherwise.

This effect always succeeds, it is safe to use the field allowed directly.

Attributes

Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

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

Attributes

EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

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

Attributes

Reason is optional. It indicates why a request was allowed or denied.

Reason is optional. It indicates why a request was allowed or denied.

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