Initial curated ITWorx_MCP_Hub source from 368fba691ea8d23403b4d56b53b5ec670d7c5020
This commit is contained in:
commit
cb5be898ea
663 files changed
+82674
No files matched your search
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "ITWorx MCP Hub Policy",
|
||||
"description": "Declarative policy rule.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"$id": "https://hub.example.com/schemas/policy.schema.json",
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"kind",
|
||||
"metadata",
|
||||
"spec"
|
||||
],
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"const": "hub.example.com/v1alpha1"
|
||||
},
|
||||
"kind": {
|
||||
"const": "Policy"
|
||||
},
|
||||
"metadata": {
|
||||
"$ref": "common.schema.json#/$defs/metadata"
|
||||
},
|
||||
"spec": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"priority",
|
||||
"description",
|
||||
"match",
|
||||
"conditions",
|
||||
"decision",
|
||||
"terminal"
|
||||
],
|
||||
"properties": {
|
||||
"priority": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 100000
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 1000
|
||||
},
|
||||
"match": {
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"type": "object"
|
||||
},
|
||||
"decision": {
|
||||
"enum": [
|
||||
"allow",
|
||||
"allow_if_conditions",
|
||||
"deny",
|
||||
"deny_and_alert",
|
||||
"enforce"
|
||||
]
|
||||
},
|
||||
"terminal": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user