repository
stringclasses 528
values | commit
stringlengths 40
40
| commitDate
timestamp[s] | path
stringlengths 11
149
| repoStars
int64 5
94.9k
| repoLastFetched
stringclasses 528
values | content
stringlengths 48
736k
| license
stringclasses 14
values | language
stringclasses 7
values |
---|---|---|---|---|---|---|---|---|
Binkic/Reciter | 74c5418da66b3278fe25659848a2b933a4dcbba8 | 2020-03-09T07:22:49 | universal/schema.json | 62 | 2024-05-28T04:19:27.072541Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"repositories": {
"items": {
"properties": {
"author": {
"title": "\u4f5c\u8005",
"type": "string"
},
"comprehensions": {
"items": {
"properties": {
"answer": {
"$ref": "https://reciter.binkic.com/comprehensions/schema.json#/properties/comprehensions/items/properties/answer"
},
"content": {
"$ref": "https://reciter.binkic.com/comprehensions/schema.json#/properties/comprehensions/items/properties/content"
}
},
"required": [
"content",
"answer"
],
"title": "\u5355\u6761\u7406\u89e3\u6027\u9ed8\u5199\u9898\u76ee",
"type": "object"
},
"title": "\u7406\u89e3\u6027\u9ed8\u5199\u9898\u5e93",
"type": "array"
},
"normal": {
"$ref": "https://reciter.binkic.com/normal/schema.json#/properties/poems/items/properties/content"
},
"source": {
"title": "\u6765\u6e90",
"type": "string"
},
"title": {
"title": "\u6807\u9898",
"type": "string"
}
},
"required": [
"title",
"normal"
],
"title": "\u5355\u7bc7\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u901a\u7528\u9898\u5e93",
"type": "object"
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u901a\u7528\u9898\u5e93\u7ec4",
"type": "array"
}
},
"required": [
"repositories"
],
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u901a\u7528\u9898\u5e93",
"type": "object"
} | MIT | zh |
Binkic/Reciter | 74c5418da66b3278fe25659848a2b933a4dcbba8 | 2020-03-09T07:22:49 | normal/schema.json | 62 | 2024-05-28T04:19:27.072541Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"poems": {
"items": {
"properties": {
"author": {
"title": "\u4f5c\u8005",
"type": "string"
},
"content": {
"items": {
"description": "\u51fa\u9898\u7684\u6700\u5c0f\u5355\u4f4d",
"items": {
"description": "\u6316\u7a7a\u7684\u6700\u5c0f\u5355\u4f4d",
"else": {
"else": {
"const": "\u6bcf\u4e00\u4e2a\u5355\u5143\u4ec5\u80fd\u4e3a\u5b57\u7b26\u4e32\u6216\u5b57\u7b26\u4e32\u6570\u7ec4\u3002"
},
"if": {
"type": "array"
},
"then": {
"items": {
"description": "\u6316\u7a7a\u7684\u6700\u5c0f\u5355\u4f4d",
"pattern": "^[\u4e00-\u9fa5]+$",
"title": "\u4e00\u4e2a\u591a\u7248\u672c\"\u5355\u5143\"",
"type": "string"
}
}
},
"if": {
"type": "string"
},
"then": {
"pattern": "^[\u4e00-\u9fa5]+$"
},
"title": "\u4e00\u4e2a\"\u5355\u5143\""
},
"title": "\"\u4e00\u53e5\"",
"type": "array"
},
"title": "\u53e4\u8bd7\u8bcd\u6b63\u6587",
"type": "array"
},
"source": {
"title": "\u6765\u6e90",
"type": "string"
},
"title": {
"title": "\u6807\u9898",
"type": "string"
}
},
"required": [
"title",
"content"
],
"title": "\u4e00\u7bc7\u53e4\u8bd7\u6587\u9ed8\u5199\u6316\u7a7a\u9898\u5e93\u5b9a\u4e49",
"type": "object"
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u6316\u7a7a\u9898\u5e93\u7ec4",
"type": "array"
}
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u6316\u7a7a\u9898\u5e93",
"type": "object"
} | MIT | zh |
Binkic/Reciter | 76c0914e7d74d2b45fea079db01ec8b81c801a4b | 2020-03-08T13:30:16 | normal/schema.json | 62 | 2024-05-28T04:19:27.072541Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"poems": {
"items": {
"properties": {
"author": {
"title": "\u4f5c\u8005",
"type": "string"
},
"content": {
"items": {
"description": "\u51fa\u9898\u7684\u6700\u5c0f\u5355\u4f4d",
"items": {
"description": "\u6316\u7a7a\u7684\u6700\u5c0f\u5355\u4f4d",
"else": {
"else": {
"const": "\u6bcf\u4e00\u4e2a\u5355\u5143\u4ec5\u80fd\u4e3a\u5b57\u7b26\u4e32\u6216\u5b57\u7b26\u4e32\u6570\u7ec4\u3002"
},
"if": {
"type": "array"
},
"then": {
"items": {
"description": "\u6316\u7a7a\u7684\u6700\u5c0f\u5355\u4f4d",
"pattern": "^[\u4e00-\u9fa5]+$",
"title": "\u4e00\u4e2a\u591a\u7248\u672c\"\u5355\u5143\"",
"type": "string"
}
}
},
"if": {
"type": "string"
},
"then": {
"pattern": "^[\u4e00-\u9fa5]+$"
},
"title": "\u4e00\u4e2a\"\u5355\u5143\""
},
"title": "\"\u4e00\u53e5\"",
"type": "array"
},
"title": "\u53e4\u8bd7\u8bcd\u6b63\u6587",
"type": "array"
},
"source": {
"title": "\u6765\u6e90",
"type": "string"
},
"title": {
"title": "\u6807\u9898",
"type": "string"
}
},
"required": [
"title",
"content"
],
"title": "\u4e00\u7bc7\u53e4\u8bd7\u6587\u9ed8\u5199\u6316\u7a7a\u9898\u5e93\u5b9a\u4e49",
"type": "object"
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u6316\u7a7a\u9898\u5e93\u7ec4",
"type": "array"
}
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u6316\u7a7a\u9898\u5e93",
"type": "object"
} | MIT | zh |
Binkic/Reciter | abaddd88fece217957ae257116b5e1472f56ee17 | 2020-03-09T06:40:32 | comprehensions/schema.json | 62 | 2024-05-28T04:19:27.072541Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"comprehensions": {
"items": {
"properties": {
"answer": {
"description": "\u672c\u9898\u7684\u7b54\u6848",
"items": {
"else": {
"else": {
"const": "\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206\u4ec5\u80fd\u4e3a\u5b57\u7b26\u4e32\u6216\u5b57\u7b26\u4e32\u6570\u7ec4\u3002"
},
"if": {
"type": "array"
},
"then": {
"items": {
"pattern": "^[\u4e00-\u9fa5]+$",
"title": "\u5177\u6709\u591a\u4e2a\u7248\u672c\u7684\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206",
"type": "string"
}
}
},
"if": {
"type": "string"
},
"then": {
"pattern": "^[\u4e00-\u9fa5]+$"
},
"title": "\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206"
},
"title": "\u7b54\u6848",
"type": "array"
},
"author": {
"title": "\u4f5c\u8005",
"type": "string"
},
"content": {
"title": "\u9898\u76ee",
"type": "string"
},
"source": {
"title": "\u6765\u6e90",
"type": "string"
},
"title": {
"title": "\u6807\u9898",
"type": "string"
}
},
"required": [
"title",
"content",
"answer"
],
"title": "\u4e00\u6761\u53e4\u8bd7\u6587\u7406\u89e3\u6027\u9ed8\u5199\u9898\u76ee\u5b9a\u4e49",
"type": "object"
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u7406\u89e3\u6027\u9ed8\u5199\u9898\u5e93\u7ec4",
"type": "array"
}
},
"require": [
"comprehensions"
],
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u7406\u89e3\u6027\u9ed8\u5199\u9898\u5e93",
"type": "object"
} | MIT | zh |
Binkic/Reciter | 74c5418da66b3278fe25659848a2b933a4dcbba8 | 2020-03-09T07:22:49 | comprehensions/schema.json | 62 | 2024-05-28T04:19:27.072541Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"comprehensions": {
"items": {
"properties": {
"answer": {
"description": "\u672c\u9898\u7684\u7b54\u6848",
"items": {
"else": {
"else": {
"const": "\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206\u4ec5\u80fd\u4e3a\u5b57\u7b26\u4e32\u6216\u5b57\u7b26\u4e32\u6570\u7ec4\u3002"
},
"if": {
"type": "array"
},
"then": {
"items": {
"pattern": "^[\u4e00-\u9fa5]+$",
"title": "\u5177\u6709\u591a\u4e2a\u7248\u672c\u7684\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206",
"type": "string"
}
}
},
"if": {
"type": "string"
},
"then": {
"pattern": "^[\u4e00-\u9fa5]+$"
},
"title": "\u7b54\u6848\u7684\u7ec4\u6210\u90e8\u5206"
},
"title": "\u7b54\u6848",
"type": "array"
},
"author": {
"title": "\u4f5c\u8005",
"type": "string"
},
"content": {
"title": "\u9898\u76ee",
"type": "string"
},
"source": {
"title": "\u6765\u6e90",
"type": "string"
},
"title": {
"title": "\u6807\u9898",
"type": "string"
}
},
"required": [
"title",
"content",
"answer"
],
"title": "\u4e00\u6761\u53e4\u8bd7\u6587\u7406\u89e3\u6027\u9ed8\u5199\u9898\u76ee\u5b9a\u4e49",
"type": "object"
},
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u7406\u89e3\u6027\u9ed8\u5199\u9898\u5e93\u7ec4",
"type": "array"
}
},
"require": [
"comprehensions"
],
"title": "\u53e4\u8bd7\u6587\u9ed8\u5199\u9898\u5e93\u7406\u89e3\u6027\u9ed8\u5199\u9898\u5e93",
"type": "object"
} | MIT | zh |
newrelic/nri-rabbitmq | 73925c258149ee908b4fc61944b6e14f3d38a6fc | 2022-07-14T07:03:28 | tests/testdata/rabbitmq-schema.json | 9 | 2024-05-29T08:59:16.417862Z | {
"$id": "http://example.com/example.json",
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": true,
"default": {},
"description": "The root schema comprises the entire JSON document.",
"examples": [
{
"data": [
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "rabbit@2abbf237037c",
"type": "ra-node"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "rabbit@2abbf237037c",
"entityName": "node:rabbit@2abbf237037c",
"event_type": "RabbitmqNodeSample",
"node.averageErlangProcessesWaiting": 1,
"node.diskAlarm": 0,
"node.diskSpaceFreeInBytes": 78779854848,
"node.fileDescriptorsTotal": 1048576,
"node.fileDescriptorsTotalSockets": 943629,
"node.fileDescriptorsTotalUsed": 95,
"node.fileDescriptorsUsedSockets": 0,
"node.hostMemoryAlarm": 0,
"node.partitionsSeen": 0,
"node.processesTotal": 1048576,
"node.processesUsed": 405,
"node.running": 1,
"node.totalMemoryUsedInBytes": 122597376,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.default",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "direct"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.default",
"entityName": "exchange:/amq.default",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.direct",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "direct"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.direct",
"entityName": "exchange:/amq.direct",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.fanout",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "fanout"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.fanout",
"entityName": "exchange:/amq.fanout",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.headers",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "headers"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.headers",
"entityName": "exchange:/amq.headers",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.match",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "headers"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.match",
"entityName": "exchange:/amq.match",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.rabbitmq.trace",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "topic"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.rabbitmq.trace",
"entityName": "exchange:/amq.rabbitmq.trace",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.topic",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "topic"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.topic",
"entityName": "exchange:/amq.topic",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
}
],
"integration_version": "0.0.0",
"name": "com.newrelic.rabbitmq",
"protocol_version": "3"
}
],
"properties": {
"data": {
"$id": "#/properties/data",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "rabbit@2abbf237037c",
"type": "ra-node"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "rabbit@2abbf237037c",
"entityName": "node:rabbit@2abbf237037c",
"event_type": "RabbitmqNodeSample",
"node.averageErlangProcessesWaiting": 1,
"node.diskAlarm": 0,
"node.diskSpaceFreeInBytes": 78779854848,
"node.fileDescriptorsTotal": 1048576,
"node.fileDescriptorsTotalSockets": 943629,
"node.fileDescriptorsTotalUsed": 95,
"node.fileDescriptorsUsedSockets": 0,
"node.hostMemoryAlarm": 0,
"node.partitionsSeen": 0,
"node.processesTotal": 1048576,
"node.processesUsed": 405,
"node.running": 1,
"node.totalMemoryUsedInBytes": 122597376,
"reportingEndpoint": "rabbitmq:15672"
}
]
}
]
],
"items": {
"$id": "#/properties/data/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
}
],
"properties": {
"entity": {
"$id": "#/properties/data/items/anyOf/0/properties/entity",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
}
],
"properties": {
"id_attributes": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"properties": {
"Key": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0/properties/Key",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"clusterName"
],
"title": "The Key schema",
"type": "string"
},
"Value": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0/properties/Value",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbit@2abbf237037c"
],
"title": "The Value schema",
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The id_attributes schema",
"type": "array"
},
"name": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/name",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"/"
],
"title": "The name schema",
"type": "string"
},
"type": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/type",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"ra-vhost"
],
"title": "The type schema",
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"title": "The entity schema",
"type": "object"
},
"events": {
"$id": "#/properties/data/items/anyOf/0/properties/events",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/events/items"
},
"title": "The events schema",
"type": "array"
},
"inventory": {
"$id": "#/properties/data/items/anyOf/0/properties/inventory",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{}
],
"required": [],
"title": "The inventory schema",
"type": "object"
},
"metrics": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
],
"properties": {
"clusterName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/clusterName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbit@2abbf237037c"
],
"title": "The clusterName schema",
"type": "string"
},
"displayName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/displayName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"/"
],
"title": "The displayName schema",
"type": "string"
},
"entityName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/entityName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"vhost:/"
],
"title": "The entityName schema",
"type": "string"
},
"event_type": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/event_type",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"RabbitmqVhostSample"
],
"title": "The event_type schema",
"type": "string"
},
"reportingEndpoint": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/reportingEndpoint",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbitmq:15672"
],
"title": "The reportingEndpoint schema",
"type": "string"
},
"vhost.connectionsBlocked": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsBlocked",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsBlocked schema",
"type": "integer"
},
"vhost.connectionsBlocking": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsBlocking",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsBlocking schema",
"type": "integer"
},
"vhost.connectionsClosed": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsClosed",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsClosed schema",
"type": "integer"
},
"vhost.connectionsClosing": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsClosing",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsClosing schema",
"type": "integer"
},
"vhost.connectionsFlow": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsFlow",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsFlow schema",
"type": "integer"
},
"vhost.connectionsOpening": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsOpening",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsOpening schema",
"type": "integer"
},
"vhost.connectionsRunning": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsRunning",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsRunning schema",
"type": "integer"
},
"vhost.connectionsStarting": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsStarting",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsStarting schema",
"type": "integer"
},
"vhost.connectionsTotal": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsTotal",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsTotal schema",
"type": "integer"
},
"vhost.connectionsTuning": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsTuning",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsTuning schema",
"type": "integer"
}
},
"required": [
"clusterName",
"displayName",
"entityName",
"event_type",
"reportingEndpoint",
"vhost.connectionsBlocked",
"vhost.connectionsBlocking",
"vhost.connectionsClosed",
"vhost.connectionsClosing",
"vhost.connectionsFlow",
"vhost.connectionsOpening",
"vhost.connectionsRunning",
"vhost.connectionsStarting",
"vhost.connectionsTotal",
"vhost.connectionsTuning"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The metrics schema",
"type": "array"
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The data schema",
"type": "array"
},
"integration_version": {
"$id": "#/properties/integration_version",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"0.0.0"
],
"title": "The integration_version schema",
"type": "string"
},
"name": {
"$id": "#/properties/name",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"com.newrelic.rabbitmq"
],
"title": "The name schema",
"type": "string"
},
"protocol_version": {
"$id": "#/properties/protocol_version",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"3"
],
"title": "The protocol_version schema",
"type": "string"
}
},
"required": [
"name",
"protocol_version",
"integration_version",
"data"
],
"title": "The root schema",
"type": "object"
} | MIT | en |
newrelic/nri-rabbitmq | 1f7219ff6db99d17b33775476f546c467ad125f8 | 2023-02-20T14:08:18 | tests/testdata/rabbitmq-schema.json | 9 | 2024-05-29T08:59:16.417862Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"data": {
"items": [
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {},
"required": [],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
},
"vhost.connectionsBlocked": {
"type": "integer"
},
"vhost.connectionsBlocking": {
"type": "integer"
},
"vhost.connectionsClosed": {
"type": "integer"
},
"vhost.connectionsClosing": {
"type": "integer"
},
"vhost.connectionsFlow": {
"type": "integer"
},
"vhost.connectionsOpening": {
"type": "integer"
},
"vhost.connectionsRunning": {
"type": "integer"
},
"vhost.connectionsStarting": {
"type": "integer"
},
"vhost.connectionsTotal": {
"type": "integer"
},
"vhost.connectionsTuning": {
"type": "integer"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"rabbitmqClusterName",
"reportingEndpoint",
"vhost.connectionsBlocked",
"vhost.connectionsBlocking",
"vhost.connectionsClosed",
"vhost.connectionsClosing",
"vhost.connectionsFlow",
"vhost.connectionsOpening",
"vhost.connectionsRunning",
"vhost.connectionsStarting",
"vhost.connectionsTotal",
"vhost.connectionsTuning"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {},
"required": [],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"node.averageErlangProcessesWaiting": {
"type": "integer"
},
"node.diskAlarm": {
"type": "integer"
},
"node.diskSpaceFreeInBytes": {
"type": "integer"
},
"node.fileDescriptorsTotal": {
"type": "integer"
},
"node.fileDescriptorsTotalSockets": {
"type": "integer"
},
"node.fileDescriptorsTotalUsed": {
"type": "integer"
},
"node.fileDescriptorsUsedSockets": {
"type": "integer"
},
"node.hostMemoryAlarm": {
"type": "integer"
},
"node.partitionsSeen": {
"type": "integer"
},
"node.processesTotal": {
"type": "integer"
},
"node.processesUsed": {
"type": "integer"
},
"node.running": {
"type": "integer"
},
"node.totalMemoryUsedInBytes": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"node.averageErlangProcessesWaiting",
"node.diskAlarm",
"node.diskSpaceFreeInBytes",
"node.fileDescriptorsTotal",
"node.fileDescriptorsTotalSockets",
"node.fileDescriptorsTotalUsed",
"node.fileDescriptorsUsedSockets",
"node.hostMemoryAlarm",
"node.partitionsSeen",
"node.processesTotal",
"node.processesUsed",
"node.running",
"node.totalMemoryUsedInBytes",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
},
{
"properties": {
"entity": {
"properties": {
"id_attributes": {
"items": {
"properties": {
"Key": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"type": "object"
},
"events": {
"items": {},
"type": "array",
"uniqueItems": false
},
"inventory": {
"properties": {
"exchange/auto_delete": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/durable": {
"properties": {
"value": {
"type": "integer"
}
},
"required": [
"value"
],
"type": "object"
},
"exchange/type": {
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"exchange/auto_delete",
"exchange/durable",
"exchange/type"
],
"type": "object"
},
"metrics": {
"items": {
"properties": {
"displayName": {
"type": "string"
},
"entityName": {
"type": "string"
},
"event_type": {
"type": "string"
},
"exchange.bindings": {
"type": "integer"
},
"rabbitmqClusterName": {
"type": "string"
},
"reportingEndpoint": {
"type": "string"
}
},
"required": [
"displayName",
"entityName",
"event_type",
"exchange.bindings",
"rabbitmqClusterName",
"reportingEndpoint"
],
"type": "object"
},
"type": "array",
"uniqueItems": false
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"type": "object"
}
],
"type": "array",
"uniqueItems": false
},
"integration_version": {
"minLength": 1,
"pattern": "^[0-9]+.[0-9]+.[0-9]+$",
"type": "string"
},
"name": {
"minLength": 1,
"pattern": "^com.newrelic.rabbitmq$",
"type": "string"
},
"protocol_version": {
"minLength": 1,
"pattern": "^3$",
"type": "string"
}
},
"required": [
"name",
"protocol_version",
"integration_version",
"data"
],
"type": "object"
} | MIT | en |
newrelic/nri-rabbitmq | baefe8fcb738183dd6acfc7eb98f7622adad60a7 | 2021-05-07T13:09:54 | tests/testdata/rabbitmq-schema.json | 9 | 2024-05-29T08:59:16.417862Z | {
"$id": "http://example.com/example.json",
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": true,
"default": {},
"description": "The root schema comprises the entire JSON document.",
"examples": [
{
"data": [
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "rabbit@2abbf237037c",
"type": "ra-node"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "rabbit@2abbf237037c",
"entityName": "node:rabbit@2abbf237037c",
"event_type": "RabbitmqNodeSample",
"node.averageErlangProcessesWaiting": 1,
"node.diskAlarm": 0,
"node.diskSpaceFreeInBytes": 78779854848,
"node.fileDescriptorsTotal": 1048576,
"node.fileDescriptorsTotalSockets": 943629,
"node.fileDescriptorsTotalUsed": 95,
"node.fileDescriptorsUsedSockets": 0,
"node.hostMemoryAlarm": 0,
"node.partitionsSeen": 0,
"node.processesTotal": 1048576,
"node.processesUsed": 405,
"node.running": 1,
"node.totalMemoryUsedInBytes": 122597376,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.default",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "direct"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.default",
"entityName": "exchange:/amq.default",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.direct",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "direct"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.direct",
"entityName": "exchange:/amq.direct",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.fanout",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "fanout"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.fanout",
"entityName": "exchange:/amq.fanout",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.headers",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "headers"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.headers",
"entityName": "exchange:/amq.headers",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.match",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "headers"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.match",
"entityName": "exchange:/amq.match",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.rabbitmq.trace",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "topic"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.rabbitmq.trace",
"entityName": "exchange:/amq.rabbitmq.trace",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/amq.topic",
"type": "ra-exchange"
},
"events": [],
"inventory": {
"exchange/auto_delete": {
"value": 0
},
"exchange/durable": {
"value": 1
},
"exchange/type": {
"value": "topic"
}
},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/amq.topic",
"entityName": "exchange:/amq.topic",
"event_type": "RabbitmqExchangeSample",
"exchange.bindings": 0,
"reportingEndpoint": "rabbitmq:15672"
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "rabbit@2abbf237037c",
"type": "ra-cluster"
},
"events": [],
"inventory": {
"version/management": {
"value": "3.8.16"
},
"version/rabbitmq": {
"value": "3.8.16"
}
},
"metrics": []
}
],
"integration_version": "0.0.0",
"name": "com.newrelic.rabbitmq",
"protocol_version": "3"
}
],
"properties": {
"data": {
"$id": "#/properties/data",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
},
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "rabbit@2abbf237037c",
"type": "ra-node"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "rabbit@2abbf237037c",
"entityName": "node:rabbit@2abbf237037c",
"event_type": "RabbitmqNodeSample",
"node.averageErlangProcessesWaiting": 1,
"node.diskAlarm": 0,
"node.diskSpaceFreeInBytes": 78779854848,
"node.fileDescriptorsTotal": 1048576,
"node.fileDescriptorsTotalSockets": 943629,
"node.fileDescriptorsTotalUsed": 95,
"node.fileDescriptorsUsedSockets": 0,
"node.hostMemoryAlarm": 0,
"node.partitionsSeen": 0,
"node.processesTotal": 1048576,
"node.processesUsed": 405,
"node.running": 1,
"node.totalMemoryUsedInBytes": 122597376,
"reportingEndpoint": "rabbitmq:15672"
}
]
}
]
],
"items": {
"$id": "#/properties/data/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"entity": {
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
},
"events": [],
"inventory": {},
"metrics": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
}
],
"properties": {
"entity": {
"$id": "#/properties/data/items/anyOf/0/properties/entity",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"id_attributes": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"name": "/",
"type": "ra-vhost"
}
],
"properties": {
"id_attributes": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"Key": "clusterName",
"Value": "rabbit@2abbf237037c"
}
],
"properties": {
"Key": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0/properties/Key",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"clusterName"
],
"title": "The Key schema",
"type": "string"
},
"Value": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/id_attributes/items/anyOf/0/properties/Value",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbit@2abbf237037c"
],
"title": "The Value schema",
"type": "string"
}
},
"required": [
"Key",
"Value"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The id_attributes schema",
"type": "array"
},
"name": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/name",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"/"
],
"title": "The name schema",
"type": "string"
},
"type": {
"$id": "#/properties/data/items/anyOf/0/properties/entity/properties/type",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"ra-vhost"
],
"title": "The type schema",
"type": "string"
}
},
"required": [
"name",
"type",
"id_attributes"
],
"title": "The entity schema",
"type": "object"
},
"events": {
"$id": "#/properties/data/items/anyOf/0/properties/events",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/events/items"
},
"title": "The events schema",
"type": "array"
},
"inventory": {
"$id": "#/properties/data/items/anyOf/0/properties/inventory",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{}
],
"required": [],
"title": "The inventory schema",
"type": "object"
},
"metrics": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics",
"additionalItems": true,
"default": [],
"description": "An explanation about the purpose of this instance.",
"examples": [
[
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
]
],
"items": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items",
"anyOf": [
{
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0",
"additionalProperties": true,
"default": {},
"description": "An explanation about the purpose of this instance.",
"examples": [
{
"clusterName": "rabbit@2abbf237037c",
"displayName": "/",
"entityName": "vhost:/",
"event_type": "RabbitmqVhostSample",
"reportingEndpoint": "rabbitmq:15672",
"vhost.connectionsBlocked": 0,
"vhost.connectionsBlocking": 0,
"vhost.connectionsClosed": 0,
"vhost.connectionsClosing": 0,
"vhost.connectionsFlow": 0,
"vhost.connectionsOpening": 0,
"vhost.connectionsRunning": 0,
"vhost.connectionsStarting": 0,
"vhost.connectionsTotal": 0,
"vhost.connectionsTuning": 0
}
],
"properties": {
"clusterName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/clusterName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbit@2abbf237037c"
],
"title": "The clusterName schema",
"type": "string"
},
"displayName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/displayName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"/"
],
"title": "The displayName schema",
"type": "string"
},
"entityName": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/entityName",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"vhost:/"
],
"title": "The entityName schema",
"type": "string"
},
"event_type": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/event_type",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"RabbitmqVhostSample"
],
"title": "The event_type schema",
"type": "string"
},
"reportingEndpoint": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/reportingEndpoint",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"rabbitmq:15672"
],
"title": "The reportingEndpoint schema",
"type": "string"
},
"vhost.connectionsBlocked": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsBlocked",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsBlocked schema",
"type": "integer"
},
"vhost.connectionsBlocking": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsBlocking",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsBlocking schema",
"type": "integer"
},
"vhost.connectionsClosed": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsClosed",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsClosed schema",
"type": "integer"
},
"vhost.connectionsClosing": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsClosing",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsClosing schema",
"type": "integer"
},
"vhost.connectionsFlow": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsFlow",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsFlow schema",
"type": "integer"
},
"vhost.connectionsOpening": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsOpening",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsOpening schema",
"type": "integer"
},
"vhost.connectionsRunning": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsRunning",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsRunning schema",
"type": "integer"
},
"vhost.connectionsStarting": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsStarting",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsStarting schema",
"type": "integer"
},
"vhost.connectionsTotal": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsTotal",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsTotal schema",
"type": "integer"
},
"vhost.connectionsTuning": {
"$id": "#/properties/data/items/anyOf/0/properties/metrics/items/anyOf/0/properties/vhost.connectionsTuning",
"default": 0,
"description": "An explanation about the purpose of this instance.",
"examples": [
0
],
"title": "The vhost.connectionsTuning schema",
"type": "integer"
}
},
"required": [
"clusterName",
"displayName",
"entityName",
"event_type",
"reportingEndpoint",
"vhost.connectionsBlocked",
"vhost.connectionsBlocking",
"vhost.connectionsClosed",
"vhost.connectionsClosing",
"vhost.connectionsFlow",
"vhost.connectionsOpening",
"vhost.connectionsRunning",
"vhost.connectionsStarting",
"vhost.connectionsTotal",
"vhost.connectionsTuning"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The metrics schema",
"type": "array"
}
},
"required": [
"entity",
"metrics",
"inventory",
"events"
],
"title": "The first anyOf schema",
"type": "object"
}
]
},
"title": "The data schema",
"type": "array"
},
"integration_version": {
"$id": "#/properties/integration_version",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"0.0.0"
],
"title": "The integration_version schema",
"type": "string"
},
"name": {
"$id": "#/properties/name",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"com.newrelic.rabbitmq"
],
"title": "The name schema",
"type": "string"
},
"protocol_version": {
"$id": "#/properties/protocol_version",
"default": "",
"description": "An explanation about the purpose of this instance.",
"examples": [
"3"
],
"title": "The protocol_version schema",
"type": "string"
}
},
"required": [
"name",
"protocol_version",
"integration_version",
"data"
],
"title": "The root schema",
"type": "object"
} | MIT | en |
IBM/vscode-ibmi-projectexplorer | d28b6dbe7c27430c925c6de8901903c43c7f471e | 2024-03-22T22:06:07 | schema/ibmi.schema.json | 20 | 2024-05-27T09:05:14.942414Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"build": {
"defaultSnippets": [
{
"body": {
"objlib": "$1",
"tgtCcsid": "${2:*JOB}"
},
"description": "Build options",
"label": "build"
}
],
"description": "Build options",
"properties": {
"objlib": {
"description": "Objects created by building source in this directory will be put into the `objlib` library (can contain references to named libraries).\n - If not specified, `*CURLIB` is used as the `objlib`.",
"markdownDescription": "Objects created by building source in this directory will be put into the `objlib` library. (can contain references to named libraries)\n - If not specified, `*CURLIB` is used as the `objlib`.",
"type": "string"
},
"tgtCcsid": {
"description": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"markdownDescription": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"type": "string"
}
},
"type": "object"
},
"version": {
"type": "string"
}
},
"required": [
"build"
],
"type": "object"
} | Apache-2.0 | en |
IBM/vscode-ibmi-projectexplorer | 73fb92d708ae2b8b437a23ca6e62a6683d8ff890 | 2023-06-26T20:27:40 | schema/iproj.schema.json | 20 | 2024-05-27T09:05:14.942414Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"buildCommand": {
"description": "PASE command line used to build this entire project. The following substitution variables are supported:\n {path} resolves to the full IFS path corresponding to the source in the editor.\n {host} resolves to the IBM i hostname.\n {usrprf} the user profile that the command will be executed under.\n {branch} resolves to the name of the current git branch if this project is managed by git.",
"type": "string"
},
"compileCommand": {
"description": "PASE command line used to compile a specific source file in this project. The following substitution variables are supported:\n {files} resolves to the list of files being selected or the active editor.\n {path} resolves to the full IFS path corresponding to the source in the editor.\n {host} resolves to the IBM i hostname.\n {usrprf} the user profile that the command will be executed under.\n {branch} resolves to the name of the current git branch if this project is managed by git.",
"type": "string"
},
"curlib": {
"description": "Library that is CURLIB in the LIBL for project's connection. Note that if objlib is not specified, then this will also serve as the objlib",
"type": "string"
},
"description": {
"description": "Descriptive application name",
"type": "string"
},
"extensions": {
"description": "Attributes used by external software vendors to provide additional functionality",
"items": {
"type": "object"
},
"type": "object"
},
"iasp": {
"description": "Setting the current IASP allows this project access to a set of libraries and directories. IASP is a collection of disk units that can be brought on-line or taken off-line independently from the remaining storage on a system, including the system ASP, basic user ASPs, and other independent ASPs.",
"type": "string"
},
"includePath": {
"description": "Directories to be searched for includes/copy file (can contain variable references)",
"items": {
"type": "string"
},
"type": "array"
},
"license": {
"description": "Licensing terms for this project",
"type": "string"
},
"objlib": {
"description": "Target library for compiled objects (if not specified defaults to *CURLIB)",
"type": "string"
},
"postUsrlibl": {
"description": "Libraries to add at the end of the user portion of the LIBL (can contain references to named libraries)",
"items": {
"type": "string"
},
"type": "array"
},
"preUsrlibl": {
"description": "Libraries to add at the beginning of the user portion of the LIBL (can contain references to named libraries)",
"items": {
"type": "string"
},
"type": "array"
},
"repository": {
"description": "URL of repository of this projects home",
"type": "string"
},
"setIBMiEnvCmd": {
"description": "List of CL commands to be executed whenever this project connects to the IBM i. Typically this involves LIBL, ENVVAR and iASP setup.",
"items": {
"type": "string"
},
"type": "array"
},
"sql": {
"description": "The properties specified when connecting to DB2 for IBM i using JDBC",
"properties": {
"currentPath": {
"description": "The system uses this path to resolve the schema name for unqualified types, functions, variables, and procedures",
"items": {
"type": "string"
},
"type": "array"
},
"defaultSchema": {
"description": "The system uses this SQL schema to resolve unqualified names in SQL statements",
"type": "string"
},
"naming": {
"description": "Specifies the naming convention used when referring to tables",
"enum": [
"sql",
"system"
],
"type": "string"
}
},
"type": "object"
},
"version": {
"description": "Version of this file format, used for migration purposes",
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
IBM/vscode-ibmi-projectexplorer | 7d1b5d61cec9c194bbb3ecffd4d7742f8b976185 | 2023-07-05T15:37:28 | schema/ibmi.schema.json | 20 | 2024-05-27T09:05:14.942414Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"build": {
"defaultSnippets": [
{
"body": {
"objlib": "$1",
"tgtCcsid": "${2:*JOB}"
},
"description": "Build options",
"label": "build"
}
],
"description": "Build options",
"properties": {
"objlib": {
"description": "Objects created by building source in this directory will be put into the `objlib` library (can contain references to named libraries).\n - If not specified, `*CURLIB` is used as the `objlib`.",
"markdownDescription": "Objects created by building source in this directory will be put into the `objlib` library. (can contain references to named libraries)\n - If not specified, `*CURLIB` is used as the `objlib`.",
"type": "string"
},
"tgtCcsid": {
"description": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"markdownDescription": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"type": "string"
}
},
"type": "object"
},
"version": {
"type": "string"
}
},
"required": [
"version",
"build"
],
"type": "object"
} | Apache-2.0 | en |
IBM/vscode-ibmi-projectexplorer | 7d1b5d61cec9c194bbb3ecffd4d7742f8b976185 | 2023-07-05T15:37:28 | schema/iproj.schema.json | 20 | 2024-05-27T09:05:14.942414Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"buildCommand": {
"description": "PASE command line used to build this entire project. The following substitution variables are supported:\n {filename} resolves to the base file name being edited.\n {path} resolves to the full IFS path corresponding to the source in the editor.\n {host} resolves to the IBM i hostname.\n {usrprf} the user profile that the command will be executed under.\n {branch} resolves to the name of the current git branch if this project is managed by git.",
"type": "string"
},
"compileCommand": {
"description": "PASE command line used to compile a specific source file in this project. The following substitution variables are supported:\n {filename} resolves to the base file name being edited.\n {files} resolves to the list of files being selected or the active editor.\n {path} resolves to the full IFS path corresponding to the source in the editor.\n {host} resolves to the IBM i hostname.\n {usrprf} the user profile that the command will be executed under.\n {branch} resolves to the name of the current git branch if this project is managed by git.",
"type": "string"
},
"curlib": {
"description": "Library that is CURLIB in the LIBL for project's connection (can contain references to named libraries). If the objlib is not specified, then this will also serve as the objlib",
"type": "string"
},
"description": {
"description": "Descriptive application name",
"type": "string"
},
"extensions": {
"description": "Attributes used by external software vendors to provide additional functionality",
"items": {
"type": "object"
},
"type": "object"
},
"includePath": {
"description": "Directories to be searched for includes/copy file (can contain references to named directories)",
"items": {
"type": "string"
},
"type": "array"
},
"license": {
"description": "Licensing terms for this project",
"type": "string"
},
"objlib": {
"description": "Target library for compiled objects (can contain references to named libraries). If not specified defaults to *CURLIB",
"type": "string"
},
"postUsrlibl": {
"description": "Libraries to add at the end of the user portion of the LIBL (can contain references to named libraries)",
"items": {
"type": "string"
},
"type": "array"
},
"preUsrlibl": {
"description": "Libraries to add at the beginning of the user portion of the LIBL (can contain references to named libraries)",
"items": {
"type": "string"
},
"type": "array"
},
"repository": {
"description": "URL of repository of this projects home",
"type": "string"
},
"setIBMiEnvCmd": {
"description": "List of CL commands to be executed whenever this project connects to the IBM i (typically this involves LIBL, ENVVAR and iASP setup)",
"items": {
"type": "string"
},
"type": "array"
},
"version": {
"description": "Version of this file format, used for migration purposes",
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
IBM/vscode-ibmi-projectexplorer | 73fb92d708ae2b8b437a23ca6e62a6683d8ff890 | 2023-06-26T20:27:40 | schema/ibmi.schema.json | 20 | 2024-05-27T09:05:14.942414Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"build": {
"defaultSnippets": [
{
"body": {
"objlib": "$1",
"tgtCcsid": "${2:*JOB}"
},
"description": "Build options",
"label": "build"
}
],
"description": "Build options",
"properties": {
"objlib": {
"description": "Objects created by building source in this directory will be put into the `objlib` library.\n - If not specified, `*CURLIB` is used as the `objlib`.",
"markdownDescription": "Objects created by building source in this directory will be put into the `objlib` library.\n - If not specified, `*CURLIB` is used as the `objlib`.",
"type": "string"
},
"tgtCcsid": {
"description": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"markdownDescription": "Value of the `TGTCCSID` to be used when compiling source in this directory.\n - If not specified, `*JOB` is used as the `TGTCCSID`.",
"type": "string"
}
},
"type": "object"
},
"version": {
"type": "string"
}
},
"required": [
"version",
"build"
],
"type": "object"
} | Apache-2.0 | en |
openrewrite/rewrite | 571e3ed518e29595e3adca0183b14fad52a0036e | 2023-11-10T09:58:43 | rewrite-core/openrewrite.json | 1,921 | 2024-05-28T03:30:23.050629Z | {
"$defs": {
"recipe": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"recipeList": {
"items": {
"$ref": "#/$defs/recipe"
},
"type": "array"
},
"style": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"causesAnotherCycle": {
"default": false,
"type": "boolean"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"estimatedEffortPerOccurrence": {
"format": "duration",
"type": "string"
},
"name": {
"type": "string"
},
"preconditions": {
"$ref": "#/$defs/recipeList"
},
"recipeList": {
"$ref": "#/$defs/recipeList"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"packageName": {
"type": "string"
},
"priority": {
"default": 0,
"type": "integer"
},
"root": {
"default": false,
"type": "boolean"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
},
"required": [
"packageName"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"name": {
"type": "string"
},
"styleConfigs": {
"items": {
"$ref": "#/$defs/style"
},
"type": "array"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"recipe": {
"type": "string"
},
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
}
}
],
"description": "Contains OpenRewrite resource descriptors like recipes and styles",
"properties": {
"type": {
"default": "specs.openrewrite.org/v1beta/recipe",
"description": "Identifies the resource type",
"enum": [
"specs.openrewrite.org/v1beta/recipe",
"specs.openrewrite.org/v1beta/style",
"specs.openrewrite.org/v1beta/category",
"specs.openrewrite.org/v1beta/example"
]
}
},
"required": [
"type"
],
"title": "OpenRewrite Resource",
"type": "object"
} | Apache-2.0 | en |
openrewrite/rewrite | 9e80bd89f27796c726cdf4182cfbb3f1ca91d65e | 2024-01-18T02:25:33 | rewrite-core/openrewrite.json | 1,921 | 2024-05-28T03:30:23.050629Z | {
"$defs": {
"recipe": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"recipeList": {
"items": {
"$ref": "#/$defs/recipe"
},
"type": "array"
},
"style": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"estimatedEffortPerOccurrence": {
"format": "duration",
"type": "string"
},
"name": {
"type": "string"
},
"preconditions": {
"$ref": "#/$defs/recipeList"
},
"recipeList": {
"$ref": "#/$defs/recipeList"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"packageName": {
"type": "string"
},
"priority": {
"default": 0,
"type": "integer"
},
"root": {
"default": false,
"type": "boolean"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
},
"required": [
"packageName"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"name": {
"type": "string"
},
"styleConfigs": {
"items": {
"$ref": "#/$defs/style"
},
"type": "array"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"recipe": {
"type": "string"
},
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
}
}
],
"description": "Contains OpenRewrite resource descriptors like recipes and styles",
"properties": {
"type": {
"default": "specs.openrewrite.org/v1beta/recipe",
"description": "Identifies the resource type",
"enum": [
"specs.openrewrite.org/v1beta/recipe",
"specs.openrewrite.org/v1beta/style",
"specs.openrewrite.org/v1beta/category",
"specs.openrewrite.org/v1beta/example"
]
}
},
"required": [
"type"
],
"title": "OpenRewrite Resource",
"type": "object"
} | Apache-2.0 | en |
openrewrite/rewrite | 241e146a8996a917a8a460b27d17136108b3d50a | 2023-02-14T19:02:04 | rewrite-core/openrewrite.json | 1,921 | 2024-05-28T03:30:23.050629Z | {
"$defs": {
"recipe": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"recipeList": {
"items": {
"$ref": "#/$defs/recipe"
},
"type": "array"
},
"style": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"applicability": {
"properties": {
"anySource": {
"$ref": "#/$defs/recipeList"
},
"singleSource": {
"$ref": "#/$defs/recipeList"
}
},
"type": "object"
},
"causesAnotherCycle": {
"default": false,
"type": "boolean"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"estimatedEffortPerOccurrence": {
"format": "duration",
"type": "string"
},
"name": {
"type": "string"
},
"recipeList": {
"$ref": "#/$defs/recipeList"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"packageName": {
"type": "string"
},
"priority": {
"default": 0,
"type": "integer"
},
"root": {
"default": false,
"type": "boolean"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
},
"required": [
"packageName"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"name": {
"type": "string"
},
"styleConfigs": {
"items": {
"$ref": "#/$defs/style"
},
"type": "array"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"recipe": {
"type": "string"
},
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
}
}
],
"description": "Contains OpenRewrite resource descriptors like recipes and styles",
"properties": {
"type": {
"default": "specs.openrewrite.org/v1beta/recipe",
"description": "Identifies the resource type",
"enum": [
"specs.openrewrite.org/v1beta/recipe",
"specs.openrewrite.org/v1beta/style",
"specs.openrewrite.org/v1beta/category",
"specs.openrewrite.org/v1beta/example"
]
}
},
"required": [
"type"
],
"title": "OpenRewrite Resource",
"type": "object"
} | Apache-2.0 | en |
openrewrite/rewrite | fe15bdba4aca5bfe5fdc2c6f7b50ff10c90f6a98 | 2024-01-22T09:58:38 | rewrite-core/openrewrite.json | 1,921 | 2024-05-28T03:30:23.050629Z | {
"$defs": {
"recipe": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"recipeList": {
"items": {
"$ref": "#/$defs/recipe"
},
"type": "array"
},
"style": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"causesAnotherCycle": {
"default": false,
"type": "boolean"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"estimatedEffortPerOccurrence": {
"format": "duration",
"type": "string"
},
"name": {
"type": "string"
},
"preconditions": {
"$ref": "#/$defs/recipeList"
},
"recipeList": {
"$ref": "#/$defs/recipeList"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"packageName": {
"type": "string"
},
"priority": {
"default": 0,
"type": "integer"
},
"root": {
"default": false,
"type": "boolean"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
},
"required": [
"packageName"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"name": {
"type": "string"
},
"styleConfigs": {
"items": {
"$ref": "#/$defs/style"
},
"type": "array"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"recipe": {
"type": "string"
},
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
}
}
],
"description": "Contains OpenRewrite resource descriptors like recipes and styles",
"properties": {
"type": {
"default": "specs.openrewrite.org/v1beta/recipe",
"description": "Identifies the resource type",
"enum": [
"specs.openrewrite.org/v1beta/recipe",
"specs.openrewrite.org/v1beta/style",
"specs.openrewrite.org/v1beta/category",
"specs.openrewrite.org/v1beta/example"
]
}
},
"required": [
"type"
],
"title": "OpenRewrite Resource",
"type": "object"
} | Apache-2.0 | en |
openrewrite/rewrite | 2784386e626d56db9a746632814fbb3f229754da | 2023-06-28T13:35:38 | rewrite-core/openrewrite.json | 1,921 | 2024-05-28T03:30:23.050629Z | {
"$defs": {
"recipe": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"recipeList": {
"items": {
"$ref": "#/$defs/recipe"
},
"type": "array"
},
"style": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"causesAnotherCycle": {
"default": false,
"type": "boolean"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"estimatedEffortPerOccurrence": {
"format": "duration",
"type": "string"
},
"name": {
"type": "string"
},
"recipeList": {
"$ref": "#/$defs/recipeList"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/recipe"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"packageName": {
"type": "string"
},
"priority": {
"default": 0,
"type": "integer"
},
"root": {
"default": false,
"type": "boolean"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/category"
}
},
"required": [
"packageName"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"name": {
"type": "string"
},
"styleConfigs": {
"items": {
"$ref": "#/$defs/style"
},
"type": "array"
},
"tags": {
"$ref": "#/$defs/tags"
},
"type": {
"const": "specs.openrewrite.org/v1beta/style"
}
},
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
},
"then": {
"additionalProperties": false,
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"recipe": {
"type": "string"
},
"type": {
"const": "specs.openrewrite.org/v1beta/example"
}
}
}
}
],
"description": "Contains OpenRewrite resource descriptors like recipes and styles",
"properties": {
"type": {
"default": "specs.openrewrite.org/v1beta/recipe",
"description": "Identifies the resource type",
"enum": [
"specs.openrewrite.org/v1beta/recipe",
"specs.openrewrite.org/v1beta/style",
"specs.openrewrite.org/v1beta/category",
"specs.openrewrite.org/v1beta/example"
]
}
},
"required": [
"type"
],
"title": "OpenRewrite Resource",
"type": "object"
} | Apache-2.0 | en |
jetify-com/devbox | 93fcd5565c8d454c9e6abe6da55cf9ad682bc046 | 2024-02-28T05:42:48 | .schema/devbox-plugin.schema.json | 7,611 | 2024-05-27T02:54:37.680278Z | {
"$id": "https://github.com/jetpack-io/devbox/plugins",
"$schema": "https://json-schema.org/draft-04/schema#",
"description": "Defines fields and values for public devbox plugins",
"properties": {
"$schema": {
"description": "The schema version of this plugin file.",
"type": "string"
},
"create_files": {
"description": "List of files to create in the user's project directory when the plugin is activated. The key points to the file path where the file will be created. The value points to the default file that should be copied to that location",
"patternProperties": {
".*": {
"description": "Contents of the file.",
"type": "string"
}
},
"type": "object"
},
"description": {
"description": "A short description of the plugin and how it works. This will automatically display when the user first installs the plugin, or runs `devbox info`",
"type": "string"
},
"env": {
"description": "List of additional environment variables to be set in the Devbox environment. These can be overridden by environment variables set in the user's devbox.json",
"patternProperties": {
".*": {
"description": "Value of the environment variable.",
"type": "string"
}
},
"type": "object"
},
"name": {
"description": "The name of the plugin.",
"type": "string"
},
"shell": {
"description": "Shell specific options and hooks for the plugin.",
"items": {
"init_hook": {
"description": "Shell command to run right before initializing the user's shell, running a script, or starting a service",
"type": [
"array",
"string"
]
}
},
"type": "object"
},
"version": {
"description": "The version of the plugin.",
"type": "string"
}
},
"required": [
"name",
"version",
"readme"
],
"title": "Devbox Plugin Schema",
"type": "object"
} | Apache-2.0 | en |
jetify-com/devbox | 64e82bf865fd6d56811fe3872c8a700e0aa51eef | 2023-12-04T22:12:11 | .schema/devbox-plugin.schema.json | 7,611 | 2024-05-27T02:54:37.680278Z | {
"$id": "https://github.com/jetpack-io/devbox/plugins",
"$schema": "https://json-schema.org/draft-04/schema#",
"description": "Defines fields and values for public devbox plugins",
"properties": {
"$schema": {
"description": "The schema version of this plugin file.",
"type": "string"
},
"create_files": {
"description": "List of files to create in the user's project directory when the plugin is activated. The key points to the file path where the file will be created. The value points to the default file that should be copied to that location",
"patternProperties": {
".*": {
"description": "Contents of the file.",
"type": "string"
}
},
"type": "object"
},
"env": {
"description": "List of additional environment variables to be set in the Devbox environment. These can be overridden by environment variables set in the user's devbox.json",
"patternProperties": {
".*": {
"description": "Value of the environment variable.",
"type": "string"
}
},
"type": "object"
},
"name": {
"description": "The name of the plugin.",
"type": "string"
},
"readme": {
"description": "A short description of the plugin and how it works. This will automatically display when the user first installs the plugin, or runs `devbox info`",
"type": "string"
},
"shell": {
"description": "Shell specific options and hooks for the plugin.",
"items": {
"init_hook": {
"description": "Shell command to run right before initializing the user's shell, running a script, or starting a service",
"type": [
"array",
"string"
]
}
},
"type": "object"
},
"version": {
"description": "The version of the plugin.",
"type": "string"
}
},
"required": [
"name",
"version",
"readme"
],
"title": "Devbox Plugin Schema",
"type": "object"
} | Apache-2.0 | en |
jetify-com/devbox | dcb7ae16073c740b5f94638b6a5e73bc50672d09 | 2024-04-09T19:19:36 | .schema/devbox-plugin.schema.json | 7,611 | 2024-05-27T02:54:37.680278Z | {
"$id": "https://github.com/jetify-com/devbox/plugins",
"$schema": "https://json-schema.org/draft-04/schema#",
"description": "Defines fields and values for public devbox plugins",
"properties": {
"$schema": {
"description": "The schema version of this plugin file.",
"type": "string"
},
"create_files": {
"description": "List of files to create in the user's project directory when the plugin is activated. The key points to the file path where the file will be created. The value points to the default file that should be copied to that location",
"patternProperties": {
".*": {
"description": "Contents of the file.",
"type": "string"
}
},
"type": "object"
},
"description": {
"description": "A short description of the plugin and how it works. This will automatically display when the user first installs the plugin, or runs `devbox info`",
"type": "string"
},
"env": {
"description": "List of additional environment variables to be set in the Devbox environment. These can be overridden by environment variables set in the user's devbox.json",
"patternProperties": {
".*": {
"description": "Value of the environment variable.",
"type": "string"
}
},
"type": "object"
},
"include": {
"description": "List of additional plugins to activate within your devbox shell",
"items": {
"description": "Name of the plugin to activate.",
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the plugin.",
"type": "string"
},
"packages": {
"description": "Collection of packages to install",
"oneOf": [
{
"items": {
"description": "Name and version of each package in name@version format.",
"type": "string"
},
"type": "array"
},
{
"description": "Name of each package in {\"name\": {\"version\": \"1.2.3\"}} format.",
"patternProperties": {
".*": {
"oneOf": [
{
"description": "Version number of the specified package in {\"version\": \"1.2.3\"} format.",
"properties": {
"excluded_platforms": {
"description": "Names of platforms to exclude the package on",
"items": {
"enum": [
"i686-linux",
"aarch64-linux",
"aarch64-darwin",
"x86_64-darwin",
"x86_64-linux",
"armv7l-linux"
]
},
"type": "array"
},
"glibc_patch": {
"description": "Whether to patch glibc to the latest available version for this package",
"type": "boolean"
},
"platforms": {
"description": "Names of platforms to install the package on. This package will be skipped for any platforms not on this list",
"items": {
"enum": [
"i686-linux",
"aarch64-linux",
"aarch64-darwin",
"x86_64-darwin",
"x86_64-linux",
"armv7l-linux"
]
},
"type": "array"
},
"version": {
"description": "Version of the package",
"type": "string"
}
},
"type": "object"
},
{
"description": "Version of the package to install.",
"type": "string"
}
]
}
},
"type": "object"
}
]
},
"shell": {
"description": "Shell specific options and hooks for the plugin.",
"items": {
"init_hook": {
"description": "Shell command to run right before initializing the user's shell, running a script, or starting a service",
"type": [
"array",
"string"
]
},
"scripts": {
"description": "List of command/script definitions to run with `devbox run <script_name>`.",
"patternProperties": {
".*": {
"description": "Alias name for the script.",
"items": {
"description": "The script's shell commands.",
"type": "string"
},
"type": [
"array",
"string"
]
}
},
"type": "object"
}
},
"type": "object"
},
"version": {
"description": "The version of the plugin.",
"type": "string"
}
},
"required": [
"name",
"version",
"readme"
],
"title": "Devbox Plugin Schema",
"type": "object"
} | Apache-2.0 | en |
jetify-com/devbox | ff7b1cb22f33a58dd9651c1ed00c38ea259f5d69 | 2024-03-14T22:47:21 | .schema/devbox-plugin.schema.json | 7,611 | 2024-05-27T02:54:37.680278Z | {
"$id": "https://github.com/jetpack-io/devbox/plugins",
"$schema": "https://json-schema.org/draft-04/schema#",
"description": "Defines fields and values for public devbox plugins",
"properties": {
"$schema": {
"description": "The schema version of this plugin file.",
"type": "string"
},
"create_files": {
"description": "List of files to create in the user's project directory when the plugin is activated. The key points to the file path where the file will be created. The value points to the default file that should be copied to that location",
"patternProperties": {
".*": {
"description": "Contents of the file.",
"type": "string"
}
},
"type": "object"
},
"description": {
"description": "A short description of the plugin and how it works. This will automatically display when the user first installs the plugin, or runs `devbox info`",
"type": "string"
},
"env": {
"description": "List of additional environment variables to be set in the Devbox environment. These can be overridden by environment variables set in the user's devbox.json",
"patternProperties": {
".*": {
"description": "Value of the environment variable.",
"type": "string"
}
},
"type": "object"
},
"include": {
"description": "List of additional plugins to activate within your devbox shell",
"items": {
"description": "Name of the plugin to activate.",
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the plugin.",
"type": "string"
},
"packages": {
"description": "Collection of packages to install",
"oneOf": [
{
"items": {
"description": "Name and version of each package in name@version format.",
"type": "string"
},
"type": "array"
},
{
"description": "Name of each package in {\"name\": {\"version\": \"1.2.3\"}} format.",
"patternProperties": {
".*": {
"oneOf": [
{
"description": "Version number of the specified package in {\"version\": \"1.2.3\"} format.",
"properties": {
"excluded_platforms": {
"description": "Names of platforms to exclude the package on",
"items": {
"enum": [
"i686-linux",
"aarch64-linux",
"aarch64-darwin",
"x86_64-darwin",
"x86_64-linux",
"armv7l-linux"
]
},
"type": "array"
},
"glibc_patch": {
"description": "Whether to patch glibc to the latest available version for this package",
"type": "boolean"
},
"platforms": {
"description": "Names of platforms to install the package on. This package will be skipped for any platforms not on this list",
"items": {
"enum": [
"i686-linux",
"aarch64-linux",
"aarch64-darwin",
"x86_64-darwin",
"x86_64-linux",
"armv7l-linux"
]
},
"type": "array"
},
"version": {
"description": "Version of the package",
"type": "string"
}
},
"type": "object"
},
{
"description": "Version of the package to install.",
"type": "string"
}
]
}
},
"type": "object"
}
]
},
"shell": {
"description": "Shell specific options and hooks for the plugin.",
"items": {
"init_hook": {
"description": "Shell command to run right before initializing the user's shell, running a script, or starting a service",
"type": [
"array",
"string"
]
},
"scripts": {
"description": "List of command/script definitions to run with `devbox run <script_name>`.",
"patternProperties": {
".*": {
"description": "Alias name for the script.",
"items": {
"description": "The script's shell commands.",
"type": "string"
},
"type": [
"array",
"string"
]
}
},
"type": "object"
}
},
"type": "object"
},
"version": {
"description": "The version of the plugin.",
"type": "string"
}
},
"required": [
"name",
"version",
"readme"
],
"title": "Devbox Plugin Schema",
"type": "object"
} | Apache-2.0 | en |
netgen-layouts/layouts-core | 7b2567cae9962cd622fa94ef4d88f60230b6c34d | 2021-03-02T09:09:55 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule group",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"is_enabled",
"priority",
"comment",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | d95d1e9a94cfb21fce3b16e2161d49683190cebf | 2021-03-02T10:06:04 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule group",
"type": "string"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"name",
"description",
"is_enabled",
"priority",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 083c91ba81bc7ed839eaeb0f80e967f7fdc1e351 | 2021-03-02T11:51:38 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule (DEPRECATED: Use description instead)",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule (if defined, has priority over DEPRECATED comment property. Will become required in 2.0)",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule group",
"type": "string"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"name",
"description",
"is_enabled",
"priority",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule_group"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule_group"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | b1836da8bf798edd9a47d177a61e91b3e9d58516 | 2019-05-15T15:06:57 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
}
},
"required": [
"position",
"value",
"value_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"maxLength": 36,
"minLength": 36,
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | c12bb4d71f0feae5d38c63620cfcf6938699f9e9 | 2020-06-30T12:43:23 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule condition"
},
"type": {
"description": "The type of the rule condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": [
"string",
"null"
]
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 2964fb9e7ae1edfae3e1f385e2df9a6cfac1351d | 2021-04-12T09:35:34 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule (DEPRECATED: Use description instead)",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule (if defined, has priority over DEPRECATED comment property. Will become required in 2.0)",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"rule_group_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The ID of the group rule is located in (Not defining this property is DEPRECATED. Will become required in 2.0)"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule group",
"type": "string"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"parent_id": {
"description": "The ID of the parent group",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"parent_id",
"name",
"description",
"is_enabled",
"priority",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule_group"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule_group"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 144ca9ffd66a9ab2a62c8d704bf98b49e031fff8 | 2020-06-30T12:43:23 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule condition"
},
"type": {
"description": "The type of the rule condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": [
"string"
]
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | a27edaa0cbb679c0e8da8146c1e48f687984cef5 | 2021-03-02T11:35:59 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule (DEPRECATED: Use description instead)",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule (if defined, has priority over DEPRECATED comment property. Will become required in 2.0)",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule group",
"type": "string"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"name",
"description",
"is_enabled",
"priority",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule_group"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule_group"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | d02d2a759854ef3ceccfa413f9530f746784ea20 | 2018-06-08T12:29:19 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"type": {
"description": "The type of the collection item",
"enum": [
"MANUAL",
"OVERRIDE"
],
"type": "string"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
}
},
"required": [
"type",
"position",
"value",
"value_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The layout ID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"unique_id": {
"description": "A definition representing a unique database ID",
"minLength": 1,
"minimum": 1,
"type": [
"integer",
"string"
]
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 9904a956fe089fe6a256bc58e920042321f33488 | 2021-02-26T15:40:34 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule group",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"is_enabled",
"priority",
"comment",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | d8864f7dff277fa663219860a3a99071fad8f568 | 2018-07-30T12:15:07 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
}
},
"required": [
"position",
"value",
"value_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The layout ID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/unique_id",
"description": "The ID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"unique_id": {
"description": "A definition representing a unique database ID",
"minLength": 1,
"minimum": 1,
"type": [
"integer",
"string"
]
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 65730f4259d759ed2f9eb6565659c878c2f01cac | 2019-05-28T10:07:09 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"view_type"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 0c39063fdfe5406deec6b0b75b5d488d30718cc7 | 2021-03-02T10:54:15 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule/group condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule/group condition"
},
"type": {
"description": "The type of the rule/group condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule/group condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule (DEPRECATED: Use description instead)",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule (if defined, has priority over DEPRECATED comment property. Will become required in 2.0)",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"targets",
"conditions"
],
"type": "object"
},
"rule_group": {
"additionalProperties": false,
"description": "A rule group",
"properties": {
"__type": {
"const": "rule_group",
"description": "The type of the entity to import",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule group",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"description": {
"description": "The description of the rule group",
"type": "string"
},
"groups": {
"description": "The list of sub groups in the rule group",
"items": {
"$ref": "#/definitions/complex/rule_group"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule group"
},
"is_enabled": {
"description": "The flag indicating if the rule group is active",
"type": "boolean"
},
"name": {
"description": "The name of the rule group",
"minLength": 1,
"type": "string"
},
"priority": {
"description": "The rule group priority",
"type": "integer"
},
"rules": {
"description": "The list of rules in the rule group",
"items": {
"$ref": "#/definitions/complex/rule"
},
"type": "array"
},
"status": {
"description": "The status of the rule group",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"name",
"description",
"is_enabled",
"priority",
"groups",
"rules",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 91c94f3575415ebc26b2d12629f9d8501bd91080 | 2020-07-01T10:46:10 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule condition"
},
"type": {
"description": "The type of the rule condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": [
"string",
"null"
]
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | aafb81aaf676e617bb63a0ae8aa0355b931f3739 | 2020-07-05T13:16:38 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": "string"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"id",
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"id",
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule condition"
},
"type": {
"description": "The type of the rule condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"id",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"id",
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": "string"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"id",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": "string"
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"id",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"id",
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | a49efe8a93c7c8ef1866b5214e5dddffaf618510 | 2019-05-15T15:06:57 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
}
},
"required": [
"position",
"value",
"value_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 387b7de2aecfcd5aef91a3576de08aafbfc77f9c | 2020-06-30T12:43:23 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
},
"slots": {
"description": "The list of slots in the collection",
"items": {
"$ref": "#/definitions/complex/slot"
},
"type": "array"
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"slots",
"query"
],
"type": "object"
},
"condition": {
"additionalProperties": false,
"description": "A rule condition",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule condition"
},
"type": {
"description": "The type of the rule condition",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule condition",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"limitation": {
"additionalProperties": false,
"description": "A policy limitation",
"properties": {
"type": {
"description": "The limitation type",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"values": {
"description": "The list of limitation values",
"oneOf": [
{
"minProperties": 1,
"type": "object"
},
{
"minItems": 1,
"type": "array"
}
]
}
},
"required": [
"type",
"values"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"policy": {
"additionalProperties": false,
"description": "A role policy",
"properties": {
"component": {
"description": "The policy component",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role policy"
},
"limitations": {
"oneOf": [
{
"description": "The list of limitations in the policy",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z]([A-Za-z0-9_])*$": {
"$ref": "#/definitions/complex/limitation"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"permission": {
"description": "The policy permission",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": [
"string",
"null"
]
}
},
"required": [
"component",
"permission",
"limitations"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"role": {
"additionalProperties": false,
"description": "A role",
"properties": {
"__type": {
"const": "role",
"description": "The type of the entity to import",
"type": "string"
},
"description": {
"description": "The description of the role",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the role"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the role"
},
"name": {
"description": "The name of the role",
"minLength": 1,
"type": "string"
},
"policies": {
"description": "The list of policies in the role",
"items": {
"$ref": "#/definitions/complex/policy"
},
"type": "array"
},
"status": {
"description": "The status of the role",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
}
},
"required": [
"__type",
"status",
"identifier",
"name",
"description",
"policies"
],
"type": "object"
},
"rule": {
"additionalProperties": false,
"description": "A rule",
"properties": {
"__type": {
"const": "rule",
"description": "The type of the entity to import",
"type": "string"
},
"comment": {
"description": "The comment of the rule",
"type": [
"string",
"null"
]
},
"conditions": {
"description": "The list of conditions in the rule",
"items": {
"$ref": "#/definitions/complex/condition"
},
"type": "array"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule"
},
"is_enabled": {
"description": "The flag indicating if the rule is active",
"type": "boolean"
},
"layout_id": {
"description": "The ID of the mapped layout",
"oneOf": [
{
"$ref": "#/definitions/simple/uuid"
},
{
"type": "null"
}
]
},
"priority": {
"description": "The rule priority",
"type": "integer"
},
"status": {
"description": "The status of the rule",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"targets": {
"description": "The list of targets in the rule",
"items": {
"$ref": "#/definitions/complex/target"
},
"type": "array"
}
},
"required": [
"__type",
"status",
"layout_id",
"is_enabled",
"priority",
"comment",
"targets",
"conditions"
],
"type": "object"
},
"slot": {
"additionalProperties": false,
"description": "A collection slot",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection slot"
},
"position": {
"description": "The position of the collection slot",
"minimum": 0,
"type": "integer"
},
"view_type": {
"description": "The view type of the slot",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"view_type"
],
"type": "object"
},
"target": {
"additionalProperties": false,
"description": "A rule target",
"properties": {
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the rule target"
},
"type": {
"description": "The type of the rule target",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"value": {
"description": "The value of the rule target",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "rule"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/rule"
}
},
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "role"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/role"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
netgen-layouts/layouts-core | 6894d942676a4ba830632e71d69cf8a195f014ed | 2019-05-28T10:07:09 | resources/schemas/import.json | 34 | 2024-05-29T09:01:33.247011Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"complex": {
"block": {
"additionalProperties": false,
"description": "A block",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the block"
},
"collections": {
"oneOf": [
{
"description": "The list of collections in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/collection"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"definition_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the block definition"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the block"
},
"is_always_available": {
"description": "The flag indicating if the block is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the block is translatable",
"type": "boolean"
},
"item_view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block items"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the block"
},
"name": {
"description": "The name of the block",
"type": [
"string",
"null"
]
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"placeholders": {
"oneOf": [
{
"description": "The list of placeholders in the block",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/placeholder"
}
},
"type": "object"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"view_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The view type of the block"
}
},
"required": [
"definition_identifier",
"name",
"view_type",
"item_view_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters",
"configuration",
"placeholders",
"collections"
],
"type": "object"
},
"collection": {
"additionalProperties": false,
"description": "A collection",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the collection"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection"
},
"is_always_available": {
"description": "The flag indicating if the collection is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the collection is translatable",
"type": "boolean"
},
"items": {
"description": "The list of items in the collection",
"items": {
"$ref": "#/definitions/complex/item"
},
"type": "array"
},
"limit": {
"description": "The collection limit",
"minimum": 1,
"type": [
"integer",
"null"
]
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the collection"
},
"offset": {
"description": "The collection offset",
"minimum": 0,
"type": "integer"
},
"query": {
"oneOf": [
{
"$ref": "#/definitions/complex/query"
},
{
"type": "null"
}
]
}
},
"required": [
"offset",
"limit",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"items",
"query"
],
"type": "object"
},
"item": {
"additionalProperties": false,
"description": "A collection item",
"properties": {
"configuration": {
"oneOf": [
{
"$ref": "#/definitions/list/configuration"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection item"
},
"position": {
"description": "The position of the collection item",
"minimum": 0,
"type": "integer"
},
"value": {
"description": "The value of the collection item",
"examples": [
null,
42,
"2a7b26be9b0499dc087f3c6b7d2ec343",
[
24,
"abc"
],
true,
{
"foo": "bar"
}
]
},
"value_type": {
"description": "The value type of the collection item",
"pattern": "^[A-Za-z]([A-Za-z0-9_])*$",
"type": "string"
},
"view_type": {
"description": "The view type of the item",
"oneOf": [
{
"$ref": "#/definitions/simple/identifier"
},
{
"type": "null"
}
]
}
},
"required": [
"position",
"value",
"value_type",
"view_type",
"configuration"
],
"type": "object"
},
"layout": {
"additionalProperties": false,
"description": "A layout",
"properties": {
"__type": {
"const": "layout",
"description": "The type of the entity to import",
"type": "string"
},
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the layout"
},
"creation_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was created"
},
"description": {
"description": "The description of the layout",
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the layout"
},
"is_shared": {
"description": "The flag indicating if the layout is shared",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the layout"
},
"modification_date": {
"$ref": "#/definitions/simple/timestamp",
"description": "The timestamp when the layout was last updated"
},
"name": {
"description": "The name of the layout",
"minLength": 1,
"type": "string"
},
"status": {
"description": "The status of the layout",
"enum": [
"DRAFT",
"PUBLISHED",
"ARCHIVED"
],
"type": "string"
},
"type_identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the layout"
},
"zones": {
"description": "The list of zones in the layout",
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"$ref": "#/definitions/complex/zone"
}
},
"type": "object"
}
},
"required": [
"__type",
"status",
"type_identifier",
"name",
"description",
"creation_date",
"modification_date",
"is_shared",
"main_locale",
"available_locales",
"zones"
],
"type": "object"
},
"linked_zone": {
"additionalProperties": false,
"description": "The reference to the linked zone",
"properties": {
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the linked zone"
},
"layout_id": {
"$ref": "#/definitions/simple/uuid",
"description": "The layout UUID of the linked zone"
}
},
"required": [
"identifier",
"layout_id"
],
"type": "object"
},
"placeholder": {
"additionalProperties": false,
"description": "A block placeholder",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the placeholder"
}
},
"required": [
"identifier",
"blocks"
],
"type": "object"
},
"query": {
"additionalProperties": false,
"description": "A collection query",
"properties": {
"available_locales": {
"$ref": "#/definitions/list/locales",
"description": "The list of locales available in the query"
},
"id": {
"$ref": "#/definitions/simple/uuid",
"description": "The UUID of the collection query"
},
"is_always_available": {
"description": "The flag indicating if the query is always available",
"type": "boolean"
},
"is_translatable": {
"description": "The flag indicating if the query is translatable",
"type": "boolean"
},
"main_locale": {
"$ref": "#/definitions/simple/locale",
"description": "The main locale of the query"
},
"parameters": {
"oneOf": [
{
"$ref": "#/definitions/list/parameters"
},
{
"enum": [
[]
],
"type": "array"
}
]
},
"query_type": {
"$ref": "#/definitions/simple/identifier",
"description": "The type of the query"
}
},
"required": [
"query_type",
"is_translatable",
"is_always_available",
"main_locale",
"available_locales",
"parameters"
],
"type": "object"
},
"zone": {
"additionalProperties": false,
"description": "A zone",
"properties": {
"blocks": {
"description": "The list of blocks in the zone",
"items": {
"$ref": "#/definitions/complex/block"
},
"type": "array"
},
"identifier": {
"$ref": "#/definitions/simple/identifier",
"description": "The identifier of the zone"
},
"linked_zone": {
"oneOf": [
{
"$ref": "#/definitions/complex/linked_zone"
},
{
"type": "null"
}
]
}
},
"required": [
"identifier",
"linked_zone",
"blocks"
],
"type": "object"
}
},
"list": {
"configuration": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"locales": {
"description": "A definition representing a list of locales",
"items": {
"$ref": "#/definitions/simple/locale"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"parameters": {
"description": "The list of parameters in the query",
"patternProperties": {
"^[a-z][a-z](_[A-Za-z_]+)?$": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
},
"simple": {
"identifier": {
"description": "A definition representing an identifier",
"pattern": "^[A-Za-z0-9_]*[A-Za-z][A-Za-z0-9_]*$",
"type": "string"
},
"locale": {
"description": "A definition representing a locale",
"examples": [
"en",
"en_GB",
"hr_HR"
],
"minLength": 2,
"pattern": "^[a-z][a-z](_[A-Za-z_]+)?$",
"type": "string"
},
"timestamp": {
"description": "A definition representing a timestamp",
"minimum": 0,
"type": "integer"
},
"uuid": {
"description": "A definition representing a unique entity ID (UUID)",
"format": "uuid",
"pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$",
"type": "string"
}
}
},
"description": "Import specification",
"properties": {
"__version": {
"const": 1,
"description": "Version of the import specification"
},
"entities": {
"description": "The list of entities to import",
"items": {
"oneOf": [
{
"else": false,
"if": {
"properties": {
"__type": {
"const": "layout"
}
},
"type": "object"
},
"then": {
"$ref": "#/definitions/complex/layout"
}
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"__version",
"entities"
],
"type": "object"
} | MIT | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_icmp.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/icmp-check",
"$ref": "#/$defs/ICMPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 2a7e03113e8bc3ff1c112e85f0f9746e59bcd481 | 2023-12-27T19:41:53 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | e34968108258040c0ff2f3e31707015dca672942 | 2023-12-29T13:55:21 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 317e59ca8c43b8b9cf966ce8cde976ac47f15781 | 2024-04-21T10:17:11 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"healthy": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"KubernetesResourceCheck": {
"additionalProperties": false,
"properties": {
"checkRetries": {
"$ref": "#/$defs/KubernetesResourceCheckRetries"
},
"checks": {
"items": {
"$ref": "#/$defs/KubernetesResourceChecks"
},
"type": "array"
},
"clearResources": {
"type": "boolean"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"resources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"staticResources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"waitFor": {
"$ref": "#/$defs/KubernetesResourceCheckWaitFor"
}
},
"required": [
"name",
"resources"
],
"type": "object"
},
"KubernetesResourceCheckRetries": {
"additionalProperties": false,
"properties": {
"delay": {
"type": "string"
},
"interval": {
"type": "string"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceCheckWaitFor": {
"additionalProperties": false,
"properties": {
"delete": {
"type": "boolean"
},
"disable": {
"type": "boolean"
},
"expr": {
"type": "string"
},
"interval": {
"type": "string"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceChecks": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Unstructured": {
"additionalProperties": false,
"properties": {
"Object": {
"type": "object"
}
},
"required": [
"Object"
],
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 5ce8ef171039dfdadb5ae217dc31fc7f982c5999 | 2024-01-08T14:55:07 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 603e32c900f9aa15d86f5ae1e3e2dd581a893dd9 | 2023-10-19T13:33:59 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 1a7459fa82a8bfc73dbd45f7fe286aa4b58cf0fe | 2024-05-28T12:45:25 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"externalID": {
"type": "string"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"externalID": {
"type": "string"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"agent": {
"type": "string"
},
"cache": {
"type": "string"
},
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"fieldSelector": {
"type": "string"
},
"id": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"tagSelector": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Items": {
"items": {
"type": "string"
},
"type": "array"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"healthy": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"KubernetesResourceCheck": {
"additionalProperties": false,
"properties": {
"checkRetries": {
"$ref": "#/$defs/KubernetesResourceCheckRetries"
},
"checks": {
"items": {
"$ref": "#/$defs/KubernetesResourceChecks"
},
"type": "array"
},
"clearResources": {
"type": "boolean"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"resources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"staticResources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"waitFor": {
"$ref": "#/$defs/KubernetesResourceCheckWaitFor"
}
},
"required": [
"name",
"resources"
],
"type": "object"
},
"KubernetesResourceCheckRetries": {
"additionalProperties": false,
"properties": {
"delay": {
"type": "string"
},
"interval": {
"type": "string"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceCheckWaitFor": {
"additionalProperties": false,
"properties": {
"delete": {
"type": "boolean"
},
"disable": {
"type": "boolean"
},
"expr": {
"type": "string"
},
"interval": {
"type": "string"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceChecks": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"externalID": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"groupByTag": {
"type": "string"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"Unstructured": {
"additionalProperties": false,
"properties": {
"Object": {
"type": "object"
}
},
"required": [
"Object"
],
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | ed6077948be6923ac96d38fdc6ec19f059b55453 | 2023-12-20T19:54:32 | config/schemas/health_github.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/git-hub-check",
"$ref": "#/$defs/GitHubCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 726174085ad8ce66d13f7b8ea176bb4a2019cb8e | 2023-05-17T12:17:00 | config/schemas/health_jmeter.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$ref": "#/definitions/JmeterCheck",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/definitions/EnvVarSource",
"$schema": "http://json-schema.org/draft-04/schema#"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/definitions/ConfigMapKeySelector",
"$schema": "http://json-schema.org/draft-04/schema#"
},
"secretKeyRef": {
"$ref": "#/definitions/SecretKeySelector",
"$schema": "http://json-schema.org/draft-04/schema#"
}
},
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/definitions/EnvVar",
"$schema": "http://json-schema.org/draft-04/schema#"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
}
}
} | Apache-2.0 | en |
flanksource/canary-checker | 7615b353e5bfe91baa43265f81501faef2bd0c77 | 2023-08-23T14:33:22 | config/schemas/health_redis.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/redis-check",
"$ref": "#/$defs/RedisCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | dd079f0880fa2214c1a84c3aeae6799d596c0259 | 2023-05-19T12:23:14 | config/schemas/health_s3.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/s3-check",
"$ref": "#/$defs/S3Check",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | ed6077948be6923ac96d38fdc6ec19f059b55453 | 2023-12-20T19:54:32 | config/schemas/health_mysql.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mysql-check",
"$ref": "#/$defs/MysqlCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 2725242b5c3527dad0bc416e74eab07945c0e676 | 2023-10-17T04:40:22 | config/schemas/health_http.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/http-check",
"$ref": "#/$defs/HTTPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_mssql.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mssql-check",
"$ref": "#/$defs/MssqlCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 4fa6e09530378fff0fa3066073dc9e72b7392315 | 2023-11-30T07:23:13 | config/schemas/health_junit.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/junit-check",
"$ref": "#/$defs/JunitCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_exec.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/exec-check",
"$ref": "#/$defs/ExecCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_jmeter.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/jmeter-check",
"$ref": "#/$defs/JmeterCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 7615b353e5bfe91baa43265f81501faef2bd0c77 | 2023-08-23T14:33:22 | config/schemas/health_dns.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/dns-check",
"$ref": "#/$defs/DNSCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_redis.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/redis-check",
"$ref": "#/$defs/RedisCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_exec.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ExecCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/exec-check",
"$ref": "#/$defs/ExecCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | ed6077948be6923ac96d38fdc6ec19f059b55453 | 2023-12-20T19:54:32 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 2725242b5c3527dad0bc416e74eab07945c0e676 | 2023-10-17T04:40:22 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | ed6077948be6923ac96d38fdc6ec19f059b55453 | 2023-12-20T19:54:32 | config/schemas/health_mssql.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mssql-check",
"$ref": "#/$defs/MssqlCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 302d0dfafb8d3d418e666033ed3a1e26affc68a4 | 2023-12-27T18:38:03 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"inline": {
"$ref": "#/$defs/AWSConnection"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"inline"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"inline": {
"$ref": "#/$defs/AWSConnection"
},
"objectPath": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"inline"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | dd079f0880fa2214c1a84c3aeae6799d596c0259 | 2023-05-19T12:23:14 | config/schemas/health_helm.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/helm-check",
"$ref": "#/$defs/HelmCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 2a7e03113e8bc3ff1c112e85f0f9746e59bcd481 | 2023-12-27T19:41:53 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_s3.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/s3-check",
"$ref": "#/$defs/S3Check",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | b6a6e9e5eab0d3b3e86fecb5220d9abb6b26409c | 2024-03-15T06:01:15 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | b6a6e9e5eab0d3b3e86fecb5220d9abb6b26409c | 2024-03-15T06:01:15 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | dd079f0880fa2214c1a84c3aeae6799d596c0259 | 2023-05-19T12:23:14 | config/schemas/health_mongodb.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"connection"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mongo-db-check",
"$ref": "#/$defs/MongoDBCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | a406c2b58ddbea23f271fce349da0df03e9c0e66 | 2023-09-01T11:05:23 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | bb9ee81fe156f5a3ae74ced88025686de554a008 | 2023-12-08T11:55:02 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_http.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/http-check",
"$ref": "#/$defs/HTTPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 311edab23ceae9c5620622500d40cb2aa57b35fd | 2023-12-08T01:53:27 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | b4717c41c5125dc1c3e5a6dfd2112aea8ccbb650 | 2023-11-01T07:57:42 | config/schemas/health_webhook.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/webhook-check",
"$ref": "#/$defs/WebhookCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | ed6077948be6923ac96d38fdc6ec19f059b55453 | 2023-12-20T19:54:32 | config/schemas/health_mongodb.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mongo-db-check",
"$ref": "#/$defs/MongoDBCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 4ae4cdfee4fef5f4d1240d31f682cdd78529fd0e | 2023-07-03T05:29:13 | config/schemas/health_mssql.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mssql-check",
"$ref": "#/$defs/MssqlCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 4ae4cdfee4fef5f4d1240d31f682cdd78529fd0e | 2023-07-03T05:29:13 | config/schemas/health_helm.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/helm-check",
"$ref": "#/$defs/HelmCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | e438bd9c662f06acc45fbc108c7c9b8dfaa60517 | 2023-12-21T05:45:25 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 0a85bbf18b0c86cb07700a941b2fd8ae5dff5aa3 | 2023-12-04T05:53:52 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | dd079f0880fa2214c1a84c3aeae6799d596c0259 | 2023-05-19T12:23:14 | config/schemas/health_redis.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"auth": {
"$ref": "#/$defs/Authentication"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"addr",
"db"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/redis-check",
"$ref": "#/$defs/RedisCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | c09058c59a2876838927f8d5e175db299d802c66 | 2023-08-25T08:32:59 | config/schemas/health_github.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/git-hub-check",
"$ref": "#/$defs/GitHubCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_mongodb.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mongo-db-check",
"$ref": "#/$defs/MongoDBCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 9348b546a3be81deb8345aa616266fe146d3f2ee | 2024-04-10T05:34:27 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"agent": {
"type": "string"
},
"cache": {
"type": "string"
},
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"fieldSelector": {
"type": "string"
},
"id": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"tagSelector": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Items": {
"items": {
"type": "string"
},
"type": "array"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"KubernetesResourceCheck": {
"additionalProperties": false,
"properties": {
"checkRetries": {
"$ref": "#/$defs/KubernetesResourceCheckRetries"
},
"checks": {
"items": {
"$ref": "#/$defs/KubernetesResourceChecks"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"resources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"staticResources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"waitFor": {
"$ref": "#/$defs/KubernetesResourceCheckWaitFor"
}
},
"required": [
"name",
"resources"
],
"type": "object"
},
"KubernetesResourceCheckRetries": {
"additionalProperties": false,
"properties": {
"delay": {
"type": "string"
},
"interval": {
"type": "string"
},
"maxRetries": {
"type": "integer"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceCheckWaitFor": {
"additionalProperties": false,
"properties": {
"disable": {
"type": "boolean"
},
"expr": {
"type": "string"
},
"interval": {
"type": "string"
},
"maxRetries": {
"type": "integer"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceChecks": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Unstructured": {
"additionalProperties": false,
"properties": {
"Object": {
"type": "object"
}
},
"required": [
"Object"
],
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 603e32c900f9aa15d86f5ae1e3e2dd581a893dd9 | 2023-10-19T13:33:59 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_ldap.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/ldap-check",
"$ref": "#/$defs/LDAPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_dns.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/dns-check",
"$ref": "#/$defs/DNSCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 7615b353e5bfe91baa43265f81501faef2bd0c77 | 2023-08-23T14:33:22 | config/schemas/health_ldap.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/ldap-check",
"$ref": "#/$defs/LDAPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 750ea1416a33822d9bd5cef412e39c1149cca848 | 2024-03-15T06:00:37 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 4f5a9141da445eb7ba2fe2ac4e47a89404c86a20 | 2023-11-02T21:09:13 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 726174085ad8ce66d13f7b8ea176bb4a2019cb8e | 2023-05-17T12:17:00 | config/schemas/health_junit.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$ref": "#/definitions/JunitCheck",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"JunitCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/definitions/Template"
},
"icon": {
"type": "string"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"spec": {
"additionalProperties": true
},
"test": {
"$ref": "#/definitions/Template",
"$schema": "http://json-schema.org/draft-04/schema#"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/definitions/Template"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
}
} | Apache-2.0 | en |
flanksource/canary-checker | 37116ad5620f3228c1f47f74625becb425e55572 | 2024-04-08T13:27:14 | config/schemas/component.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CatalogCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"selector"
],
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Component": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/ComponentSpec"
},
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"$ref": "#/$defs/ConfigQueries"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"parentLookup": {
"$ref": "#/$defs/ParentLookup"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentStatus": {
"additionalProperties": false,
"properties": {
"status": {
"$ref": "#/$defs/ComponentStatus"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/ConfigQuery"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ConfigQueries": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"ConfigQuery": {
"additionalProperties": false,
"properties": {
"agent": {
"type": "string"
},
"cache": {
"type": "string"
},
"class": {
"type": "string"
},
"external_id": {
"type": "string"
},
"fieldSelector": {
"type": "string"
},
"id": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
}
},
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/ConfigQuery"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Items": {
"items": {
"type": "string"
},
"type": "array"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"KubernetesResourceCheck": {
"additionalProperties": false,
"properties": {
"checkRetries": {
"$ref": "#/$defs/KubernetesResourceCheckRetries"
},
"checks": {
"items": {
"$ref": "#/$defs/KubernetesResourceChecks"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"resources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"staticResources": {
"items": {
"$ref": "#/$defs/Unstructured"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"waitFor": {
"$ref": "#/$defs/KubernetesResourceCheckWaitFor"
}
},
"required": [
"name",
"resources"
],
"type": "object"
},
"KubernetesResourceCheckRetries": {
"additionalProperties": false,
"properties": {
"delay": {
"type": "string"
},
"interval": {
"type": "string"
},
"maxRetries": {
"type": "integer"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceCheckWaitFor": {
"additionalProperties": false,
"properties": {
"disable": {
"type": "boolean"
},
"expr": {
"type": "string"
},
"interval": {
"type": "string"
},
"maxRetries": {
"type": "integer"
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"KubernetesResourceChecks": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"kubernetesResource": {
"items": {
"$ref": "#/$defs/KubernetesResourceCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"ParentLookup": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"checks": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
},
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Unstructured": {
"additionalProperties": false,
"properties": {
"Object": {
"type": "object"
}
},
"required": [
"Object"
],
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/component",
"$ref": "#/$defs/Component",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | bb9ee81fe156f5a3ae74ced88025686de554a008 | 2023-12-08T11:55:02 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_http.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/http-check",
"$ref": "#/$defs/HTTPCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 18b231591fd747c966a1e51d2536d28687fdc2b5 | 2023-11-09T12:40:33 | config/schemas/health_jmeter.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/jmeter-check",
"$ref": "#/$defs/JmeterCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | dd079f0880fa2214c1a84c3aeae6799d596c0259 | 2023-05-19T12:23:14 | config/schemas/health_restic.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/restic-check",
"$ref": "#/$defs/ResticCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 23a2a70ba2388a6bc87b1e874d768cdf83492dbc | 2023-07-18T18:11:58 | config/schemas/health_mongodb.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
}
},
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"name": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/mongo-db-check",
"$ref": "#/$defs/MongoDBCheck",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | 03a60df496d6b15e01c2586b3587dfca1999f736 | 2023-12-08T06:31:37 | config/schemas/topology.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/CheckRelationshipLookupFields"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/CheckRelationshipLookupFields"
},
"type": "array"
}
},
"type": "object"
},
"CheckRelationshipLookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"CheckRelationshipLookupFields": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/CheckRelationshipLookup"
},
"namespace": {
"$ref": "#/$defs/CheckRelationshipLookup"
},
"type": {
"$ref": "#/$defs/CheckRelationshipLookup"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"ComponentCheck": {
"additionalProperties": false,
"properties": {
"inline": {
"$ref": "#/$defs/CanarySpec"
},
"selector": {
"$ref": "#/$defs/ResourceSelector"
}
},
"type": "object"
},
"ComponentChecks": {
"items": {
"$ref": "#/$defs/ComponentCheck"
},
"type": "array"
},
"ComponentSpec": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ComponentSpecObject": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpecObject"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"forEach": {
"$ref": "#/$defs/ForEach"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"lifecycle": {
"type": "string"
},
"logs": {
"$ref": "#/$defs/LogSelectors"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"owner": {
"type": "string"
},
"properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
},
"summary": {
"$ref": "#/$defs/Summary"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"Config": {
"additionalProperties": false,
"properties": {
"id": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"tags": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigLookup": {
"additionalProperties": false,
"properties": {
"config": {
"$ref": "#/$defs/Config"
},
"display": {
"$ref": "#/$defs/Display"
},
"field": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Display": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/AWSConnection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"ForEach": {
"additionalProperties": false,
"properties": {
"checks": {
"$ref": "#/$defs/ComponentChecks"
},
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"relationships": {
"items": {
"$ref": "#/$defs/RelationshipSpec"
},
"type": "array"
},
"selectors": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"Link": {
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"LogSelector": {
"additionalProperties": false,
"properties": {
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"LogSelectors": {
"items": {
"$ref": "#/$defs/LogSelector"
},
"type": "array"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"Properties": {
"items": {
"$ref": "#/$defs/Property"
},
"type": "array"
},
"Property": {
"additionalProperties": false,
"properties": {
"color": {
"type": "string"
},
"configLookup": {
"$ref": "#/$defs/ConfigLookup"
},
"headline": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"label": {
"type": "string"
},
"lastTransition": {
"type": "string"
},
"links": {
"items": {
"$ref": "#/$defs/Link"
},
"type": "array"
},
"lookup": {
"$ref": "#/$defs/CanarySpec"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"status": {
"type": "string"
},
"summary": {
"$ref": "#/$defs/Template"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"RelationshipSpec": {
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"Summary": {
"additionalProperties": false,
"properties": {
"healthy": {
"type": "integer"
},
"incidents": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"info": {
"type": "integer"
},
"insights": {
"patternProperties": {
".*": {
"patternProperties": {
".*": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"unhealthy": {
"type": "integer"
},
"warning": {
"type": "integer"
}
},
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"Topology": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/TopologySpec"
},
"status": {
"$ref": "#/$defs/TopologyStatus"
}
},
"type": "object"
},
"TopologySpec": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/ComponentSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/Config"
},
"type": "array"
},
"icon": {
"type": "string"
},
"id": {
"$ref": "#/$defs/Template"
},
"label": {
"type": "string"
},
"owner": {
"type": "string"
},
"properties": {
"$ref": "#/$defs/Properties"
},
"schedule": {
"type": "string"
},
"text": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"TopologyStatus": {
"additionalProperties": false,
"properties": {
"observedGeneration": {
"type": "integer"
},
"persistentID": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/topology",
"$ref": "#/$defs/Topology",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
flanksource/canary-checker | aa23533b6f2ddc568936690a8a6efe2c187cc729 | 2024-01-15T18:35:03 | config/schemas/canary.schema.json | 156 | 2024-05-28T05:48:37.367425Z | {
"$defs": {
"AWSConnection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
}
},
"type": "object"
},
"AlertManagerCheck": {
"additionalProperties": false,
"properties": {
"alerts": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"exclude_filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"filters": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"relationships": {
"$ref": "#/$defs/CheckRelationship"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"Artifact": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"Authentication": {
"additionalProperties": false,
"properties": {
"password": {
"$ref": "#/$defs/EnvVar"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"AwsConfigCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"aggregatorName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"AwsConfigRuleCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"complianceTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"ignoreRules": {
"items": {
"type": "string"
},
"type": "array"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"rules": {
"items": {
"type": "string"
},
"type": "array"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"AzureConnection": {
"additionalProperties": false,
"properties": {
"clientID": {
"$ref": "#/$defs/EnvVar"
},
"clientSecret": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"tenantID": {
"type": "string"
}
},
"type": "object"
},
"AzureDevopsCheck": {
"additionalProperties": false,
"properties": {
"branch": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"organization": {
"type": "string"
},
"personalAccessToken": {
"$ref": "#/$defs/EnvVar"
},
"pipeline": {
"type": "string"
},
"project": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"variables": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"name",
"organization",
"personalAccessToken",
"project",
"pipeline",
"variables",
"branch",
"thresholdMillis"
],
"type": "object"
},
"Canary": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta"
},
"spec": {
"$ref": "#/$defs/CanarySpec"
},
"status": {
"$ref": "#/$defs/CanaryStatus"
}
},
"type": "object"
},
"CanarySpec": {
"additionalProperties": false,
"properties": {
"alertmanager": {
"items": {
"$ref": "#/$defs/AlertManagerCheck"
},
"type": "array"
},
"awsConfig": {
"items": {
"$ref": "#/$defs/AwsConfigCheck"
},
"type": "array"
},
"awsConfigRule": {
"items": {
"$ref": "#/$defs/AwsConfigRuleCheck"
},
"type": "array"
},
"azureDevops": {
"items": {
"$ref": "#/$defs/AzureDevopsCheck"
},
"type": "array"
},
"cloudwatch": {
"items": {
"$ref": "#/$defs/CloudWatchCheck"
},
"type": "array"
},
"configDB": {
"items": {
"$ref": "#/$defs/ConfigDBCheck"
},
"type": "array"
},
"containerd": {
"items": {
"$ref": "#/$defs/ContainerdPullCheck"
},
"type": "array"
},
"containerdPush": {
"items": {
"$ref": "#/$defs/ContainerdPushCheck"
},
"type": "array"
},
"databaseBackup": {
"items": {
"$ref": "#/$defs/DatabaseBackupCheck"
},
"type": "array"
},
"dns": {
"items": {
"$ref": "#/$defs/DNSCheck"
},
"type": "array"
},
"docker": {
"items": {
"$ref": "#/$defs/DockerPullCheck"
},
"type": "array"
},
"dockerPush": {
"items": {
"$ref": "#/$defs/DockerPushCheck"
},
"type": "array"
},
"dynatrace": {
"items": {
"$ref": "#/$defs/DynatraceCheck"
},
"type": "array"
},
"ec2": {
"items": {
"$ref": "#/$defs/EC2Check"
},
"type": "array"
},
"elasticsearch": {
"items": {
"$ref": "#/$defs/ElasticsearchCheck"
},
"type": "array"
},
"env": {
"patternProperties": {
".*": {
"$ref": "#/$defs/VarSource"
}
},
"type": "object"
},
"exec": {
"items": {
"$ref": "#/$defs/ExecCheck"
},
"type": "array"
},
"folder": {
"items": {
"$ref": "#/$defs/FolderCheck"
},
"type": "array"
},
"gitProtocol": {
"items": {
"$ref": "#/$defs/GitProtocolCheck"
},
"type": "array"
},
"github": {
"items": {
"$ref": "#/$defs/GitHubCheck"
},
"type": "array"
},
"helm": {
"items": {
"$ref": "#/$defs/HelmCheck"
},
"type": "array"
},
"http": {
"items": {
"$ref": "#/$defs/HTTPCheck"
},
"type": "array"
},
"icmp": {
"items": {
"$ref": "#/$defs/ICMPCheck"
},
"type": "array"
},
"icon": {
"type": "string"
},
"interval": {
"type": "integer"
},
"jmeter": {
"items": {
"$ref": "#/$defs/JmeterCheck"
},
"type": "array"
},
"junit": {
"items": {
"$ref": "#/$defs/JunitCheck"
},
"type": "array"
},
"kubernetes": {
"items": {
"$ref": "#/$defs/KubernetesCheck"
},
"type": "array"
},
"ldap": {
"items": {
"$ref": "#/$defs/LDAPCheck"
},
"type": "array"
},
"mongodb": {
"items": {
"$ref": "#/$defs/MongoDBCheck"
},
"type": "array"
},
"mssql": {
"items": {
"$ref": "#/$defs/MssqlCheck"
},
"type": "array"
},
"mysql": {
"items": {
"$ref": "#/$defs/MysqlCheck"
},
"type": "array"
},
"namespace": {
"items": {
"$ref": "#/$defs/NamespaceCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
},
"type": "array"
},
"owner": {
"type": "string"
},
"pod": {
"items": {
"$ref": "#/$defs/PodCheck"
},
"type": "array"
},
"postgres": {
"items": {
"$ref": "#/$defs/PostgresCheck"
},
"type": "array"
},
"prometheus": {
"items": {
"$ref": "#/$defs/PrometheusCheck"
},
"type": "array"
},
"redis": {
"items": {
"$ref": "#/$defs/RedisCheck"
},
"type": "array"
},
"replicas": {
"type": "integer"
},
"restic": {
"items": {
"$ref": "#/$defs/ResticCheck"
},
"type": "array"
},
"resultMode": {
"type": "string"
},
"s3": {
"items": {
"$ref": "#/$defs/S3Check"
},
"type": "array"
},
"schedule": {
"type": "string"
},
"severity": {
"type": "string"
},
"tcp": {
"items": {
"$ref": "#/$defs/TCPCheck"
},
"type": "array"
},
"webhook": {
"$ref": "#/$defs/WebhookCheck"
}
},
"type": "object"
},
"CanaryStatus": {
"additionalProperties": false,
"properties": {
"checkStatus": {
"patternProperties": {
".*": {
"$ref": "#/$defs/CheckStatus"
}
},
"type": "object"
},
"checks": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"persistedID": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"status": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CheckRelationship": {
"additionalProperties": false,
"properties": {
"components": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
},
"configs": {
"items": {
"$ref": "#/$defs/LookupSpec"
},
"type": "array"
}
},
"type": "object"
},
"CheckStatus": {
"additionalProperties": false,
"properties": {
"errorMessage": {
"type": "string"
},
"lastCheck": {
"$ref": "#/$defs/Time"
},
"lastTransitionedTime": {
"$ref": "#/$defs/Time"
},
"latency1h": {
"type": "string"
},
"message": {
"type": "string"
},
"uptime1h": {
"type": "string"
}
},
"type": "object"
},
"CloudWatchCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"actionPrefix": {
"type": "string"
},
"alarmPrefix": {
"type": "string"
},
"alarms": {
"items": {
"type": "string"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"state": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ConfigDBCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"ConfigMapKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"ContainerdPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"ContainerdPushCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DNSCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"exactreply": {
"items": {
"type": "string"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minrecords": {
"type": "integer"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"query": {
"type": "string"
},
"querytype": {
"type": "string"
},
"server": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DatabaseBackupCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"gcp": {
"$ref": "#/$defs/GCPDatabase"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"DockerPullCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"expectedDigest": {
"type": "string"
},
"expectedSize": {
"type": "integer"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DockerPushCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"image": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"image"
],
"type": "object"
},
"DynatraceCheck": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"scheme": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"EC2Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"ami": {
"type": "string"
},
"canaryRef": {
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"keepAlive": {
"type": "boolean"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"securityGroup": {
"type": "string"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"timeOut": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
},
"userData": {
"type": "string"
},
"waitTime": {
"type": "integer"
}
},
"required": [
"name"
],
"type": "object"
},
"ElasticsearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"EnvVar": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueFrom": {
"$ref": "#/$defs/EnvVarSource"
}
},
"type": "object"
},
"EnvVarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"serviceAccount": {
"type": "string"
}
},
"type": "object"
},
"ExecCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"checkout": {
"$ref": "#/$defs/GitCheckout"
},
"connections": {
"$ref": "#/$defs/ExecConnections"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"script": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"script"
],
"type": "object"
},
"ExecConnections": {
"additionalProperties": false,
"properties": {
"aws": {
"$ref": "#/$defs/AWSConnection"
},
"azure": {
"$ref": "#/$defs/AzureConnection"
},
"gcp": {
"$ref": "#/$defs/GCPConnection"
}
},
"type": "object"
},
"FieldsV1": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"FolderCheck": {
"additionalProperties": false,
"properties": {
"availableSize": {
"type": "string"
},
"awsConnection": {
"$ref": "#/$defs/S3Connection"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filter": {
"$ref": "#/$defs/FolderFilter"
},
"gcpConnection": {
"$ref": "#/$defs/GCSConnection"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"maxCount": {
"type": "integer"
},
"maxSize": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"minAge": {
"type": "string"
},
"minCount": {
"type": "integer"
},
"minSize": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"recursive": {
"type": "boolean"
},
"sftpConnection": {
"$ref": "#/$defs/SFTPConnection"
},
"smbConnection": {
"$ref": "#/$defs/SMBConnection"
},
"test": {
"$ref": "#/$defs/Template"
},
"totalSize": {
"type": "string"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"path"
],
"type": "object"
},
"FolderFilter": {
"additionalProperties": false,
"properties": {
"maxAge": {
"type": "string"
},
"maxSize": {
"type": "string"
},
"minAge": {
"type": "string"
},
"minSize": {
"type": "string"
},
"regex": {
"type": "string"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"GCPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GCPDatabase": {
"additionalProperties": false,
"properties": {
"gcpConnection": {
"$ref": "#/$defs/GCPConnection"
},
"instance": {
"type": "string"
},
"project": {
"type": "string"
}
},
"required": [
"project",
"instance"
],
"type": "object"
},
"GCSConnection": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"credentials": {
"$ref": "#/$defs/EnvVar"
},
"endpoint": {
"type": "string"
}
},
"type": "object"
},
"GitCheckout": {
"additionalProperties": false,
"properties": {
"certificate": {
"$ref": "#/$defs/EnvVar"
},
"connection": {
"type": "string"
},
"destination": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"GitHubCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"githubToken": {
"$ref": "#/$defs/EnvVar"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"GitProtocolCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"filename": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"repository",
"username",
"password"
],
"type": "object"
},
"HTTPCheck": {
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"endpoint": {
"type": "string"
},
"env": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"headers": {
"items": {
"$ref": "#/$defs/EnvVar"
},
"type": "array"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxSSLExpiry": {
"type": "integer"
},
"method": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ntlm": {
"type": "boolean"
},
"ntlmv2": {
"type": "boolean"
},
"oauth2": {
"$ref": "#/$defs/Oauth2Config"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"responseCodes": {
"items": {
"type": "integer"
},
"type": "array"
},
"responseContent": {
"type": "string"
},
"responseJSONContent": {
"$ref": "#/$defs/JSONCheck"
},
"templateBody": {
"type": "boolean"
},
"test": {
"$ref": "#/$defs/Template"
},
"thresholdMillis": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmCheck": {
"additionalProperties": false,
"properties": {
"auth": {
"$ref": "#/$defs/Authentication"
},
"cafile": {
"type": "string"
},
"chartmuseum": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"project": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"HelmRefKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
},
"ICMPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"packetCount": {
"type": "integer"
},
"packetLossThreshold": {
"type": "integer"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"JSONCheck": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"path",
"value"
],
"type": "object"
},
"JmeterCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"jmx": {
"$ref": "#/$defs/EnvVar"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"port": {
"type": "integer"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"responseDuration": {
"type": "string"
},
"systemProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"jmx"
],
"type": "object"
},
"JunitCheck": {
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/$defs/Artifact"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"spec": true,
"test": {
"$ref": "#/$defs/Template"
},
"testResults": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"testResults",
"spec"
],
"type": "object"
},
"KubernetesCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"ignore": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"$ref": "#/$defs/ResourceSelector"
},
"ready": {
"type": "boolean"
},
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object"
},
"LDAPCheck": {
"additionalProperties": false,
"properties": {
"bindDN": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"userSearch": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"bindDN"
],
"type": "object"
},
"Labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"Lookup": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"LookupSpec": {
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/$defs/Lookup"
},
"namespace": {
"$ref": "#/$defs/Lookup"
},
"type": {
"$ref": "#/$defs/Lookup"
}
},
"type": "object"
},
"ManagedFieldsEntry": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldsType": {
"type": "string"
},
"fieldsV1": {
"$ref": "#/$defs/FieldsV1"
},
"manager": {
"type": "string"
},
"operation": {
"type": "string"
},
"subresource": {
"type": "string"
},
"time": {
"$ref": "#/$defs/Time"
}
},
"type": "object"
},
"MetricLabel": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"valueExpr": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"MetricLabels": {
"items": {
"$ref": "#/$defs/MetricLabel"
},
"type": "array"
},
"Metrics": {
"additionalProperties": false,
"properties": {
"labels": {
"$ref": "#/$defs/MetricLabels"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"MongoDBCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MssqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"MysqlCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"NamespaceCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceAnnotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceLabels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"namespaceNamePrefix": {
"type": "string"
},
"path": {
"type": "string"
},
"podSpec": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"schedule_timeout": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"podSpec"
],
"type": "object"
},
"Oauth2Config": {
"additionalProperties": false,
"properties": {
"params": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"scope": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenURL": {
"type": "string"
}
},
"type": "object"
},
"ObjectFieldSelector": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"fieldPath": {
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"creationTimestamp": {
"$ref": "#/$defs/Time"
},
"deletionGracePeriodSeconds": {
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/$defs/Time"
},
"finalizers": {
"items": {
"type": "string"
},
"type": "array"
},
"generateName": {
"type": "string"
},
"generation": {
"type": "integer"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"managedFields": {
"items": {
"$ref": "#/$defs/ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"ownerReferences": {
"items": {
"$ref": "#/$defs/OwnerReference"
},
"type": "array"
},
"resourceVersion": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
},
"OpenSearchCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"index": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query",
"index"
],
"type": "object"
},
"OwnerReference": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"blockOwnerDeletion": {
"type": "boolean"
},
"controller": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"PodCheck": {
"additionalProperties": false,
"properties": {
"deadline": {
"type": "integer"
},
"deleteTimeout": {
"type": "integer"
},
"description": {
"type": "string"
},
"expectedContent": {
"type": "string"
},
"expectedHttpStatuses": {
"items": {
"type": "integer"
},
"type": "array"
},
"httpRetryInterval": {
"type": "integer"
},
"httpTimeout": {
"type": "integer"
},
"icon": {
"type": "string"
},
"ingressClass": {
"type": "string"
},
"ingressHost": {
"type": "string"
},
"ingressName": {
"type": "string"
},
"ingressTimeout": {
"type": "integer"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer"
},
"priorityClass": {
"type": "string"
},
"readyTimeout": {
"type": "integer"
},
"roundRobinNodes": {
"type": "boolean"
},
"scheduleTimeout": {
"type": "integer"
},
"spec": {
"type": "string"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"PostgresCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"results": {
"type": "integer"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"PrometheusCheck": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"host": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"query": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name",
"query"
],
"type": "object"
},
"RedisCheck": {
"additionalProperties": false,
"properties": {
"addr": {
"type": "string"
},
"connection": {
"type": "string"
},
"db": {
"type": "integer"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"name"
],
"type": "object"
},
"ResourceSelector": {
"additionalProperties": false,
"properties": {
"fieldSelector": {
"type": "string"
},
"labelSelector": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"ResticCheck": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"awsConnectionName": {
"type": "string"
},
"caCert": {
"type": "string"
},
"checkIntegrity": {
"type": "boolean"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"maxAge": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"repository": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name",
"repository",
"password",
"maxAge"
],
"type": "object"
},
"S3Check": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"bucketName": {
"type": "string"
},
"connection": {
"type": "string"
},
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"transformDeleteStrategy": {
"type": "string"
},
"usePathStyle": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
},
"S3Connection": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/EnvVar"
},
"bucket": {
"type": "string"
},
"connection": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objectPath": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/$defs/EnvVar"
},
"sessionToken": {
"$ref": "#/$defs/EnvVar"
},
"skipTLSVerify": {
"type": "boolean"
},
"usePathStyle": {
"type": "boolean"
}
},
"type": "object"
},
"SFTPConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"host": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"required": [
"host"
],
"type": "object"
},
"SMBConnection": {
"additionalProperties": false,
"properties": {
"connection": {
"type": "string"
},
"domain": {
"type": "string"
},
"password": {
"$ref": "#/$defs/EnvVar"
},
"port": {
"type": "integer"
},
"username": {
"$ref": "#/$defs/EnvVar"
}
},
"type": "object"
},
"SecretKeySelector": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"optional": {
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"TCPCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"thresholdMillis": {
"type": "integer"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"Template": {
"additionalProperties": false,
"properties": {
"expr": {
"type": "string"
},
"javascript": {
"type": "string"
},
"jsonPath": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"Time": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"VarSource": {
"additionalProperties": false,
"properties": {
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
"fieldRef": {
"$ref": "#/$defs/ObjectFieldSelector"
},
"secretKeyRef": {
"$ref": "#/$defs/SecretKeySelector"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"WebhookCheck": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"display": {
"$ref": "#/$defs/Template"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"test": {
"$ref": "#/$defs/Template"
},
"token": {
"$ref": "#/$defs/EnvVar"
},
"transform": {
"$ref": "#/$defs/Template"
},
"transformDeleteStrategy": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"$id": "https://github.com/flanksource/canary-checker/api/v1/canary",
"$ref": "#/$defs/Canary",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | Apache-2.0 | en |
Subsets and Splits