Class AccessReview (1.31.0)

AccessReview(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Conveys information about a Kubernetes access review (such as one returned by a `kubectl auth can-i https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access`__ command) that was involved in a finding.

Attributes

NameDescription
group str
The API group of the resource. "*" means all.
ns str
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
name str
The name of the resource being requested. Empty means all.
resource str
The optional resource type requested. "*" means all.
subresource str
The optional subresource type.
verb str
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
version str
The API version of the resource. "*" means all.