forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubjectaccessreviewspec-authorization-v1.json
61 lines (61 loc) · 1.88 KB
/
subjectaccessreviewspec-authorization-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set",
"properties": {
"extra": {
"description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
}
},
"groups": {
"description": "Groups is the groups you're testing for.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"nonResourceAttributes": {
"description": "NonResourceAttributes describes information for a non-resource access request",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes"
},
"resourceAttributes": {
"description": "ResourceAuthorizationAttributes describes information for a resource access request",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.authorization.v1.ResourceAttributes"
},
"uid": {
"description": "UID information about the requesting user.",
"type": [
"string",
"null"
]
},
"user": {
"description": "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",
"type": [
"string",
"null"
]
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}