kibana/api_docs/encrypted_saved_objects.json
Stacey Gammon 6b8ebbfa18
API docs clean up (#93508) (#93881)
* Fix links to github

* Fix links to github

* Update docs to latest

* Sort, remove unneccessary path info, reduce tags

* Go back to having DocDef create the link to avoid backport conflicts

* update api docs
# Conflicts:
#	api_docs/actions.json
#	api_docs/advanced_settings.json
#	api_docs/alerting.json
#	api_docs/apm.json
#	api_docs/apm_oss.json
#	api_docs/banners.json
#	api_docs/beats_management.json
#	api_docs/bfetch.json
#	api_docs/canvas.json
#	api_docs/case.json
#	api_docs/charts.json
#	api_docs/cloud.json
#	api_docs/console.json
#	api_docs/core.json
#	api_docs/core_application.json
#	api_docs/core_chrome.json
#	api_docs/core_http.json
#	api_docs/core_saved_objects.json
#	api_docs/dashboard.json
#	api_docs/dashboard_enhanced.json
#	api_docs/dashboard_mode.json
#	api_docs/data.json
#	api_docs/data_autocomplete.json
#	api_docs/data_enhanced.json
#	api_docs/data_field_formats.json
#	api_docs/data_index_patterns.json
#	api_docs/data_query.json
#	api_docs/data_search.json
#	api_docs/data_ui.json
#	api_docs/dev_tools.json
#	api_docs/discover.json
#	api_docs/discover_enhanced.json
#	api_docs/embeddable.json
#	api_docs/embeddable_enhanced.json
#	api_docs/encrypted_saved_objects.json
#	api_docs/enterprise_search.json
#	api_docs/es_ui_shared.json
#	api_docs/event_log.json
#	api_docs/expressions.json
#	api_docs/features.json
#	api_docs/file_upload.json
#	api_docs/fleet.json
#	api_docs/global_search.json
#	api_docs/home.json
#	api_docs/index_lifecycle_management.json
#	api_docs/index_management.json
#	api_docs/index_pattern_field_editor.json
#	api_docs/index_pattern_management.json
#	api_docs/infra.json
#	api_docs/ingest_pipelines.json
#	api_docs/inspector.json
#	api_docs/kibana_legacy.json
#	api_docs/kibana_react.json
#	api_docs/kibana_utils.json
#	api_docs/lens.json
#	api_docs/license_management.json
#	api_docs/licensing.json
#	api_docs/lists.json
#	api_docs/management.json
#	api_docs/maps.json
#	api_docs/maps_legacy.json
#	api_docs/ml.json
#	api_docs/monitoring.json
#	api_docs/navigation.json
#	api_docs/newsfeed.json
#	api_docs/observability.json
#	api_docs/osquery.json
#	api_docs/presentation_util.json
#	api_docs/remote_clusters.json
#	api_docs/reporting.json
#	api_docs/rollup.json
#	api_docs/runtime_fields.json
#	api_docs/saved_objects.json
#	api_docs/saved_objects_management.json
#	api_docs/saved_objects_tagging.json
#	api_docs/saved_objects_tagging_oss.json
#	api_docs/security.json
#	api_docs/security_oss.json
#	api_docs/security_solution.json
#	api_docs/share.json
#	api_docs/snapshot_restore.json
#	api_docs/spaces.json
#	api_docs/spaces_oss.json
#	api_docs/stack_alerts.json
#	api_docs/task_manager.json
#	api_docs/telemetry.json
#	api_docs/telemetry_collection_manager.json
#	api_docs/telemetry_collection_xpack.json
#	api_docs/telemetry_management_section.json
#	api_docs/triggers_actions_ui.json
#	api_docs/ui_actions.json
#	api_docs/ui_actions_enhanced.json
#	api_docs/uptime.json
#	api_docs/url_forwarding.json
#	api_docs/usage_collection.json
#	api_docs/vis_type_timeseries.json
#	api_docs/visualizations.json
2021-03-06 10:05:27 -05:00

370 lines
No EOL
12 KiB
JSON

{
"id": "encryptedSavedObjects",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [
{
"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"
],
"children": [
{
"id": "def-server.EncryptionError.Unnamed",
"type": "Function",
"label": "Constructor",
"signature": [
"any"
],
"description": [],
"children": [
{
"type": "string",
"label": "message",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 18
}
},
{
"type": "string",
"label": "attributeName",
"isRequired": true,
"signature": [
"string"
],
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 19
}
},
{
"type": "Enum",
"label": "operation",
"isRequired": true,
"signature": [
{
"pluginId": "encryptedSavedObjects",
"scope": "server",
"docId": "kibEncryptedSavedObjectsPluginApi",
"section": "def-server.EncryptionErrorOperation",
"text": "EncryptionErrorOperation"
}
],
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 20
}
},
{
"type": "Object",
"label": "cause",
"isRequired": false,
"signature": [
"Error | undefined"
],
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 21
}
}
],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 17
}
},
{
"id": "def-server.EncryptionError.toJSON",
"type": "Function",
"label": "toJSON",
"signature": [
"() => { message: string; }"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 30
}
}
],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_error.ts",
"lineNumber": 16
},
"initialIsOpen": false
}
],
"functions": [],
"interfaces": [
{
"id": "def-server.EncryptedSavedObjectsClient",
"type": "Interface",
"label": "EncryptedSavedObjectsClient",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsClient.getDecryptedAsInternalUser",
"type": "Function",
"label": "getDecryptedAsInternalUser",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
"lineNumber": 41
},
"signature": [
"<T = unknown>(type: string, id: string, options?: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreSavedObjectsPluginApi",
"section": "def-server.SavedObjectsBaseOptions",
"text": "SavedObjectsBaseOptions"
},
" | undefined) => Promise<",
{
"pluginId": "core",
"scope": "common",
"docId": "kibCorePluginApi",
"section": "def-common.SavedObject",
"text": "SavedObject"
},
"<T>>"
]
}
],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
"lineNumber": 40
},
"initialIsOpen": false
},
{
"id": "def-server.EncryptedSavedObjectTypeRegistration",
"type": "Interface",
"label": "EncryptedSavedObjectTypeRegistration",
"description": [
"\nDescribes the registration entry for the saved object type that contain attributes that need to\nbe encrypted."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.EncryptedSavedObjectTypeRegistration.type",
"type": "string",
"label": "type",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
"lineNumber": 34
}
},
{
"tags": [],
"id": "def-server.EncryptedSavedObjectTypeRegistration.attributesToEncrypt",
"type": "Object",
"label": "attributesToEncrypt",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
"lineNumber": 35
},
"signature": [
"ReadonlySet<string | ",
{
"pluginId": "encryptedSavedObjects",
"scope": "server",
"docId": "kibEncryptedSavedObjectsPluginApi",
"section": "def-server.AttributeToEncrypt",
"text": "AttributeToEncrypt"
},
">"
]
},
{
"tags": [],
"id": "def-server.EncryptedSavedObjectTypeRegistration.attributesToExcludeFromAAD",
"type": "Object",
"label": "attributesToExcludeFromAAD",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
"lineNumber": 36
},
"signature": [
"ReadonlySet<string> | undefined"
]
}
],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encrypted_saved_objects_service.ts",
"lineNumber": 33
},
"initialIsOpen": false
}
],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"id": "def-server.EncryptedSavedObjectsPluginSetup",
"type": "Interface",
"label": "EncryptedSavedObjectsPluginSetup",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsPluginSetup.canEncrypt",
"type": "boolean",
"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",
"lineNumber": 35
}
},
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsPluginSetup.registerType",
"type": "Function",
"label": "registerType",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 36
},
"signature": [
"(typeRegistration: ",
{
"pluginId": "encryptedSavedObjects",
"scope": "server",
"docId": "kibEncryptedSavedObjectsPluginApi",
"section": "def-server.EncryptedSavedObjectTypeRegistration",
"text": "EncryptedSavedObjectTypeRegistration"
},
") => void"
]
},
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsPluginSetup.createMigration",
"type": "Function",
"label": "createMigration",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 37
},
"signature": [
{
"pluginId": "encryptedSavedObjects",
"scope": "server",
"docId": "kibEncryptedSavedObjectsPluginApi",
"section": "def-server.CreateEncryptedSavedObjectsMigrationFn",
"text": "CreateEncryptedSavedObjectsMigrationFn"
}
]
}
],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 31
},
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"id": "def-server.EncryptedSavedObjectsPluginStart",
"type": "Interface",
"label": "EncryptedSavedObjectsPluginStart",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsPluginStart.isEncryptionError",
"type": "Function",
"label": "isEncryptionError",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 41
},
"signature": [
"(error: Error) => boolean"
]
},
{
"tags": [],
"id": "def-server.EncryptedSavedObjectsPluginStart.getClient",
"type": "Function",
"label": "getClient",
"description": [],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 42
},
"signature": [
{
"pluginId": "encryptedSavedObjects",
"scope": "server",
"docId": "kibEncryptedSavedObjectsPluginApi",
"section": "def-server.ClientInstanciator",
"text": "ClientInstanciator"
}
]
}
],
"source": {
"path": "x-pack/plugins/encrypted_saved_objects/server/plugin.ts",
"lineNumber": 40
},
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}