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>
This commit is contained in:
committed by
GitHub
parent
b5015ec7b9
commit
447a51f08b
43
vendor/github.com/open-policy-agent/opa/schemas/authorizationPolicy.json
generated
vendored
Normal file
43
vendor/github.com/open-policy-agent/opa/schemas/authorizationPolicy.json
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"$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"
|
||||
]
|
||||
}
|
||||
15
vendor/github.com/open-policy-agent/opa/schemas/schemas.go
generated
vendored
Normal file
15
vendor/github.com/open-policy-agent/opa/schemas/schemas.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2023 The OPA Authors. All rights reserved.
|
||||
// Use of this source code is governed by an Apache2
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package schemas
|
||||
|
||||
import (
|
||||
"embed"
|
||||
)
|
||||
|
||||
// FS contains the known schemas for OPA's Authorization Policy etc.
|
||||
// "authorizationPolicy.json" contains the input schema for OPA's Authorization Policy
|
||||
//
|
||||
//go:embed *.json
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user