2021-04-15 17:36:10 +02:00
|
|
|
{
|
|
|
|
"id": "ruleRegistry",
|
|
|
|
"client": {
|
2021-05-20 19:22:41 +02:00
|
|
|
"classes": [],
|
|
|
|
"functions": [],
|
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
|
|
|
"objects": []
|
|
|
|
},
|
|
|
|
"server": {
|
2021-05-06 19:09:09 +02:00
|
|
|
"classes": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Class",
|
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "RuleDataClient",
|
2021-05-06 19:09:09 +02:00
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"scope": "server",
|
2021-05-06 19:09:09 +02:00
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
2021-05-20 19:22:41 +02:00
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
2021-05-20 19:22:41 +02:00
|
|
|
" implements ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.IRuleDataClient",
|
|
|
|
"text": "IRuleDataClient"
|
|
|
|
}
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.Unnamed",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"label": "Constructor",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
|
|
|
"any"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.Unnamed.$1",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"RuleDataClientConstructorOptions"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-05-06 19:09:09 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleDataClient.isWriteEnabled",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "isWriteEnabled",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => boolean"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [],
|
|
|
|
"returnComment": []
|
|
|
|
},
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.getReader",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "getReader",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(options?: { namespace?: string | undefined; }) => ",
|
|
|
|
"RuleDataReader"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.getReader.$1.options",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleDataClient.getReader.$1.options.namespace",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-05-06 19:09:09 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.getWriter",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "getWriter",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(options?: { namespace?: string | undefined; }) => ",
|
|
|
|
"RuleDataWriter"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleDataClient.getWriter.$1.options",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleDataClient.getWriter.$1.options.namespace",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-05-06 19:09:09 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.RuleDataClient.createWriteTargetIfNeeded",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-07-28 18:44:17 +02:00
|
|
|
"label": "createWriteTargetIfNeeded",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"({ namespace }: { namespace?: string | undefined; }) => Promise<void>"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.RuleDataClient.createWriteTargetIfNeeded.$1.namespace",
|
2021-05-06 21:29:47 +02:00
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "{ namespace }",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.RuleDataClient.createWriteTargetIfNeeded.$1.namespace.namespace",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/index.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-05-06 21:29:47 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 19:09:09 +02:00
|
|
|
"returnComment": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
2021-05-20 19:22:41 +02:00
|
|
|
"functions": [
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.createLifecycleExecutor",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-07-28 18:44:17 +02:00
|
|
|
"label": "createLifecycleExecutor",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-07-28 18:44:17 +02:00
|
|
|
"(logger: ",
|
|
|
|
"Logger",
|
|
|
|
", ruleDataClient: Pick<",
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"scope": "server",
|
2021-05-06 19:09:09 +02:00
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
2021-05-20 19:22:41 +02:00
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
", \"isWriteEnabled\" | \"getReader\" | \"getWriter\" | \"createWriteTargetIfNeeded\">) => <Params extends Record<string, unknown> = never, State extends Record<string, unknown> = never, InstanceState extends { [x: string]: unknown; } = never, InstanceContext extends { [x: string]: unknown; } = never, ActionGroupIds extends string = never>(wrappedExecutor: ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.LifecycleRuleExecutor",
|
|
|
|
"text": "LifecycleRuleExecutor"
|
|
|
|
},
|
|
|
|
"<Params, State, InstanceState, InstanceContext, ActionGroupIds>) => (options: ",
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertExecutorOptions",
|
|
|
|
"text": "AlertExecutorOptions"
|
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"<Params, ",
|
|
|
|
"WrappedLifecycleRuleState",
|
|
|
|
"<State>, InstanceState, InstanceContext, ActionGroupIds>) => Promise<",
|
|
|
|
"WrappedLifecycleRuleState",
|
|
|
|
"<State>>"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
2021-06-07 23:55:35 +02:00
|
|
|
{
|
2021-07-28 18:44:17 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createLifecycleExecutor.$1",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "logger",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Logger"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-06-07 23:55:35 +02:00
|
|
|
},
|
|
|
|
{
|
2021-07-28 18:44:17 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createLifecycleExecutor.$2",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ruleDataClient",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Pick<",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
|
|
|
},
|
|
|
|
", \"isWriteEnabled\" | \"getReader\" | \"getWriter\" | \"createWriteTargetIfNeeded\">"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"returnComment": [],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createLifecycleRuleTypeFactory",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "createLifecycleRuleTypeFactory",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"({ logger, ruleDataClient, }: { ruleDataClient: ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
2021-06-07 23:55:35 +02:00
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"; logger: ",
|
|
|
|
"Logger",
|
|
|
|
"; }) => <TParams extends Record<string, unknown>, TAlertInstanceContext extends { [x: string]: unknown; }, TServices extends { alertWithLifecycle: ",
|
2021-06-07 23:55:35 +02:00
|
|
|
{
|
2021-07-28 18:44:17 +02:00
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.LifecycleAlertService",
|
|
|
|
"text": "LifecycleAlertService"
|
2021-06-07 23:55:35 +02:00
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"<TAlertInstanceContext, string>; }>(type: ",
|
2021-06-07 23:55:35 +02:00
|
|
|
{
|
2021-07-28 18:44:17 +02:00
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.AlertTypeWithExecutor",
|
|
|
|
"text": "AlertTypeWithExecutor"
|
2021-06-07 23:55:35 +02:00
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"<TParams, TAlertInstanceContext, TServices>) => ",
|
2021-06-07 23:55:35 +02:00
|
|
|
{
|
2021-07-28 18:44:17 +02:00
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.AlertTypeWithExecutor",
|
|
|
|
"text": "AlertTypeWithExecutor"
|
2021-06-07 23:55:35 +02:00
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"<TParams, TAlertInstanceContext, any>"
|
2021-06-07 21:02:57 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
2021-06-07 21:02:57 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
2021-06-07 21:02:57 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient",
|
2021-06-07 21:02:57 +02:00
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "{\n logger,\n ruleDataClient,\n}",
|
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
2021-06-07 21:02:57 +02:00
|
|
|
"deprecated": false,
|
2021-07-28 18:44:17 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient.ruleDataClient",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ruleDataClient",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
|
|
|
}
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient.logger",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "logger",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Logger"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-06-07 21:02:57 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"returnComment": [],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.createPersistenceRuleTypeFactory",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "createPersistenceRuleTypeFactory",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"({ logger, ruleDataClient, }: { ruleDataClient: ",
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
2021-06-07 21:02:57 +02:00
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
2021-05-20 19:22:41 +02:00
|
|
|
},
|
2021-06-07 21:02:57 +02:00
|
|
|
"; logger: ",
|
|
|
|
"Logger",
|
|
|
|
"; }) => <TParams extends Record<string, unknown>, TAlertInstanceContext extends { [x: string]: unknown; }, TServices extends { alertWithPersistence: PersistenceAlertService<TAlertInstanceContext>; findAlerts: PersistenceAlertQueryService; }>(type: ",
|
2021-07-28 18:44:17 +02:00
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.AlertTypeWithExecutor",
|
|
|
|
"text": "AlertTypeWithExecutor"
|
|
|
|
},
|
2021-06-07 21:02:57 +02:00
|
|
|
"<TParams, TAlertInstanceContext, TServices>) => { executor: (options: ",
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
2021-06-07 21:02:57 +02:00
|
|
|
"scope": "server",
|
2021-05-20 19:22:41 +02:00
|
|
|
"docId": "kibAlertingPluginApi",
|
2021-06-07 21:02:57 +02:00
|
|
|
"section": "def-server.AlertExecutorOptions",
|
|
|
|
"text": "AlertExecutorOptions"
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
2021-06-07 21:02:57 +02:00
|
|
|
"<TParams, Record<string, unknown>, { [x: string]: unknown; }, TAlertInstanceContext, never> & { services: any; }) => Promise<any>; id: string; name: string; validate?: { params?: ",
|
2021-06-07 23:55:35 +02:00
|
|
|
"AlertTypeParamsValidator",
|
|
|
|
"<TParams> | undefined; } | undefined; actionGroups: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-common.ActionGroup",
|
|
|
|
"text": "ActionGroup"
|
|
|
|
},
|
|
|
|
"<string>[]; defaultActionGroupId: string; recoveryActionGroup?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-common.ActionGroup",
|
|
|
|
"text": "ActionGroup"
|
|
|
|
},
|
|
|
|
"<string> | undefined; producer: string; actionVariables?: { context?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-common.ActionVariable",
|
|
|
|
"text": "ActionVariable"
|
|
|
|
},
|
|
|
|
"[] | undefined; state?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-common.ActionVariable",
|
|
|
|
"text": "ActionVariable"
|
|
|
|
},
|
|
|
|
"[] | undefined; params?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "common",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-common.ActionVariable",
|
|
|
|
"text": "ActionVariable"
|
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"[] | undefined; } | undefined; minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"; useSavedObjectReferences?: { extractReferences: (params: TParams) => ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.RuleParamsAndRefs",
|
|
|
|
"text": "RuleParamsAndRefs"
|
|
|
|
},
|
|
|
|
"<TParams>; injectReferences: (params: TParams, references: ",
|
|
|
|
"SavedObjectReference",
|
|
|
|
"[]) => TParams; } | undefined; isExportable: boolean; }"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-06-07 21:02:57 +02:00
|
|
|
"id": "def-server.createPersistenceRuleTypeFactory.$1",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "{\n logger,\n ruleDataClient,\n}",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"{ ruleDataClient: ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.RuleDataClient",
|
|
|
|
"text": "RuleDataClient"
|
|
|
|
},
|
|
|
|
"; logger: ",
|
|
|
|
"Logger",
|
|
|
|
"; }"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"isRequired": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"returnComment": [],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.getRuleData",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
2021-07-28 18:44:17 +02:00
|
|
|
"label": "getRuleData",
|
2021-05-20 19:22:41 +02:00
|
|
|
"description": [],
|
|
|
|
"signature": [
|
2021-07-28 18:44:17 +02:00
|
|
|
"(options: ",
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertExecutorOptions",
|
|
|
|
"text": "AlertExecutorOptions"
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
2021-08-03 18:48:07 +02:00
|
|
|
"<any, any, any, any, any>) => { \"rule.id\": string; \"rule.uuid\": string; \"rule.category\": string; \"rule.name\": string; tags: string[]; \"kibana.alert.producer\": string; }"
|
2021-05-20 19:22:41 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.getRuleData.$1",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertExecutorOptions",
|
|
|
|
"text": "AlertExecutorOptions"
|
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
"<any, any, any, any, any>"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"isRequired": true
|
2021-05-06 19:09:09 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": [],
|
2021-04-15 17:36:10 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interfaces": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.IRuleDataClient",
|
2021-04-15 17:36:10 +02:00
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "IRuleDataClient",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-04-15 17:36:10 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.IRuleDataClient.getReader",
|
2021-04-15 17:36:10 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "getReader",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-04-15 17:36:10 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(options?: { namespace?: string | undefined; } | undefined) => ",
|
|
|
|
"RuleDataReader"
|
2021-04-15 17:36:10 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-04-15 17:36:10 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.IRuleDataClient.getReader.$1.options",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.IRuleDataClient.getReader.$1.options.namespace",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-04-15 17:36:10 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.IRuleDataClient.getWriter",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "getWriter",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(options?: { namespace?: string | undefined; } | undefined) => ",
|
|
|
|
"RuleDataWriter"
|
2021-05-06 19:09:09 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.IRuleDataClient.getWriter.$1.options",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "options",
|
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.IRuleDataClient.getWriter.$1.options.namespace",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-04-15 17:36:10 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.IRuleDataClient.isWriteEnabled",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "isWriteEnabled",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => boolean"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [],
|
|
|
|
"returnComment": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.IRuleDataClient.createWriteTargetIfNeeded",
|
2021-04-15 17:36:10 +02:00
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-07-28 18:44:17 +02:00
|
|
|
"label": "createWriteTargetIfNeeded",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-04-15 17:36:10 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(options: { namespace?: string | undefined; }) => Promise<void>"
|
2021-04-15 17:36:10 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-04-15 17:36:10 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.IRuleDataClient.createWriteTargetIfNeeded.$1.options",
|
2021-04-15 17:36:10 +02:00
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "options",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-07-28 18:44:17 +02:00
|
|
|
"id": "def-server.IRuleDataClient.createWriteTargetIfNeeded.$1.options.namespace",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "namespace",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"string | undefined"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-04-15 17:36:10 +02:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-04-15 17:36:10 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
2021-07-28 18:44:17 +02:00
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.LifecycleAlertServices",
|
|
|
|
"type": "Interface",
|
|
|
|
"tags": [],
|
|
|
|
"label": "LifecycleAlertServices",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.LifecycleAlertServices",
|
|
|
|
"text": "LifecycleAlertServices"
|
|
|
|
},
|
|
|
|
"<InstanceState, InstanceContext, ActionGroupIds>"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.LifecycleAlertServices.alertWithLifecycle",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "alertWithLifecycle",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(alert: { id: string; fields: Record<string, unknown> & Partial<Pick<OutputOf<",
|
|
|
|
"Optional",
|
2021-08-03 18:48:07 +02:00
|
|
|
"<{ readonly \"kibana.alert.owner\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity.level\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.severity.value\": { readonly type: \"long\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.uuid': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.id': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.name': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.category': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.alert.producer\" | \"kibana.alert.owner\" | \"kibana.alert.id\" | \"kibana.alert.uuid\" | \"kibana.alert.start\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity.level\" | \"kibana.alert.severity.value\" | \"kibana.alert.status\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.space_ids\">>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.alert.producer\" | \"kibana.alert.owner\" | \"kibana.alert.uuid\" | \"kibana.alert.start\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity.level\" | \"kibana.alert.severity.value\" | \"kibana.alert.status\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.space_ids\">>; }) => Pick<",
|
2021-07-28 18:44:17 +02:00
|
|
|
"AlertInstance",
|
|
|
|
"<InstanceState, InstanceContext, ActionGroupIds>, \"getState\" | \"replaceState\" | \"scheduleActions\" | \"scheduleActionsWithSubGroup\">"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.alert",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "alert",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"{ id: string; fields: Record<string, unknown> & Partial<Pick<OutputOf<",
|
|
|
|
"Optional",
|
2021-08-03 18:48:07 +02:00
|
|
|
"<{ readonly \"kibana.alert.owner\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity.level\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.severity.value\": { readonly type: \"long\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.uuid': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.id': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.name': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.category': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.alert.producer\" | \"kibana.alert.owner\" | \"kibana.alert.id\" | \"kibana.alert.uuid\" | \"kibana.alert.start\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity.level\" | \"kibana.alert.severity.value\" | \"kibana.alert.status\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.space_ids\">>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.alert.producer\" | \"kibana.alert.owner\" | \"kibana.alert.uuid\" | \"kibana.alert.start\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity.level\" | \"kibana.alert.severity.value\" | \"kibana.alert.status\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.space_ids\">>; }"
|
2021-07-28 18:44:17 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RacApiRequestHandlerContext",
|
|
|
|
"type": "Interface",
|
|
|
|
"tags": [],
|
|
|
|
"label": "RacApiRequestHandlerContext",
|
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/types.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RacApiRequestHandlerContext.getAlertsClient",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "getAlertsClient",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"() => Promise<",
|
|
|
|
"AlertsClient",
|
|
|
|
">"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/types.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
2021-08-03 17:58:03 +02:00
|
|
|
"children": [],
|
|
|
|
"returnComment": []
|
2021-07-28 18:44:17 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
2021-04-15 17:36:10 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData",
|
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "RuleExecutorData",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData.RULE_CATEGORY",
|
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "[RULE_CATEGORY]",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData.RULE_ID",
|
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "[RULE_ID]",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData.RULE_UUID",
|
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "[RULE_UUID]",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
2021-05-06 19:09:09 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData.RULE_NAME",
|
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "[RULE_NAME]",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
2021-04-15 17:36:10 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-08-03 18:48:07 +02:00
|
|
|
"id": "def-server.RuleExecutorData.ALERT_PRODUCER",
|
2021-05-20 19:22:41 +02:00
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-08-03 18:48:07 +02:00
|
|
|
"label": "[ALERT_PRODUCER]",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleExecutorData.TAGS",
|
|
|
|
"type": "Array",
|
2021-05-06 19:09:09 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "[TAGS]",
|
2021-05-06 19:09:09 +02:00
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"string[]"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false
|
2021-05-06 19:09:09 +02:00
|
|
|
}
|
|
|
|
],
|
2021-04-15 17:36:10 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
2021-05-06 19:09:09 +02:00
|
|
|
"enums": [],
|
|
|
|
"misc": [
|
2021-07-28 18:44:17 +02:00
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.AlertTypeWithExecutor",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "AlertTypeWithExecutor",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Pick<",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertType",
|
|
|
|
"text": "AlertType"
|
|
|
|
},
|
|
|
|
"<TParams, TParams, Record<string, unknown>, { [x: string]: unknown; }, TAlertInstanceContext, string, string>, \"id\" | \"name\" | \"validate\" | \"actionGroups\" | \"defaultActionGroupId\" | \"recoveryActionGroup\" | \"producer\" | \"actionVariables\" | \"minimumLicenseRequired\" | \"useSavedObjectReferences\" | \"isExportable\"> & { executor: ",
|
|
|
|
"AlertTypeExecutor",
|
|
|
|
"<TParams, TAlertInstanceContext, TServices>; }"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/types.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.LifecycleAlertService",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "LifecycleAlertService",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(alert: { id: string; fields: Record<string, unknown>; }) => Pick<",
|
|
|
|
"AlertInstance",
|
|
|
|
"<{ [x: string]: unknown; }, TAlertInstanceContext, TActionGroupIds>, \"getState\" | \"replaceState\" | \"scheduleActions\" | \"scheduleActionsWithSubGroup\">"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
2021-08-03 17:58:03 +02:00
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.alert",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "alert",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"{ id: string; fields: Record<string, unknown>; }"
|
|
|
|
],
|
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts",
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
2021-07-28 18:44:17 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.LifecycleRuleExecutor",
|
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
|
|
|
"label": "LifecycleRuleExecutor",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(options: ",
|
|
|
|
"AlertExecutorOptionsWithExtraServices",
|
|
|
|
"<Params, State, InstanceState, InstanceContext, ActionGroupIds, ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.LifecycleAlertServices",
|
|
|
|
"text": "LifecycleAlertServices"
|
|
|
|
},
|
|
|
|
"<InstanceState, InstanceContext, ActionGroupIds>>) => Promise<void | State>"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
2021-08-03 17:58:03 +02:00
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.options",
|
|
|
|
"type": "CompoundType",
|
|
|
|
"tags": [],
|
|
|
|
"label": "options",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Pick<",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertExecutorOptions",
|
|
|
|
"text": "AlertExecutorOptions"
|
|
|
|
},
|
|
|
|
"<Params, State, InstanceState, InstanceContext, ActionGroupIds>, \"name\" | \"params\" | \"tags\" | \"spaceId\" | \"rule\" | \"createdBy\" | \"updatedBy\" | \"previousStartedAt\" | \"state\" | \"alertId\" | \"namespace\" | \"startedAt\"> & { services: ",
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.AlertServices",
|
|
|
|
"text": "AlertServices"
|
|
|
|
},
|
|
|
|
"<InstanceState, InstanceContext, ActionGroupIds> & ",
|
|
|
|
{
|
|
|
|
"pluginId": "ruleRegistry",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibRuleRegistryPluginApi",
|
|
|
|
"section": "def-server.LifecycleAlertServices",
|
|
|
|
"text": "LifecycleAlertServices"
|
|
|
|
},
|
|
|
|
"<InstanceState, InstanceContext, ActionGroupIds>; }"
|
|
|
|
],
|
|
|
|
"path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts",
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
2021-07-28 18:44:17 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-server.RuleRegistryPluginConfig",
|
2021-05-06 19:09:09 +02:00
|
|
|
"type": "Type",
|
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "RuleRegistryPluginConfig",
|
2021-05-06 19:09:09 +02:00
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
2021-06-07 23:55:35 +02:00
|
|
|
"{ readonly enabled: boolean; readonly index: string; readonly write: Readonly<{} & { enabled: boolean; }>; }"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/config.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-06 19:09:09 +02:00
|
|
|
"initialIsOpen": false
|
2021-05-20 19:22:41 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"objects": [],
|
|
|
|
"setup": {
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginSetupContract",
|
2021-05-28 17:56:31 +02:00
|
|
|
"type": "Interface",
|
2021-05-20 19:22:41 +02:00
|
|
|
"tags": [],
|
|
|
|
"label": "RuleRegistryPluginSetupContract",
|
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false,
|
2021-05-28 17:56:31 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginSetupContract.ruleDataService",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "ruleDataService",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"RuleDataPluginService"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-05-28 17:56:31 +02:00
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginSetupContract.eventLogService",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "eventLogService",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"IEventLogService"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-05-28 17:56:31 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
2021-05-20 19:22:41 +02:00
|
|
|
"lifecycle": "setup",
|
|
|
|
"initialIsOpen": true
|
|
|
|
},
|
|
|
|
"start": {
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginStartContract",
|
2021-07-28 18:44:17 +02:00
|
|
|
"type": "Interface",
|
2021-05-20 19:22:41 +02:00
|
|
|
"tags": [],
|
|
|
|
"label": "RuleRegistryPluginStartContract",
|
|
|
|
"description": [],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false,
|
2021-07-28 18:44:17 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginStartContract.getRacClientWithRequest",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "getRacClientWithRequest",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(req: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreHttpPluginApi",
|
|
|
|
"section": "def-server.KibanaRequest",
|
|
|
|
"text": "KibanaRequest"
|
|
|
|
},
|
|
|
|
"<unknown, unknown, unknown, any>) => Promise<",
|
|
|
|
"AlertsClient",
|
|
|
|
">"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-08-03 17:58:03 +02:00
|
|
|
"id": "def-server.RuleRegistryPluginStartContract.getRacClientWithRequest.$1",
|
2021-07-28 18:44:17 +02:00
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "req",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreHttpPluginApi",
|
|
|
|
"section": "def-server.KibanaRequest",
|
|
|
|
"text": "KibanaRequest"
|
|
|
|
},
|
|
|
|
"<unknown, unknown, unknown, any>"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-08-03 17:58:03 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-07-28 18:44:17 +02:00
|
|
|
}
|
2021-08-03 17:58:03 +02:00
|
|
|
],
|
|
|
|
"returnComment": []
|
2021-07-28 18:44:17 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-server.RuleRegistryPluginStartContract.alerting",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "alerting",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "alerting",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibAlertingPluginApi",
|
|
|
|
"section": "def-server.PluginStartContract",
|
|
|
|
"text": "PluginStartContract"
|
|
|
|
}
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
|
2021-07-28 18:44:17 +02:00
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
],
|
2021-05-20 19:22:41 +02:00
|
|
|
"lifecycle": "start",
|
|
|
|
"initialIsOpen": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"common": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [
|
2021-05-06 19:09:09 +02:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "ruleRegistry",
|
2021-05-20 19:22:41 +02:00
|
|
|
"id": "def-common.parseTechnicalFields",
|
|
|
|
"type": "Function",
|
2021-05-06 19:09:09 +02:00
|
|
|
"tags": [],
|
2021-05-20 19:22:41 +02:00
|
|
|
"label": "parseTechnicalFields",
|
2021-05-06 19:09:09 +02:00
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
2021-05-20 19:22:41 +02:00
|
|
|
"(input: unknown) => OutputOf<",
|
|
|
|
"Optional",
|
2021-08-03 18:48:07 +02:00
|
|
|
"<{ readonly \"kibana.alert.owner\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity.level\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.severity.value\": { readonly type: \"long\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.uuid': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.id': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.name': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.category': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.alert.producer\" | \"kibana.alert.owner\" | \"kibana.alert.id\" | \"kibana.alert.uuid\" | \"kibana.alert.start\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity.level\" | \"kibana.alert.severity.value\" | \"kibana.alert.status\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.space_ids\">>"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts",
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false,
|
2021-05-20 19:22:41 +02:00
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "ruleRegistry",
|
|
|
|
"id": "def-common.parseTechnicalFields.$1",
|
|
|
|
"type": "Unknown",
|
|
|
|
"tags": [],
|
|
|
|
"label": "input",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"unknown"
|
|
|
|
],
|
2021-08-02 18:57:22 +02:00
|
|
|
"path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts",
|
2021-05-20 19:22:41 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
|
|
|
}
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-05-20 19:22:41 +02:00
|
|
|
"returnComment": [],
|
2021-05-06 19:09:09 +02:00
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
2021-05-20 19:22:41 +02:00
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
|
|
|
"objects": []
|
2021-04-15 17:36:10 +02:00
|
|
|
}
|
|
|
|
}
|