Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
@@ -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
View 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