2021-03-03 04:02:17 +01:00
{
"id" : "securitySolution" ,
"client" : {
"classes" : [
{
"id" : "def-public.Plugin" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "Plugin" ,
"description" : [ ] ,
"signature" : [
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.Plugin" ,
"text" : "Plugin"
} ,
2021-03-03 04:02:17 +01:00
" implements " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.Plugin" ,
"text" : "Plugin"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.PluginSetup" ,
"text" : "PluginSetup"
} ,
2021-03-03 04:02:17 +01:00
", " ,
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.PluginStart" ,
"text" : "PluginStart"
} ,
2021-03-03 04:02:17 +01:00
", " ,
"SetupPlugins"
] ,
"children" : [
{
"id" : "def-public.Plugin.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Plugin.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "initializerContext" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.PluginInitializerContext" ,
"text" : "PluginInitializerContext"
} ,
"<object>"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 79
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 79
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Plugin.setup" ,
"type" : "Function" ,
"label" : "setup" ,
"signature" : [
"(core: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.CoreSetup" ,
"text" : "CoreSetup"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
", " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.PluginStart" ,
2021-03-03 04:02:17 +01:00
"text" : "PluginStart"
} ,
">, plugins: " ,
2021-04-15 17:36:10 +02:00
"SetupPlugins" ,
2021-03-03 04:02:17 +01:00
") => " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.PluginSetup" ,
2021-03-03 04:02:17 +01:00
"text" : "PluginSetup"
}
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Plugin.setup.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "core" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.CoreSetup" ,
"text" : "CoreSetup"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
", " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "public" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-public.PluginStart" ,
2021-03-03 04:02:17 +01:00
"text" : "PluginStart"
} ,
">"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 103
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Plugin.setup.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "plugins" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SetupPlugins"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 103
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 103
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Plugin.start" ,
"type" : "Function" ,
"label" : "start" ,
"signature" : [
"(core: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.CoreStart" ,
"text" : "CoreStart"
} ,
", plugins: " ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
") => {}"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Plugin.start.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "core" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.CoreStart" ,
"text" : "CoreStart"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 353
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.Plugin.start.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "plugins" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"StartPlugins"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 353
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 353
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.Plugin.stop" ,
"type" : "Function" ,
"label" : "stop" ,
"signature" : [
"() => {}"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 398
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/plugin.tsx" ,
2021-03-30 14:27:28 +02:00
"lineNumber" : 75
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ] ,
"setup" : {
"id" : "def-public.PluginSetup" ,
"type" : "Interface" ,
"label" : "PluginSetup" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.PluginSetup.resolver" ,
"type" : "Function" ,
"label" : "resolver" ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 69
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"() => Promise<" ,
2021-04-15 17:36:10 +02:00
"ResolverPluginSetup" ,
2021-03-03 04:02:17 +01:00
">"
]
}
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 68
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
"id" : "def-public.PluginStart" ,
"type" : "Interface" ,
"label" : "PluginStart" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/public/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 72
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [
2021-03-06 02:12:28 +01:00
{
"id" : "def-server.AppClient" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "AppClient" ,
"description" : [ ] ,
"children" : [
{
"id" : "def-server.AppClient.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.AppClient.Unnamed.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "spaceId" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/client/client.ts" ,
"lineNumber" : 13
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.AppClient.Unnamed.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "config" ,
"isRequired" : true ,
"signature" : [
2021-03-23 19:31:08 +01:00
"Readonly<{} & { enabled: boolean; signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; enableExperimental: string[]; endpointResultListDefaultFirstPageIndex: number; endpointResultListDefaultPageSize: number; alertResultListDefaultDateRange: Readonly<{} & { from: string; to: string; }>; packagerTaskInterval: string; validateArtifactDownloads: boolean; }>"
2021-03-06 02:12:28 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/client/client.ts" ,
"lineNumber" : 13
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/client/client.ts" ,
"lineNumber" : 13
}
} ,
{
"id" : "def-server.AppClient.getSignalsIndex" ,
"type" : "Function" ,
"children" : [ ] ,
"signature" : [
"() => string"
] ,
"description" : [ ] ,
"label" : "getSignalsIndex" ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/client/client.ts" ,
"lineNumber" : 19
} ,
"tags" : [ ] ,
"returnComment" : [ ]
}
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/client/client.ts" ,
"lineNumber" : 10
} ,
"initialIsOpen" : false
} ,
2021-03-03 04:02:17 +01:00
{
"id" : "def-server.Plugin" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "Plugin" ,
"description" : [ ] ,
"signature" : [
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.Plugin" ,
"text" : "Plugin"
} ,
2021-03-03 04:02:17 +01:00
" implements " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.Plugin" ,
"text" : "Plugin"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.PluginSetup" ,
"text" : "PluginSetup"
} ,
2021-03-03 04:02:17 +01:00
", " ,
2021-04-15 17:36:10 +02:00
{
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.PluginStart" ,
"text" : "PluginStart"
} ,
2021-03-03 04:02:17 +01:00
", " ,
"SetupPlugins"
] ,
"children" : [
{
"id" : "def-server.Plugin.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.Plugin.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "context" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.PluginInitializerContext" ,
"text" : "PluginInitializerContext"
} ,
"<unknown>"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 147
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 147
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-server.Plugin.setup" ,
"type" : "Function" ,
"label" : "setup" ,
"signature" : [
"(core: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreSetup" ,
"text" : "CoreSetup"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
", " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.PluginStart" ,
2021-03-03 04:02:17 +01:00
"text" : "PluginStart"
} ,
">, plugins: " ,
2021-04-15 17:36:10 +02:00
"SetupPlugins" ,
2021-03-03 04:02:17 +01:00
") => {}"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.Plugin.setup.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "core" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreSetup" ,
"text" : "CoreSetup"
} ,
"<" ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
", " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.PluginStart" ,
2021-03-03 04:02:17 +01:00
"text" : "PluginStart"
} ,
">"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 159
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.Plugin.setup.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "plugins" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SetupPlugins"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 159
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 159
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-server.Plugin.start" ,
"type" : "Function" ,
"label" : "start" ,
"signature" : [
"(core: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreStart" ,
"text" : "CoreStart"
} ,
", plugins: " ,
2021-04-15 17:36:10 +02:00
"StartPlugins" ,
2021-03-03 04:02:17 +01:00
") => {}"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.Plugin.start.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "core" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreStart" ,
"text" : "CoreStart"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 341
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.Plugin.start.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "plugins" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"StartPlugins"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 341
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 341
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-server.Plugin.stop" ,
"type" : "Function" ,
"label" : "stop" ,
"signature" : [
"() => void"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 423
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 131
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
}
] ,
"functions" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.buildRouteValidation" ,
"type" : "Function" ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.buildRouteValidation.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Uncategorized" ,
"label" : "schema" ,
"isRequired" : true ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"T"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/utils/build_validation/route_validation.ts" ,
"lineNumber" : 31
2021-03-03 04:02:17 +01:00
}
2021-03-06 02:12:28 +01:00
}
] ,
"signature" : [
"<T extends " ,
"Mixed" ,
", A = " ,
"TypeOf" ,
"<T>>(schema: T) => " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreHttpPluginApi" ,
"section" : "def-server.RouteValidationFunction" ,
"text" : "RouteValidationFunction"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<A>"
] ,
"description" : [ ] ,
"label" : "buildRouteValidation" ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/utils/build_validation/route_validation.ts" ,
"lineNumber" : 30
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-server.buildSiemResponse" ,
"type" : "Function" ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.buildSiemResponse.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "response" ,
"isRequired" : true ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"{ custom: <T extends string | Record<string, any> | Error | { message: string | Error; attributes?: Record<string, any> | undefined; } | Buffer | " ,
"Stream" ,
" | undefined>(options: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreHttpPluginApi" ,
"section" : "def-server.CustomHttpResponseOptions" ,
"text" : "CustomHttpResponseOptions"
} ,
"<T>) => " ,
2021-04-15 17:36:10 +02:00
"KibanaResponse" ,
2021-03-06 02:12:28 +01:00
"<T>; badRequest: (options?: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreHttpPluginApi" ,
"section" : "def-server.ErrorHttpResponseOptions" ,
"text" : "ErrorHttpResponseOptions"
} ,
") => " ,
2021-04-15 17:36:10 +02:00
"KibanaResponse"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts" ,
"lineNumber" : 291
}
2021-03-03 04:02:17 +01:00
}
] ,
2021-03-06 02:12:28 +01:00
"signature" : [
"(response: { custom: <T extends string | Record<string, any> | Error | { message: string | Error; attributes?: Record<string, any> | undefined; } | Buffer | " ,
"Stream" ,
" | undefined>(options: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreHttpPluginApi" ,
"section" : "def-server.CustomHttpResponseOptions" ,
"text" : "CustomHttpResponseOptions"
} ,
"<T>) => " ,
"KibanaResponse" ,
"<T>; badRequest: (options?: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreHttpPluginApi" ,
"section" : "def-server.ErrorHttpResponseOptions" ,
"text" : "ErrorHttpResponseOptions"
} ,
") => " ,
"KibanaResponse"
] ,
"description" : [ ] ,
"label" : "buildSiemResponse" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts" ,
"lineNumber" : 291
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"returnComment" : [ ] ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.createBootstrapIndex" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.createBootstrapIndex.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/create_bootstrap_index.ts" ,
"lineNumber" : 14
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.createBootstrapIndex.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "index" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/create_bootstrap_index.ts" ,
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", index: string) => Promise<unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "createBootstrapIndex" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/create_bootstrap_index.ts" ,
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.deleteAllIndex" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deleteAllIndex.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_all_index.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deleteAllIndex.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "pattern" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_all_index.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 12
2021-03-06 02:12:28 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deleteAllIndex.$3" ,
2021-03-06 02:12:28 +01:00
"type" : "number" ,
"label" : "maxAttempts" ,
"isRequired" : true ,
"signature" : [
"number"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_all_index.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", pattern: string, maxAttempts?: number) => Promise<boolean>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "deleteAllIndex" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_all_index.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.deletePolicy" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deletePolicy.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_policy.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deletePolicy.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "policy" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_policy.ts" ,
"lineNumber" : 12
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", policy: string) => Promise<unknown>"
2021-03-06 02:12:28 +01:00
] ,
"description" : [ ] ,
"label" : "deletePolicy" ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_policy.ts" ,
"lineNumber" : 10
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-server.deleteTemplate" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deleteTemplate.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-06 02:12:28 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-06 02:12:28 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.deleteTemplate.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "name" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", name: string) => Promise<unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "deleteTemplate" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/delete_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 9
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.getIndexExists" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getIndexExists.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_index_exists.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getIndexExists.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "index" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_index_exists.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", index: string) => Promise<boolean>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getIndexExists" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_index_exists.ts" ,
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.getPolicyExists" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getPolicyExists.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_policy_exists.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getPolicyExists.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "policy" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_policy_exists.ts" ,
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", policy: string) => Promise<boolean>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getPolicyExists" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_policy_exists.ts" ,
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-server.getTemplateExists" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getTemplateExists.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_template_exists.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.getTemplateExists.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "template" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_template_exists.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", template: string) => Promise<boolean>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"label" : "getTemplateExists" ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/get_template_exists.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.readPrivileges" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.readPrivileges.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"label" : "callWithRequest" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"CallWithRequest" ,
2021-03-06 02:12:28 +01:00
"<{}, unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/privileges/read_privileges.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.readPrivileges.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "index" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/privileges/read_privileges.ts" ,
"lineNumber" : 12
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(callWithRequest: " ,
"CallWithRequest" ,
2021-03-06 02:12:28 +01:00
"<{}, unknown>, index: string) => Promise<unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "readPrivileges" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/privileges/read_privileges.ts" ,
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.setPolicy" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setPolicy.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_policy.ts" ,
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setPolicy.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "policy" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_policy.ts" ,
"lineNumber" : 12
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setPolicy.$3" ,
2021-03-23 19:31:08 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "body" ,
"isRequired" : true ,
"signature" : [
2021-03-23 19:31:08 +01:00
"Record<string, unknown>"
2021-03-06 02:12:28 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_policy.ts" ,
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", policy: string, body: Record<string, unknown>) => Promise<unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "setPolicy" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_policy.ts" ,
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.setTemplate" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setTemplate.$1" ,
2021-03-23 19:31:08 +01:00
"type" : "CompoundType" ,
"label" : "esClient" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
2021-03-23 19:31:08 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setTemplate.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "name" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 12
2021-03-06 02:12:28 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.setTemplate.$3" ,
2021-03-23 19:31:08 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "body" ,
"isRequired" : true ,
"signature" : [
2021-03-23 19:31:08 +01:00
"Record<string, unknown>"
2021-03-06 02:12:28 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 13
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-23 19:31:08 +01:00
"(esClient: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.ElasticsearchClient" ,
"text" : "ElasticsearchClient"
} ,
", name: string, body: Record<string, unknown>) => Promise<unknown>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "setTemplate" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/index/set_template.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-server.transformError" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-server.transformError.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "CompoundType" ,
"label" : "err" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Error & Partial<" ,
"ResponseError" ,
2021-03-30 14:27:28 +02:00
"<Record<string, any>, unknown>>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts" ,
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(err: Error & Partial<" ,
"ResponseError" ,
2021-03-30 14:27:28 +02:00
"<Record<string, any>, unknown>>) => " ,
2021-03-03 04:02:17 +01:00
"OutputError"
] ,
"description" : [ ] ,
"label" : "transformError" ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
}
] ,
"interfaces" : [
{
"id" : "def-server.AppRequestContext" ,
"type" : "Interface" ,
"label" : "AppRequestContext" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-server.AppRequestContext.getAppClient" ,
"type" : "Function" ,
"label" : "getAppClient" ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 18
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"() => " ,
{
2021-04-15 17:36:10 +02:00
"pluginId" : "securitySolution" ,
"scope" : "server" ,
"docId" : "kibSecuritySolutionPluginApi" ,
"section" : "def-server.AppClient" ,
2021-03-03 04:02:17 +01:00
"text" : "AppClient"
}
]
}
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
"id" : "def-server.ConfigType" ,
"type" : "Type" ,
"label" : "ConfigType" ,
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/config.ts" ,
2021-03-23 19:31:08 +01:00
"lineNumber" : 75
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-23 19:31:08 +01:00
"{ readonly enabled: boolean; readonly signalsIndex: string; readonly maxRuleImportExportSize: number; readonly maxRuleImportPayloadBytes: number; readonly maxTimelineImportExportSize: number; readonly maxTimelineImportPayloadBytes: number; readonly enableExperimental: string[]; readonly endpointResultListDefaultFirstPageIndex: number; readonly endpointResultListDefaultPageSize: number; readonly alertResultListDefaultDateRange: Readonly<{} & { from: string; to: string; }>; readonly packagerTaskInterval: string; readonly validateArtifactDownloads: boolean; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"setup" : {
"id" : "def-server.PluginSetup" ,
"type" : "Interface" ,
"label" : "PluginSetup" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 107
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
"id" : "def-server.PluginStart" ,
"type" : "Interface" ,
"label" : "PluginStart" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/server/plugin.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 110
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"common" : {
"classes" : [ ] ,
"functions" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-common.addIdToItem" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.addIdToItem.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
2021-03-06 02:12:28 +01:00
"label" : "item" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"NotArray<T>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/add_remove_id_to_item.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-06 02:12:28 +01:00
"<T>(item: NotArray<T>) => T"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "addIdToItem" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/add_remove_id_to_item.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-common.DefaultArray" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.DefaultArray.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
2021-03-06 02:12:28 +01:00
"label" : "codec" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"C"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_array.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-06 02:12:28 +01:00
"<C extends " ,
2021-03-03 04:02:17 +01:00
"Mixed" ,
2021-03-06 02:12:28 +01:00
">(codec: C) => " ,
"Type" ,
"<" ,
2021-03-03 04:02:17 +01:00
"TypeOf" ,
2021-03-06 02:12:28 +01:00
"<C>[], " ,
"TypeOf" ,
"<C>[] | undefined, unknown>"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"description" : [
"\nTypes the DefaultArray<C> as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are type C"
] ,
"label" : "DefaultArray" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_array.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-common.exactCheck" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.exactCheck.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Unknown" ,
"label" : "original" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"unknown"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/exact_check.ts" ,
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.exactCheck.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "CompoundType" ,
"label" : "decoded" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Either" ,
"<" ,
"Errors" ,
", T>"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/exact_check.ts" ,
"lineNumber" : 31
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-06 02:12:28 +01:00
"<T>(original: unknown, decoded: " ,
2021-03-03 04:02:17 +01:00
"Either" ,
2021-03-06 02:12:28 +01:00
"<" ,
"Errors" ,
", T>) => " ,
"Either" ,
"<" ,
"Errors" ,
", T>"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"description" : [
"\nGiven an original object and a decoded object this will return an error\nif and only if the original object has additional keys that the decoded\nobject does not have. If the original decoded already has an error, then\nthis will return the error as is and not continue.\n\nNOTE: You MUST use t.exact(...) for this to operate correctly as your schema\nneeds to remove additional keys before the compare\n\nYou might not need this in the future if the below issue is solved:\nhttps://github.com/gcanti/io-ts/issues/322\n"
] ,
"label" : "exactCheck" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/exact_check.ts" ,
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
2021-03-06 02:12:28 +01:00
{
"tags" : [ ] ,
"id" : "def-common.foldLeftRight" ,
"type" : "Function" ,
"label" : "foldLeftRight" ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/test_utils.ts" ,
"lineNumber" : 29
} ,
"signature" : [
"<T>(ma: " ,
"Either" ,
"<" ,
"Errors" ,
", unknown>) => Message<unknown>"
] ,
"initialIsOpen" : false
} ,
2021-03-03 04:02:17 +01:00
{
"id" : "def-common.formatErrors" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.formatErrors.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "errors" ,
"isRequired" : true ,
"signature" : [
"Errors"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/format_errors.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 11
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(errors: " ,
"Errors" ,
") => string[]"
] ,
"description" : [ ] ,
"label" : "formatErrors" ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/format_errors.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 11
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-common.getPaths" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.getPaths.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "CompoundType" ,
"label" : "validation" ,
"isRequired" : true ,
"signature" : [
"Either" ,
"<" ,
"Errors" ,
", A>"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/test_utils.ts" ,
"lineNumber" : 36
}
}
] ,
"signature" : [
"<A>(validation: " ,
"Either" ,
"<" ,
"Errors" ,
", A>) => string[]"
] ,
"description" : [
"\nConvenience utility to keep the error message handling within tests to be\nvery concise."
] ,
"label" : "getPaths" ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/test_utils.ts" ,
"lineNumber" : 36
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-common.removeExternalLinkText" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.removeExternalLinkText.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "str" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/test_utils.ts" ,
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(str: string) => string"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"description" : [
"\nConvenience utility to remove text appended to links by EUI"
] ,
"label" : "removeExternalLinkText" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/test_utils.ts" ,
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-common.removeIdFromItem" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.removeIdFromItem.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Uncategorized" ,
"label" : "item" ,
"isRequired" : true ,
"signature" : [
"NotArray<T>"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/add_remove_id_to_item.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"<T>(item: NotArray<T>) => T | Pick<T & { id?: string | undefined; }, Exclude<keyof T, \"id\">>"
] ,
"description" : [
"\nThis is to reverse the id you added to your arrays for ReactJS keys."
] ,
"label" : "removeIdFromItem" ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/add_remove_id_to_item.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 33
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-common.validate" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.validate.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Uncategorized" ,
"label" : "obj" ,
"isRequired" : true ,
"signature" : [
"object"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
"lineNumber" : 16
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.validate.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "Uncategorized" ,
"label" : "schema" ,
"isRequired" : true ,
"signature" : [
"T"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
"lineNumber" : 17
}
}
] ,
"signature" : [
"<T extends " ,
"Mixed" ,
">(obj: object, schema: T) => [" ,
"TypeOf" ,
"<T> | null, string | null]"
] ,
"description" : [ ] ,
"label" : "validate" ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
"lineNumber" : 15
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
"id" : "def-common.validateEither" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.validateEither.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Uncategorized" ,
"label" : "schema" ,
"isRequired" : true ,
"signature" : [
"T"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 43
2021-03-06 02:12:28 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-common.validateEither.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "Uncategorized" ,
"label" : "obj" ,
"isRequired" : true ,
"signature" : [
"A"
] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 44
2021-03-06 02:12:28 +01:00
}
}
] ,
"signature" : [
"<T extends " ,
"Mixed" ,
", A extends unknown>(schema: T, obj: A) => " ,
"Either" ,
"<Error, A>"
] ,
"description" : [ ] ,
"label" : "validateEither" ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/validate.ts" ,
2021-04-15 17:36:10 +02:00
"lineNumber" : 42
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
}
] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [
{
"id" : "def-common.DefaultVersionNumberDecoded" ,
"type" : "Type" ,
"label" : "DefaultVersionNumberDecoded" ,
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_version_number.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"number"
] ,
"initialIsOpen" : false
}
] ,
"objects" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.DefaultStringArray" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "DefaultStringArray" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nTypes the DefaultStringArray as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are a string"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_string_array.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Type" ,
2021-03-06 02:12:28 +01:00
"<string[], string[] | undefined, unknown>"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
"id" : "def-common.DefaultUuid" ,
"type" : "Object" ,
"label" : "DefaultUuid" ,
"description" : [
"\nTypes the DefaultUuid as:\n - If null or undefined, then a default string uuid.v4() will be\n created otherwise it will be checked just against an empty string"
] ,
"source" : {
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_uuid.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Type" ,
"<string, string | undefined, unknown>"
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.DefaultVersionNumber" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "DefaultVersionNumber" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nTypes the DefaultVersionNumber as:\n - If null or undefined, then a default of the number 1 will be used"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/default_version_number.ts" ,
"lineNumber" : 16
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Type" ,
2021-03-06 02:12:28 +01:00
"<number, number | undefined, unknown>"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.NonEmptyString" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "NonEmptyString" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nTypes the NonEmptyString as:\n - A string that is not empty"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "x-pack/plugins/security_solution/common/detection_engine/schemas/types/non_empty_string.ts" ,
"lineNumber" : 15
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Type" ,
2021-03-06 02:12:28 +01:00
"<string, string, unknown>"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
]
}
}