* Track stats and add extra output information * Update api docs output * Clean up id names * update api docs * Consolidate error messages and fix a bug * Update docs * Update get_declaration_nodes_for_plugin.ts * Fix bug with removeBrokenLinks not being recursive * Update docs Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1849 lines
59 KiB
JSON
1849 lines
59 KiB
JSON
{
|
|
"id": "actions",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"id": "def-server.asHttpRequestExecutionSource",
|
|
"type": "Function",
|
|
"label": "asHttpRequestExecutionSource",
|
|
"signature": [
|
|
"(source: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>) => ",
|
|
"HttpRequestExecutionSource"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.asHttpRequestExecutionSource.$1",
|
|
"type": "Object",
|
|
"label": "source",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/lib/action_execution_source.ts",
|
|
"lineNumber": 22
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/lib/action_execution_source.ts",
|
|
"lineNumber": 22
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.asSavedObjectExecutionSource",
|
|
"type": "Function",
|
|
"label": "asSavedObjectExecutionSource",
|
|
"signature": [
|
|
"(source: Pick<",
|
|
"SavedObjectReference",
|
|
", \"type\" | \"id\">) => ",
|
|
"SavedObjectExecutionSource"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.asSavedObjectExecutionSource.$1",
|
|
"type": "Object",
|
|
"label": "source",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Pick<",
|
|
"SavedObjectReference",
|
|
", \"type\" | \"id\">"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/lib/action_execution_source.ts",
|
|
"lineNumber": 30
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/lib/action_execution_source.ts",
|
|
"lineNumber": 29
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"id": "def-server.ActionResult",
|
|
"type": "Interface",
|
|
"label": "ActionResult",
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionResult",
|
|
"text": "ActionResult"
|
|
},
|
|
"<Config>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionResult.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 63
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionResult.actionTypeId",
|
|
"type": "string",
|
|
"label": "actionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 64
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionResult.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 65
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionResult.config",
|
|
"type": "Uncategorized",
|
|
"label": "config",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 66
|
|
},
|
|
"signature": [
|
|
"Config | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionResult.isPreconfigured",
|
|
"type": "boolean",
|
|
"label": "isPreconfigured",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 67
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 62
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionsApiRequestHandlerContext",
|
|
"type": "Interface",
|
|
"label": "ActionsApiRequestHandlerContext",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionsApiRequestHandlerContext.getActionsClient",
|
|
"type": "Function",
|
|
"label": "getActionsClient",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 40
|
|
},
|
|
"signature": [
|
|
"() => ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionsClient",
|
|
"text": "ActionsClient"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionsApiRequestHandlerContext.listTypes",
|
|
"type": "Function",
|
|
"label": "listTypes",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 41
|
|
},
|
|
"signature": [
|
|
"() => ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "common",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-common.ActionType",
|
|
"text": "ActionType"
|
|
},
|
|
"[]"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 39
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionsPlugin",
|
|
"type": "Interface",
|
|
"label": "ActionsPlugin",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionsPlugin.setup",
|
|
"type": "Object",
|
|
"label": "setup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 49
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.PluginSetupContract",
|
|
"text": "PluginSetupContract"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionsPlugin.start",
|
|
"type": "Object",
|
|
"label": "start",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 50
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.PluginStartContract",
|
|
"text": "PluginStartContract"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 48
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionType",
|
|
"type": "Interface",
|
|
"label": "ActionType",
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionType",
|
|
"text": "ActionType"
|
|
},
|
|
"<Config, Secrets, Params, ExecutorResultData>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 101
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 102
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.maxAttempts",
|
|
"type": "number",
|
|
"label": "maxAttempts",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 103
|
|
},
|
|
"signature": [
|
|
"number | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.minimumLicenseRequired",
|
|
"type": "CompoundType",
|
|
"label": "minimumLicenseRequired",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 104
|
|
},
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.validate",
|
|
"type": "Object",
|
|
"label": "validate",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 105
|
|
},
|
|
"signature": [
|
|
"{ params?: ValidatorType<Params> | undefined; config?: ValidatorType<Config> | undefined; secrets?: ValidatorType<Secrets> | undefined; } | undefined"
|
|
]
|
|
},
|
|
{
|
|
"id": "def-server.ActionType.renderParameterTemplates",
|
|
"type": "Function",
|
|
"label": "renderParameterTemplates",
|
|
"signature": [
|
|
"((params: Params, variables: Record<string, unknown>, actionId?: string | undefined) => Params) | undefined"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.ActionType.renderParameterTemplates.$1",
|
|
"type": "Uncategorized",
|
|
"label": "params",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Params"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 111
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.ActionType.renderParameterTemplates.$2",
|
|
"type": "Object",
|
|
"label": "variables",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Record<string, unknown>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 112
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.ActionType.renderParameterTemplates.$3",
|
|
"type": "string",
|
|
"label": "actionId",
|
|
"isRequired": false,
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 113
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 110
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionType.executor",
|
|
"type": "Function",
|
|
"label": "executor",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 115
|
|
},
|
|
"signature": [
|
|
"ExecutorType",
|
|
"<Config, Secrets, Params, ExecutorResultData>"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 95
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionTypeExecutorOptions",
|
|
"type": "Interface",
|
|
"label": "ActionTypeExecutorOptions",
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionTypeExecutorOptions",
|
|
"text": "ActionTypeExecutorOptions"
|
|
},
|
|
"<Config, Secrets, Params>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeExecutorOptions.actionId",
|
|
"type": "string",
|
|
"label": "actionId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 55
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeExecutorOptions.services",
|
|
"type": "Object",
|
|
"label": "services",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 56
|
|
},
|
|
"signature": [
|
|
"Services"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeExecutorOptions.config",
|
|
"type": "Uncategorized",
|
|
"label": "config",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 57
|
|
},
|
|
"signature": [
|
|
"Config"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeExecutorOptions.secrets",
|
|
"type": "Uncategorized",
|
|
"label": "secrets",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 58
|
|
},
|
|
"signature": [
|
|
"Secrets"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeExecutorOptions.params",
|
|
"type": "Uncategorized",
|
|
"label": "params",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 59
|
|
},
|
|
"signature": [
|
|
"Params"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 54
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.PreConfiguredAction",
|
|
"type": "Interface",
|
|
"label": "PreConfiguredAction",
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.PreConfiguredAction",
|
|
"text": "PreConfiguredAction"
|
|
},
|
|
"<Config, Secrets> extends ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionResult",
|
|
"text": "ActionResult"
|
|
},
|
|
"<Config>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.PreConfiguredAction.secrets",
|
|
"type": "Uncategorized",
|
|
"label": "secrets",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 74
|
|
},
|
|
"signature": [
|
|
"Secrets"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/types.ts",
|
|
"lineNumber": 70
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/email.ts",
|
|
"lineNumber": 99
|
|
},
|
|
"signature": [
|
|
"{ readonly to: string[]; readonly message: string; readonly cc: string[]; readonly bcc: string[]; readonly subject: string; readonly kibanaFooterLink: Readonly<{} & { text: string; path: string; }>; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/es_index.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"signature": [
|
|
"{ readonly documents: Record<string, any>[]; readonly indexOverride: string | null; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
|
|
"lineNumber": 50
|
|
},
|
|
"signature": [
|
|
"{ readonly source?: string | undefined; readonly summary?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"warning\" | \"info\" | \"error\" | \"critical\" | undefined; readonly timestamp?: string | undefined; readonly component?: string | undefined; readonly group?: string | undefined; readonly class?: string | undefined; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/server_log.ts",
|
|
"lineNumber": 25
|
|
},
|
|
"signature": [
|
|
"{ readonly message: string; readonly level: \"info\" | \"error\" | \"debug\" | \"trace\" | \"warn\" | \"fatal\"; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/slack.ts",
|
|
"lineNumber": 48
|
|
},
|
|
"signature": [
|
|
"{ readonly message: string; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/webhook.ts",
|
|
"lineNumber": 71
|
|
},
|
|
"signature": [
|
|
"{ readonly body?: string | undefined; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/servicenow/index.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"signature": [
|
|
"Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { description: string | null; category: string | null; severity: string | null; externalId: string | null; urgency: string | null; impact: string | null; short_description: string; subcategory: string | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"getChoices\"; subActionParams: Readonly<{} & { fields: string[]; }>; }> | Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { description: string | null; category: string | null; externalId: string | null; short_description: string; subcategory: string | null; dest_ip: string | null; malware_hash: string | null; malware_url: string | null; source_ip: string | null; priority: string | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"getChoices\"; subActionParams: Readonly<{} & { fields: string[]; }>; }>"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/jira/index.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"signature": [
|
|
"Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { description: string | null; parent: string | null; summary: string; externalId: string | null; priority: string | null; issueType: string | null; labels: string[] | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"issueTypes\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"fieldsByIssueType\"; subActionParams: Readonly<{} & { id: string; }>; }> | Readonly<{} & { subAction: \"issues\"; subActionParams: Readonly<{} & { title: string; }>; }> | Readonly<{} & { subAction: \"issue\"; subActionParams: Readonly<{} & { id: string; }>; }>"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/resilient/index.ts",
|
|
"lineNumber": 34
|
|
},
|
|
"signature": [
|
|
"Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { description: string | null; name: string; externalId: string | null; incidentTypes: number[] | null; severityCode: number | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"incidentTypes\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"severity\"; subActionParams: Readonly<{} & {}>; }>"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionParamsType",
|
|
"type": "Type",
|
|
"label": "ActionParamsType",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/teams.ts",
|
|
"lineNumber": 40
|
|
},
|
|
"signature": [
|
|
"{ readonly message: string; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionsAuthorization",
|
|
"type": "Type",
|
|
"label": "ActionsAuthorization",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/index.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"signature": [
|
|
"{ ensureAuthorized: (operation: string, actionTypeId?: string | undefined) => Promise<void>; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-server.ActionsClient",
|
|
"type": "Type",
|
|
"label": "ActionsClient",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/index.ts",
|
|
"lineNumber": 15
|
|
},
|
|
"signature": [
|
|
"{ get: ({ id }: { id: string; }) => Promise<",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionResult",
|
|
"text": "ActionResult"
|
|
},
|
|
"<Record<string, unknown>>>; delete: ({ id }: { id: string; }) => Promise<{}>; create: ({ action: { actionTypeId, name, config, secrets }, }: ",
|
|
"CreateOptions",
|
|
") => Promise<",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionResult",
|
|
"text": "ActionResult"
|
|
},
|
|
"<Record<string, unknown>>>; update: ({ id, action }: ",
|
|
"UpdateOptions",
|
|
") => Promise<",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionResult",
|
|
"text": "ActionResult"
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/email.ts",
|
|
"lineNumber": 143
|
|
},
|
|
"signature": [
|
|
"\".email\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/es_index.ts",
|
|
"lineNumber": 54
|
|
},
|
|
"signature": [
|
|
"\".index\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
|
|
"lineNumber": 121
|
|
},
|
|
"signature": [
|
|
"\".pagerduty\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/server_log.ts",
|
|
"lineNumber": 42
|
|
},
|
|
"signature": [
|
|
"\".server-log\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/slack.ts",
|
|
"lineNumber": 56
|
|
},
|
|
"signature": [
|
|
"\".slack\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/webhook.ts",
|
|
"lineNumber": 76
|
|
},
|
|
"signature": [
|
|
"\".webhook\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/jira/index.ts",
|
|
"lineNumber": 52
|
|
},
|
|
"signature": [
|
|
"\".jira\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/resilient/index.ts",
|
|
"lineNumber": 43
|
|
},
|
|
"signature": [
|
|
"\".resilient\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ActionTypeId",
|
|
"type": "string",
|
|
"label": "ActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/teams.ts",
|
|
"lineNumber": 46
|
|
},
|
|
"signature": [
|
|
"\".teams\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ServiceNowITSMActionTypeId",
|
|
"type": "string",
|
|
"label": "ServiceNowITSMActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/servicenow/index.ts",
|
|
"lineNumber": 47
|
|
},
|
|
"signature": [
|
|
"\".servicenow\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ServiceNowSIRActionTypeId",
|
|
"type": "string",
|
|
"label": "ServiceNowSIRActionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/builtin_action_types/servicenow/index.ts",
|
|
"lineNumber": 48
|
|
},
|
|
"signature": [
|
|
"\".servicenow-sir\""
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"id": "def-server.PluginSetupContract",
|
|
"type": "Interface",
|
|
"label": "PluginSetupContract",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginSetupContract.registerType",
|
|
"type": "Function",
|
|
"label": "registerType",
|
|
"signature": [
|
|
"<Config extends Record<string, unknown> = Record<string, unknown>, Secrets extends Record<string, unknown> = Record<string, unknown>, Params extends Record<string, unknown> = Record<string, unknown>, ExecutorResultData = void>(actionType: ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionType",
|
|
"text": "ActionType"
|
|
},
|
|
"<Config, Secrets, Params, ExecutorResultData>) => void"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginSetupContract.registerType.$1",
|
|
"type": "Object",
|
|
"label": "actionType",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionType",
|
|
"text": "ActionType"
|
|
},
|
|
"<Config, Secrets, Params, ExecutorResultData>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 88
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 82
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 81
|
|
},
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
},
|
|
"start": {
|
|
"id": "def-server.PluginStartContract",
|
|
"type": "Interface",
|
|
"label": "PluginStartContract",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionTypeEnabled",
|
|
"type": "Function",
|
|
"label": "isActionTypeEnabled",
|
|
"signature": [
|
|
"(id: string, options?: { notifyUsage: boolean; } | undefined) => boolean"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionTypeEnabled.$1",
|
|
"type": "string",
|
|
"label": "id",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 93
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionTypeEnabled.$2.options",
|
|
"type": "Object",
|
|
"label": "options",
|
|
"tags": [],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.PluginStartContract.isActionTypeEnabled.$2.options.notifyUsage",
|
|
"type": "boolean",
|
|
"label": "notifyUsage",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 93
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 93
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 93
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionExecutable",
|
|
"type": "Function",
|
|
"label": "isActionExecutable",
|
|
"signature": [
|
|
"(actionId: string, actionTypeId: string, options?: { notifyUsage: boolean; } | undefined) => boolean"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionExecutable.$1",
|
|
"type": "string",
|
|
"label": "actionId",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 95
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionExecutable.$2",
|
|
"type": "string",
|
|
"label": "actionTypeId",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 96
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.isActionExecutable.$3.options",
|
|
"type": "Object",
|
|
"label": "options",
|
|
"tags": [],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.PluginStartContract.isActionExecutable.$3.options.notifyUsage",
|
|
"type": "boolean",
|
|
"label": "notifyUsage",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 97
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 97
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 94
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.getActionsClientWithRequest",
|
|
"type": "Function",
|
|
"label": "getActionsClientWithRequest",
|
|
"signature": [
|
|
"(request: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>) => Promise<Pick<",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionsClient",
|
|
"text": "ActionsClient"
|
|
},
|
|
", \"get\" | \"delete\" | \"create\" | \"update\" | \"execute\" | \"getAll\" | \"getBulk\" | \"enqueueExecution\" | \"listTypes\" | \"isActionTypeEnabled\">>"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.getActionsClientWithRequest.$1",
|
|
"type": "Object",
|
|
"label": "request",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 99
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 99
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.getActionsAuthorizationWithRequest",
|
|
"type": "Function",
|
|
"label": "getActionsAuthorizationWithRequest",
|
|
"signature": [
|
|
"(request: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>) => Pick<",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.ActionsAuthorization",
|
|
"text": "ActionsAuthorization"
|
|
},
|
|
", \"ensureAuthorized\">"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.getActionsAuthorizationWithRequest.$1",
|
|
"type": "Object",
|
|
"label": "request",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 100
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 100
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.PluginStartContract.preconfiguredActions",
|
|
"type": "Array",
|
|
"label": "preconfiguredActions",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 101
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "server",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-server.PreConfiguredAction",
|
|
"text": "PreConfiguredAction"
|
|
},
|
|
"<Record<string, unknown>, Record<string, unknown>>[]"
|
|
]
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.renderActionParameterTemplates",
|
|
"type": "Function",
|
|
"label": "renderActionParameterTemplates",
|
|
"signature": [
|
|
"<Params extends Record<string, unknown> = Record<string, unknown>>(actionTypeId: string, actionId: string, params: Params, variables: Record<string, unknown>) => Params"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-server.PluginStartContract.renderActionParameterTemplates.$1",
|
|
"type": "string",
|
|
"label": "actionTypeId",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 103
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.renderActionParameterTemplates.$2",
|
|
"type": "string",
|
|
"label": "actionId",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 104
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.renderActionParameterTemplates.$3",
|
|
"type": "Uncategorized",
|
|
"label": "params",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Params"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 105
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.PluginStartContract.renderActionParameterTemplates.$4",
|
|
"type": "Object",
|
|
"label": "variables",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Record<string, unknown>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 106
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 102
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 92
|
|
},
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"id": "def-common.buildAlertHistoryDocument",
|
|
"type": "Function",
|
|
"children": [
|
|
{
|
|
"id": "def-common.buildAlertHistoryDocument.$1",
|
|
"type": "Object",
|
|
"label": "variables",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"Record<string, unknown>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 14
|
|
}
|
|
}
|
|
],
|
|
"signature": [
|
|
"(variables: Record<string, unknown>) => { event: { kind: string; }; kibana?: { alert: { actionGroupName?: string; actionGroup?: string; context?: { [x: string]: Record<string, unknown>; }; id?: string; }; }; rule?: { type?: string; space?: string; params?: { [x: string]: Record<string, unknown>; }; name?: string; id?: string; }; message?: unknown; tags?: string[]; '@timestamp': string; } | null"
|
|
],
|
|
"description": [],
|
|
"label": "buildAlertHistoryDocument",
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.isActionTypeExecutorResult",
|
|
"type": "Function",
|
|
"label": "isActionTypeExecutorResult",
|
|
"signature": [
|
|
"(result: unknown) => boolean"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"id": "def-common.isActionTypeExecutorResult.$1",
|
|
"type": "Unknown",
|
|
"label": "result",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"unknown"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 43
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 42
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"id": "def-common.ActionResult",
|
|
"type": "Interface",
|
|
"label": "ActionResult",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionResult.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 20
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionResult.actionTypeId",
|
|
"type": "string",
|
|
"label": "actionTypeId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 21
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionResult.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 22
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionResult.config",
|
|
"type": "Object",
|
|
"label": "config",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 25
|
|
},
|
|
"signature": [
|
|
"Record<string, any>"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionResult.isPreconfigured",
|
|
"type": "boolean",
|
|
"label": "isPreconfigured",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 26
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.ActionType",
|
|
"type": "Interface",
|
|
"label": "ActionType",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 11
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 12
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.enabled",
|
|
"type": "boolean",
|
|
"label": "enabled",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 13
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.enabledInConfig",
|
|
"type": "boolean",
|
|
"label": "enabledInConfig",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 14
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.enabledInLicense",
|
|
"type": "boolean",
|
|
"label": "enabledInLicense",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 15
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionType.minimumLicenseRequired",
|
|
"type": "CompoundType",
|
|
"label": "minimumLicenseRequired",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"signature": [
|
|
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 10
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.ActionTypeExecutorResult",
|
|
"type": "Interface",
|
|
"label": "ActionTypeExecutorResult",
|
|
"signature": [
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "common",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-common.ActionTypeExecutorResult",
|
|
"text": "ActionTypeExecutorResult"
|
|
},
|
|
"<Data>"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.actionId",
|
|
"type": "string",
|
|
"label": "actionId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 34
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.status",
|
|
"type": "CompoundType",
|
|
"label": "status",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"signature": [
|
|
"\"error\" | \"ok\""
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.message",
|
|
"type": "string",
|
|
"label": "message",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.serviceMessage",
|
|
"type": "string",
|
|
"label": "serviceMessage",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 37
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.data",
|
|
"type": "Uncategorized",
|
|
"label": "data",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 38
|
|
},
|
|
"signature": [
|
|
"Data | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ActionTypeExecutorResult.retry",
|
|
"type": "CompoundType",
|
|
"label": "retry",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 39
|
|
},
|
|
"signature": [
|
|
"boolean | Date | null | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/types.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ALERT_HISTORY_PREFIX",
|
|
"type": "string",
|
|
"label": "ALERT_HISTORY_PREFIX",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 10
|
|
},
|
|
"signature": [
|
|
"\"kibana-alert-history-\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.AlertHistoryDefaultIndexName",
|
|
"type": "string",
|
|
"label": "AlertHistoryDefaultIndexName",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 11
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.AlertHistoryDocumentTemplate",
|
|
"type": "CompoundType",
|
|
"label": "AlertHistoryDocumentTemplate",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 73
|
|
},
|
|
"signature": [
|
|
"Readonly<{ event: { kind: string; }; kibana?: { alert: { actionGroupName?: string; actionGroup?: string; context?: { [x: string]: Record<string, unknown>; }; id?: string; }; }; rule?: { type?: string; space?: string; params?: { [x: string]: Record<string, unknown>; }; name?: string; id?: string; }; message?: unknown; tags?: string[]; '@timestamp': string; }> | null"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.AlertHistoryEsIndexConnectorId",
|
|
"type": "string",
|
|
"label": "AlertHistoryEsIndexConnectorId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/alert_history_schema.ts",
|
|
"lineNumber": 12
|
|
},
|
|
"signature": [
|
|
"\"preconfigured-alert-history-es-index\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.AsApiContract",
|
|
"type": "Type",
|
|
"label": "AsApiContract",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/rewrite_request_case.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"signature": [
|
|
"{ [K in keyof T as CamelToSnake<RenameActionToConnector<Extract<K, string>>>]: T[K]; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.BASE_ACTION_API_PATH",
|
|
"type": "string",
|
|
"label": "BASE_ACTION_API_PATH",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/index.ts",
|
|
"lineNumber": 12
|
|
},
|
|
"signature": [
|
|
"\"/api/actions\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.RewriteRequestCase",
|
|
"type": "Type",
|
|
"label": "RewriteRequestCase",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/rewrite_request_case.ts",
|
|
"lineNumber": 18
|
|
},
|
|
"signature": [
|
|
"(requested: ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "common",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-common.AsApiContract",
|
|
"text": "AsApiContract"
|
|
},
|
|
"<T>) => T"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.RewriteResponseCase",
|
|
"type": "Type",
|
|
"label": "RewriteResponseCase",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/actions/common/rewrite_request_case.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"signature": [
|
|
"(responded: T) => T extends (infer Item)[] ? ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "common",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-common.AsApiContract",
|
|
"text": "AsApiContract"
|
|
},
|
|
"<Item>[] : ",
|
|
{
|
|
"pluginId": "actions",
|
|
"scope": "common",
|
|
"docId": "kibActionsPluginApi",
|
|
"section": "def-common.AsApiContract",
|
|
"text": "AsApiContract"
|
|
},
|
|
"<T>"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
}
|
|
} |