Create subject access review
Evaluates all of the request attributes against all policies and allows or denies the request.
Request Body required
- Array [
- ]
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
spec required
extra object
property name* string[]
string
nonResourceAttributes
resourceAttributes
status
- 200
ok
Schema
- Array [
- ]
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
spec required
extra object
property name* string[]
string
nonResourceAttributes
resourceAttributes
status
{
"apiVersion": "string",
"kind": "string",
"spec": {
"extra": {},
"groups": [
"string"
],
"nonResourceAttributes": {
"path": "string",
"verb": "string"
},
"resourceAttributes": {
"group": "string",
"name": "string",
"namespace": "string",
"resource": "string",
"resourceScope": "string",
"subresource": "string",
"verb": "string",
"version": "string",
"workspace": "string"
},
"uid": "string",
"user": "string"
},
"status": {
"allowed": true,
"denied": true,
"evaluationError": "string",
"reason": "string"
}
}