2021-03-03 04:02:17 +01:00
|
|
|
{
|
|
|
|
"id": "encryptedSavedObjects",
|
|
|
|
"client": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [],
|
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
|
|
|
"objects": []
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"classes": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptionError",
|
|
|
|
"type": "Class",
|
|
|
|
"tags": [],
|
|
|
|
"label": "EncryptionError",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptionError",
|
|
|
|
"text": "EncryptionError"
|
|
|
|
},
|
|
|
|
" extends Error"
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
|
|
|
"lineNumber": 16
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-03 04:02:17 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptionError.Unnamed",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "Constructor",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
|
|
|
"any"
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
|
|
|
"lineNumber": 17
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-03 04:02:17 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-04-15 17:36:10 +02:00
|
|
|
"id": "def-server.EncryptionError.Unnamed.$1",
|
2021-03-03 04:02:17 +01:00
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "message",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
|
|
|
"string"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 18
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-04-15 17:36:10 +02:00
|
|
|
"id": "def-server.EncryptionError.Unnamed.$2",
|
2021-03-03 04:02:17 +01:00
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "attributeName",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
|
|
|
"string"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 19
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-04-15 17:36:10 +02:00
|
|
|
"id": "def-server.EncryptionError.Unnamed.$3",
|
2021-03-03 04:02:17 +01:00
|
|
|
"type": "Enum",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "operation",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
2021-04-15 17:36:10 +02:00
|
|
|
"EncryptionErrorOperation"
|
2021-03-03 04:02:17 +01:00
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 20
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": true
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-04-15 17:36:10 +02:00
|
|
|
"id": "def-server.EncryptionError.Unnamed.$4",
|
2021-03-03 04:02:17 +01:00
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "cause",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
|
|
|
"Error | undefined"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 21
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false,
|
|
|
|
"isRequired": false
|
2021-03-03 04:02:17 +01:00
|
|
|
}
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"returnComment": []
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptionError.toJSON",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "toJSON",
|
2021-05-06 21:29:47 +02:00
|
|
|
"description": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"signature": [
|
|
|
|
"() => { message: string; }"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 30
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false,
|
|
|
|
"children": [],
|
|
|
|
"returnComment": []
|
2021-03-03 04:02:17 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"functions": [],
|
|
|
|
"interfaces": [
|
2021-03-06 02:12:28 +01:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-06 02:12:28 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsClient",
|
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-06 02:12:28 +01:00
|
|
|
"label": "EncryptedSavedObjectsClient",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 40
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-06 02:12:28 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-06 02:12:28 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsClient.getDecryptedAsInternalUser",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-06 02:12:28 +01:00
|
|
|
"label": "getDecryptedAsInternalUser",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"<T = unknown>(type: string, id: string, options?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectsBaseOptions",
|
|
|
|
"text": "SavedObjectsBaseOptions"
|
|
|
|
},
|
|
|
|
" | undefined) => Promise<",
|
2021-04-15 17:36:10 +02:00
|
|
|
"SavedObject",
|
2021-03-06 02:12:28 +01:00
|
|
|
"<T>>"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 41
|
|
|
|
},
|
2021-06-07 23:55:35 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.type",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "type",
|
|
|
|
"description": [],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 42
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.id",
|
|
|
|
"type": "string",
|
|
|
|
"tags": [],
|
|
|
|
"label": "id",
|
|
|
|
"description": [],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 43
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.options",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "options",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectsBaseOptions",
|
|
|
|
"text": "SavedObjectsBaseOptions"
|
|
|
|
},
|
|
|
|
" | undefined"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 44
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-03-06 02:12:28 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
},
|
2021-03-03 04:02:17 +01:00
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "EncryptedSavedObjectTypeRegistration",
|
|
|
|
"description": [
|
|
|
|
"\nDescribes the registration entry for the saved object type that contain attributes that need to\nbe encrypted."
|
|
|
|
],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
|
|
|
|
"lineNumber": 33
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-03 04:02:17 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectTypeRegistration.type",
|
|
|
|
"type": "string",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "type",
|
|
|
|
"description": [],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 34
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectTypeRegistration.attributesToEncrypt",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "attributesToEncrypt",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"ReadonlySet<string | ",
|
2021-04-15 17:36:10 +02:00
|
|
|
"AttributeToEncrypt",
|
2021-03-03 04:02:17 +01:00
|
|
|
">"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
|
|
|
|
"lineNumber": 35
|
|
|
|
},
|
|
|
|
"deprecated": false
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectTypeRegistration.attributesToExcludeFromAAD",
|
|
|
|
"type": "Object",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "attributesToExcludeFromAAD",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
|
|
|
"ReadonlySet<string> | undefined"
|
|
|
|
],
|
2021-03-03 04:02:17 +01:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 36
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
2021-05-06 21:29:47 +02:00
|
|
|
"deprecated": false
|
2021-03-03 04:02:17 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialIsOpen": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
|
|
|
"objects": [],
|
|
|
|
"setup": {
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginSetup",
|
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "EncryptedSavedObjectsPluginSetup",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
|
|
|
"lineNumber": 31
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-03 04:02:17 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginSetup.canEncrypt",
|
|
|
|
"type": "boolean",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "canEncrypt",
|
|
|
|
"description": [
|
|
|
|
"\nIndicates if Saved Object encryption is possible. Requires an encryption key to be explicitly set via `xpack.encryptedSavedObjects.encryptionKey`."
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 35
|
2021-05-06 21:29:47 +02:00
|
|
|
},
|
|
|
|
"deprecated": false
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginSetup.registerType",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "registerType",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(typeRegistration: ",
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
},
|
|
|
|
") => void"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
|
|
|
"lineNumber": 36
|
|
|
|
},
|
2021-06-07 23:55:35 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.typeRegistration",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "typeRegistration",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
|
|
|
"lineNumber": 36
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginSetup.createMigration",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "createMigration",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
2021-06-07 23:55:35 +02:00
|
|
|
"<InputAttributes = unknown, MigratedAttributes = InputAttributes>(isMigrationNeededPredicate: IsMigrationNeededPredicate<InputAttributes, MigratedAttributes>, migration: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectMigrationFn",
|
|
|
|
"text": "SavedObjectMigrationFn"
|
|
|
|
},
|
|
|
|
"<InputAttributes, MigratedAttributes>, inputType?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
},
|
|
|
|
" | undefined, migratedType?: ",
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
},
|
|
|
|
" | undefined) => SavedObjectOptionalMigrationFn<InputAttributes, MigratedAttributes>"
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-03-03 04:02:17 +01:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 37
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
2021-06-07 23:55:35 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.isMigrationNeededPredicate",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "isMigrationNeededPredicate",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(encryptedDoc: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectUnsanitizedDoc",
|
|
|
|
"text": "SavedObjectUnsanitizedDoc"
|
|
|
|
},
|
|
|
|
"<InputAttributes> | ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectUnsanitizedDoc",
|
|
|
|
"text": "SavedObjectUnsanitizedDoc"
|
|
|
|
},
|
|
|
|
"<MigratedAttributes>) => encryptedDoc is ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectUnsanitizedDoc",
|
|
|
|
"text": "SavedObjectUnsanitizedDoc"
|
|
|
|
},
|
|
|
|
"<InputAttributes>"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts",
|
|
|
|
"lineNumber": 32
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.migration",
|
|
|
|
"type": "Function",
|
|
|
|
"tags": [],
|
|
|
|
"label": "migration",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"(doc: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectUnsanitizedDoc",
|
|
|
|
"text": "SavedObjectUnsanitizedDoc"
|
|
|
|
},
|
|
|
|
"<InputAttributes>, context: ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectMigrationContext",
|
|
|
|
"text": "SavedObjectMigrationContext"
|
|
|
|
},
|
|
|
|
") => ",
|
|
|
|
{
|
|
|
|
"pluginId": "core",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibCoreSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.SavedObjectUnsanitizedDoc",
|
|
|
|
"text": "SavedObjectUnsanitizedDoc"
|
|
|
|
},
|
|
|
|
"<MigratedAttributes>"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts",
|
|
|
|
"lineNumber": 33
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.inputType",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "inputType",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
},
|
|
|
|
" | undefined"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts",
|
|
|
|
"lineNumber": 34
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.migratedType",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "migratedType",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectTypeRegistration",
|
|
|
|
"text": "EncryptedSavedObjectTypeRegistration"
|
|
|
|
},
|
|
|
|
" | undefined"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts",
|
|
|
|
"lineNumber": 35
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-03-03 04:02:17 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"lifecycle": "setup",
|
|
|
|
"initialIsOpen": true
|
|
|
|
},
|
|
|
|
"start": {
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginStart",
|
|
|
|
"type": "Interface",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "EncryptedSavedObjectsPluginStart",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
|
|
|
"lineNumber": 40
|
|
|
|
},
|
|
|
|
"deprecated": false,
|
2021-03-03 04:02:17 +01:00
|
|
|
"children": [
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginStart.isEncryptionError",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "isEncryptionError",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
|
|
|
"(error: Error) => boolean"
|
|
|
|
],
|
2021-03-03 04:02:17 +01:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 41
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
2021-06-07 23:55:35 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.error",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "error",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"Error"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
|
|
|
"lineNumber": 41
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
|
|
|
{
|
2021-05-06 21:29:47 +02:00
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
2021-03-03 04:02:17 +01:00
|
|
|
"id": "def-server.EncryptedSavedObjectsPluginStart.getClient",
|
|
|
|
"type": "Function",
|
2021-05-06 21:29:47 +02:00
|
|
|
"tags": [],
|
2021-03-03 04:02:17 +01:00
|
|
|
"label": "getClient",
|
|
|
|
"description": [],
|
2021-05-06 21:29:47 +02:00
|
|
|
"signature": [
|
2021-06-07 23:55:35 +02:00
|
|
|
"(options?: ",
|
|
|
|
"EncryptedSavedObjectsClientOptions",
|
|
|
|
" | undefined) => ",
|
|
|
|
{
|
|
|
|
"pluginId": "encryptedSavedObjects",
|
|
|
|
"scope": "server",
|
|
|
|
"docId": "kibEncryptedSavedObjectsPluginApi",
|
|
|
|
"section": "def-server.EncryptedSavedObjectsClient",
|
|
|
|
"text": "EncryptedSavedObjectsClient"
|
|
|
|
}
|
2021-05-06 21:29:47 +02:00
|
|
|
],
|
2021-03-03 04:02:17 +01:00
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
|
2021-03-06 02:12:28 +01:00
|
|
|
"lineNumber": 42
|
2021-03-03 04:02:17 +01:00
|
|
|
},
|
2021-06-07 23:55:35 +02:00
|
|
|
"deprecated": false,
|
|
|
|
"returnComment": [],
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"parentPluginId": "encryptedSavedObjects",
|
|
|
|
"id": "def-server.options",
|
|
|
|
"type": "Object",
|
|
|
|
"tags": [],
|
|
|
|
"label": "options",
|
|
|
|
"description": [],
|
|
|
|
"signature": [
|
|
|
|
"EncryptedSavedObjectsClientOptions",
|
|
|
|
" | undefined"
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
|
|
"lineNumber": 33
|
|
|
|
},
|
|
|
|
"deprecated": false
|
|
|
|
}
|
|
|
|
]
|
2021-03-03 04:02:17 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"lifecycle": "start",
|
|
|
|
"initialIsOpen": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"common": {
|
|
|
|
"classes": [],
|
|
|
|
"functions": [],
|
|
|
|
"interfaces": [],
|
|
|
|
"enums": [],
|
|
|
|
"misc": [],
|
|
|
|
"objects": []
|
|
|
|
}
|
|
|
|
}
|