Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (56 sloc) 1.78 KB
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
"properties": {
"resource": {
"type": [
"string",
"null"
],
"description": "Resource is one of the existing resource types. \"*\" means all."
},
"name": {
"type": [
"string",
"null"
],
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all."
},
"namespace": {
"type": [
"string",
"null"
],
"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"
},
"verb": {
"type": [
"string",
"null"
],
"description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all."
},
"version": {
"type": [
"string",
"null"
],
"description": "Version is the API Version of the Resource. \"*\" means all."
},
"group": {
"type": [
"string",
"null"
],
"description": "Group is the API Group of the Resource. \"*\" means all."
},
"subresource": {
"type": [
"string",
"null"
],
"description": "Subresource is one of the existing resource types. \"\" means none."
}
}
}
You can’t perform that action at this time.