Skip to content

test_rule

Test rule logic against sample context without persisting a rule.

{
"properties": {
"actions": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Actions",
"type": "array"
},
"application_id": {
"title": "Application Id",
"type": "string"
},
"condition": {
"additionalProperties": true,
"title": "Condition",
"type": "object"
},
"context": {
"additionalProperties": true,
"title": "Context",
"type": "object"
}
},
"required": [
"application_id",
"condition",
"actions",
"context"
],
"title": "test_ruleArguments",
"type": "object"
}
{
"properties": {
"log": {
"items": {
"type": "string"
},
"title": "Log",
"type": "array"
},
"matched": {
"title": "Matched",
"type": "boolean"
},
"result": {
"additionalProperties": true,
"title": "Result",
"type": "object"
},
"unknown_paths": {
"items": {
"type": "string"
},
"title": "Unknown Paths",
"type": "array"
}
},
"required": [
"matched",
"result",
"log"
],
"title": "TestRuleResponse",
"type": "object"
}