Files
kubesphere/vendor/github.com/open-policy-agent/opa/schemas/authorizationPolicy.json
KubeSphere CI Bot 447a51f08b feat: kubesphere 4.0 (#6115)
* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

---------

Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-06 11:05:52 +08:00

44 lines
740 B
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Schema for the OPA Authorization Policy Input document",
"type": "object",
"properties": {
"identity": {
"type": "string"
},
"client_certificates": {
"type": "array",
"items": {
"type": "object"
}
},
"method": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"params": {
"type": "object"
},
"headers": {
"type": "object"
},
"body": {
"type": "object"
}
},
"required": [
"identity",
"client_certificates",
"method",
"path",
"params",
"headers",
"body"
]
}