Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (80 sloc) 2.73 KB
{
"description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set",
"properties": {
"nonResourceAttributes": {
"description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface",
"properties": {
"path": {
"description": "Path is the URL path of the request",
"type": [
"string",
"null"
]
},
"verb": {
"description": "Verb is the standard HTTP verb",
"type": [
"string",
"null"
]
}
}
},
"resourceAttributes": {
"description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
"properties": {
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview",
"type": [
"string",
"null"
]
},
"resource": {
"description": "Resource is one of the existing resource types. \"*\" means all.",
"type": [
"string",
"null"
]
},
"subresource": {
"description": "Subresource is one of the existing resource types. \"\" means none.",
"type": [
"string",
"null"
]
},
"verb": {
"description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Version is the API Version of the Resource. \"*\" means all.",
"type": [
"string",
"null"
]
}
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
You can’t perform that action at this time.