kibana/api_docs/security.json
Stacey Gammon 87a5b22626
API DOCS Step 3/3 (#92929)
* update api_docs from gitignore

* api doc files

* Update api_welcome.mdx

* Pretty print json

* Add new lines and extra frontmatter to warn github viewers

* update api_docs with new lines and frontmatter

* Remove all apis tagged @internal and add tests

* Update docs with all internal APIs removed

* fix typescript error in test fixtures

* Update core.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-02 22:02:17 -05:00

1344 lines
50 KiB
JSON

{
"id": "security",
"client": {
"classes": [],
"functions": [],
"interfaces": [
{
"id": "def-public.AuthenticatedUser",
"type": "Interface",
"label": "AuthenticatedUser",
"signature": [
"AuthenticatedUser",
" extends ",
"User"
],
"description": [
"\nRepresents the currently authenticated user."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.AuthenticatedUser.authentication_realm",
"type": "Object",
"label": "authentication_realm",
"description": [
"\nThe name and type of the Realm that has authenticated the user."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 25,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L25"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.UserRealm",
"text": "UserRealm"
}
]
},
{
"tags": [],
"id": "def-public.AuthenticatedUser.lookup_realm",
"type": "Object",
"label": "lookup_realm",
"description": [
"\nThe name and type of the Realm where the user information were retrieved from."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 30,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L30"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.UserRealm",
"text": "UserRealm"
}
]
},
{
"tags": [],
"id": "def-public.AuthenticatedUser.authentication_provider",
"type": "Object",
"label": "authentication_provider",
"description": [
"\nThe authentication provider that used to authenticate user."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 35,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L35"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.AuthenticationProvider",
"text": "AuthenticationProvider"
}
]
},
{
"tags": [
"example"
],
"id": "def-public.AuthenticatedUser.authentication_type",
"type": "string",
"label": "authentication_type",
"description": [
"\nThe AuthenticationType used by ES to authenticate the user.\n"
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 42,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L42"
}
}
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 21,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L21"
},
"initialIsOpen": false
},
{
"id": "def-public.SecurityLicense",
"type": "Interface",
"label": "SecurityLicense",
"description": [],
"tags": [],
"children": [
{
"id": "def-public.SecurityLicense.isLicenseAvailable",
"type": "Function",
"label": "isLicenseAvailable",
"signature": [
"() => boolean"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 15,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L15"
}
},
{
"id": "def-public.SecurityLicense.isEnabled",
"type": "Function",
"label": "isEnabled",
"signature": [
"() => boolean"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 16,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L16"
}
},
{
"id": "def-public.SecurityLicense.getType",
"type": "Function",
"label": "getType",
"signature": [
"() => \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 17,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L17"
}
},
{
"id": "def-public.SecurityLicense.getFeatures",
"type": "Function",
"label": "getFeatures",
"signature": [
"() => ",
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.SecurityLicenseFeatures",
"text": "SecurityLicenseFeatures"
}
],
"description": [],
"children": [],
"tags": [],
"returnComment": [],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 18,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L18"
}
},
{
"tags": [],
"id": "def-public.SecurityLicense.features$",
"type": "Object",
"label": "features$",
"description": [],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 19,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L19"
},
"signature": [
"Observable",
"<",
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.SecurityLicenseFeatures",
"text": "SecurityLicenseFeatures"
},
">"
]
}
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
"lineNumber": 14,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_service.ts#L14"
},
"initialIsOpen": false
},
{
"id": "def-public.SecurityLicenseFeatures",
"type": "Interface",
"label": "SecurityLicenseFeatures",
"description": [
"\nDescribes Security plugin features that depend on license."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.showLogin",
"type": "boolean",
"label": "showLogin",
"description": [
"\nIndicates whether we show login page or skip it."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 20,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L20"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowLogin",
"type": "boolean",
"label": "allowLogin",
"description": [
"\nIndicates whether we allow login or disable it on the login page."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 25,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L25"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.showLinks",
"type": "boolean",
"label": "showLinks",
"description": [
"\nIndicates whether we show security links throughout the kibana app."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 30,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L30"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.showRoleMappingsManagement",
"type": "boolean",
"label": "showRoleMappingsManagement",
"description": [
"\nIndicates whether we show the Role Mappings UI."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 35,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L35"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowAccessAgreement",
"type": "boolean",
"label": "allowAccessAgreement",
"description": [
"\nIndicates whether we allow users to access agreement UI and acknowledge it."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 40,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L40"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowAuditLogging",
"type": "boolean",
"label": "allowAuditLogging",
"description": [
"\nIndicates whether we allow logging of audit events."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 45,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L45"
}
},
{
"tags": [
"deprecated"
],
"id": "def-public.SecurityLicenseFeatures.allowLegacyAuditLogging",
"type": "boolean",
"label": "allowLegacyAuditLogging",
"description": [
"\nIndicates whether we allow logging of legacy audit events."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 51,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L51"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowRoleDocumentLevelSecurity",
"type": "boolean",
"label": "allowRoleDocumentLevelSecurity",
"description": [
"\nIndicates whether we allow users to define document level security in roles."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 56,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L56"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowRoleFieldLevelSecurity",
"type": "boolean",
"label": "allowRoleFieldLevelSecurity",
"description": [
"\nIndicates whether we allow users to define field level security in roles."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 61,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L61"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowRbac",
"type": "boolean",
"label": "allowRbac",
"description": [
"\nIndicates whether we allow Role-based access control (RBAC)."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 66,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L66"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.allowSubFeaturePrivileges",
"type": "boolean",
"label": "allowSubFeaturePrivileges",
"description": [
"\nIndicates whether we allow sub-feature privileges."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 71,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L71"
}
},
{
"tags": [],
"id": "def-public.SecurityLicenseFeatures.layout",
"type": "CompoundType",
"label": "layout",
"description": [
"\nDescribes the layout of the login form if it's displayed."
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 76,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L76"
},
"signature": [
"\"form\" | \"error-es-unavailable\" | \"error-xpack-unavailable\" | undefined"
]
}
],
"source": {
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
"lineNumber": 16,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/licensing/license_features.ts#L16"
},
"initialIsOpen": false
},
{
"id": "def-public.UserMenuLink",
"type": "Interface",
"label": "UserMenuLink",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-public.UserMenuLink.label",
"type": "string",
"label": "label",
"description": [],
"source": {
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
"lineNumber": 29,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/nav_control/nav_control_component.tsx#L29"
}
},
{
"tags": [],
"id": "def-public.UserMenuLink.iconType",
"type": "CompoundType",
"label": "iconType",
"description": [],
"source": {
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
"lineNumber": 30,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/nav_control/nav_control_component.tsx#L30"
},
"signature": [
"IconType"
]
},
{
"tags": [],
"id": "def-public.UserMenuLink.href",
"type": "string",
"label": "href",
"description": [],
"source": {
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
"lineNumber": 31,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/nav_control/nav_control_component.tsx#L31"
}
},
{
"tags": [],
"id": "def-public.UserMenuLink.order",
"type": "number",
"label": "order",
"description": [],
"source": {
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
"lineNumber": 32,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/nav_control/nav_control_component.tsx#L32"
},
"signature": [
"number | undefined"
]
}
],
"source": {
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
"lineNumber": 28,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/nav_control/nav_control_component.tsx#L28"
},
"initialIsOpen": false
}
],
"enums": [],
"misc": [],
"objects": [],
"setup": {
"id": "def-public.SecurityPluginSetup",
"type": "Type",
"label": "SecurityPluginSetup",
"tags": [],
"description": [],
"source": {
"path": "x-pack/plugins/security/public/plugin.tsx",
"lineNumber": 168,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/plugin.tsx#L168"
},
"signature": [
"{ authc: AuthenticationServiceSetup; sessionTimeout: ISessionTimeout; license: Readonly<{ isLicenseAvailable: () => boolean; isEnabled: () => boolean; getType: () => \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; getFeatures: () => ",
"SecurityLicenseFeatures",
"; features$: ",
"Observable",
"<",
"SecurityLicenseFeatures",
">; }>; __legacyCompat: { logoutUrl: string; tenant: string; }; }"
],
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"id": "def-public.SecurityPluginStart",
"type": "Type",
"label": "SecurityPluginStart",
"tags": [],
"description": [],
"source": {
"path": "x-pack/plugins/security/public/plugin.tsx",
"lineNumber": 169,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/public/plugin.tsx#L169"
},
"signature": [
"{ navControlService: ",
"SecurityNavControlServiceStart",
"; }"
],
"lifecycle": "start",
"initialIsOpen": true
}
},
"server": {
"classes": [],
"functions": [],
"interfaces": [
{
"id": "def-server.CreateAPIKeyResult",
"type": "Interface",
"label": "CreateAPIKeyResult",
"description": [
"\nThe return value when creating an API key in Elasticsearch. The API key returned by this API\ncan then be used by sending a request with a Authorization header with a value having the\nprefix ApiKey `{token}` where token is id and api_key joined by a colon `{id}:{api_key}` and\nthen encoded to base64."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.CreateAPIKeyResult.id",
"type": "string",
"label": "id",
"description": [
"\nUnique id for this API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 60,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L60"
}
},
{
"tags": [],
"id": "def-server.CreateAPIKeyResult.name",
"type": "string",
"label": "name",
"description": [
"\nName for this API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 64,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L64"
}
},
{
"tags": [],
"id": "def-server.CreateAPIKeyResult.expiration",
"type": "number",
"label": "expiration",
"description": [
"\nOptional expiration in milliseconds for this API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 68,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L68"
},
"signature": [
"number | undefined"
]
},
{
"tags": [],
"id": "def-server.CreateAPIKeyResult.api_key",
"type": "string",
"label": "api_key",
"description": [
"\nGenerated API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 72,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L72"
}
}
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 56,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L56"
},
"initialIsOpen": false
},
{
"id": "def-server.InvalidateAPIKeysParams",
"type": "Interface",
"label": "InvalidateAPIKeysParams",
"description": [
"\nRepresents the params for invalidating multiple API keys"
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.InvalidateAPIKeysParams.ids",
"type": "Array",
"label": "ids",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 47,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L47"
},
"signature": [
"string[]"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 46,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L46"
},
"initialIsOpen": false
},
{
"id": "def-server.InvalidateAPIKeyResult",
"type": "Interface",
"label": "InvalidateAPIKeyResult",
"description": [
"\nThe return value when invalidating an API key in Elasticsearch."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.InvalidateAPIKeyResult.invalidated_api_keys",
"type": "Array",
"label": "invalidated_api_keys",
"description": [
"\nThe IDs of the API keys that were invalidated as part of the request."
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 97,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L97"
},
"signature": [
"string[]"
]
},
{
"tags": [],
"id": "def-server.InvalidateAPIKeyResult.previously_invalidated_api_keys",
"type": "Array",
"label": "previously_invalidated_api_keys",
"description": [
"\nThe IDs of the API keys that were already invalidated."
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 101,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L101"
},
"signature": [
"string[]"
]
},
{
"tags": [],
"id": "def-server.InvalidateAPIKeyResult.error_count",
"type": "number",
"label": "error_count",
"description": [
"\nThe number of errors that were encountered when invalidating the API keys."
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 105,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L105"
}
},
{
"tags": [],
"id": "def-server.InvalidateAPIKeyResult.error_details",
"type": "Array",
"label": "error_details",
"description": [
"\nDetails about these errors. This field is not present in the response when error_count is 0."
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 109,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L109"
},
"signature": [
"{ type: string; reason: string; caused_by: { type: string; reason: string; }; }[] | undefined"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 93,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L93"
},
"initialIsOpen": false
},
{
"id": "def-server.GrantAPIKeyResult",
"type": "Interface",
"label": "GrantAPIKeyResult",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.GrantAPIKeyResult.id",
"type": "string",
"label": "id",
"description": [
"\nUnique id for this API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 79,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L79"
}
},
{
"tags": [],
"id": "def-server.GrantAPIKeyResult.name",
"type": "string",
"label": "name",
"description": [
"\nName for this API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 83,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L83"
}
},
{
"tags": [],
"id": "def-server.GrantAPIKeyResult.api_key",
"type": "string",
"label": "api_key",
"description": [
"\nGenerated API key"
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 87,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L87"
}
}
],
"source": {
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
"lineNumber": 75,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/authentication/api_keys/api_keys.ts#L75"
},
"initialIsOpen": false
},
{
"id": "def-server.LegacyAuditLogger",
"type": "Interface",
"label": "LegacyAuditLogger",
"description": [],
"tags": [
"deprecated"
],
"children": [
{
"tags": [],
"id": "def-server.LegacyAuditLogger.log",
"type": "Function",
"label": "log",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
"lineNumber": 33,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_service.ts#L33"
},
"signature": [
"(eventType: string, message: string, data?: Record<string, any> | undefined) => void"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
"lineNumber": 32,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_service.ts#L32"
},
"initialIsOpen": false
},
{
"id": "def-server.AuditLogger",
"type": "Interface",
"label": "AuditLogger",
"description": [],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.AuditLogger.log",
"type": "Function",
"label": "log",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
"lineNumber": 37,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_service.ts#L37"
},
"signature": [
"(event: ",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.AuditEvent",
"text": "AuditEvent"
},
" | undefined) => void"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
"lineNumber": 36,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_service.ts#L36"
},
"initialIsOpen": false
},
{
"id": "def-server.AuditEvent",
"type": "Interface",
"label": "AuditEvent",
"description": [
"\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.6/index.html\n\nIf you add additional fields to the schema ensure you update the Kibana Filebeat module:\nhttps://github.com/elastic/beats/tree/master/filebeat/module/kibana\n"
],
"tags": [
"public"
],
"children": [
{
"tags": [
"example"
],
"id": "def-server.AuditEvent.message",
"type": "string",
"label": "message",
"description": [
"\nHuman readable message describing action, outcome and user.\n"
],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 27,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L27"
}
},
{
"tags": [],
"id": "def-server.AuditEvent.event",
"type": "Object",
"label": "event",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 28,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L28"
},
"signature": [
"{ action: string; category?: ",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.EventCategory",
"text": "EventCategory"
},
" | undefined; type?: ",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.EventType",
"text": "EventType"
},
" | undefined; outcome?: ",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.EventOutcome",
"text": "EventOutcome"
},
" | undefined; }"
]
},
{
"tags": [],
"id": "def-server.AuditEvent.user",
"type": "Object",
"label": "user",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 34,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L34"
},
"signature": [
"{ name: string; roles?: readonly string[] | undefined; } | undefined"
]
},
{
"tags": [],
"id": "def-server.AuditEvent.kibana",
"type": "Object",
"label": "kibana",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 38,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L38"
},
"signature": [
"{ space_id?: string | undefined; session_id?: string | undefined; saved_object?: { type: string; id: string; } | undefined; authentication_provider?: string | undefined; authentication_type?: string | undefined; authentication_realm?: string | undefined; lookup_realm?: string | undefined; add_to_spaces?: readonly string[] | undefined; delete_from_spaces?: readonly string[] | undefined; } | undefined"
]
},
{
"tags": [],
"id": "def-server.AuditEvent.error",
"type": "Object",
"label": "error",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 80,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L80"
},
"signature": [
"{ code?: string | undefined; message?: string | undefined; } | undefined"
]
},
{
"tags": [],
"id": "def-server.AuditEvent.http",
"type": "Object",
"label": "http",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 84,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L84"
},
"signature": [
"{ request?: { method?: string | undefined; } | undefined; } | undefined"
]
},
{
"tags": [],
"id": "def-server.AuditEvent.url",
"type": "Object",
"label": "url",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 89,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L89"
},
"signature": [
"{ domain?: string | undefined; path?: string | undefined; port?: number | undefined; query?: string | undefined; scheme?: string | undefined; } | undefined"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 20,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L20"
},
"initialIsOpen": false
},
{
"id": "def-server.SecurityPluginSetup",
"type": "Interface",
"label": "SecurityPluginSetup",
"description": [
"\nDescribes public Security plugin contract returned at the `setup` stage."
],
"tags": [],
"children": [
{
"tags": [
"deprecated"
],
"id": "def-server.SecurityPluginSetup.authc",
"type": "Object",
"label": "authc",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 73,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L73"
},
"signature": [
"{ getCurrentUser: (request: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) => ",
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.AuthenticatedUser",
"text": "AuthenticatedUser"
},
" | null; }"
]
},
{
"tags": [
"deprecated"
],
"id": "def-server.SecurityPluginSetup.authz",
"type": "Object",
"label": "authz",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 77,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L77"
},
"signature": [
"Pick<",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.AuthorizationServiceSetup",
"text": "AuthorizationServiceSetup"
},
", \"mode\" | \"actions\" | \"checkPrivilegesDynamicallyWithRequest\" | \"checkPrivilegesWithRequest\">"
]
},
{
"tags": [],
"id": "def-server.SecurityPluginSetup.license",
"type": "Object",
"label": "license",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 81,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L81"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.SecurityLicense",
"text": "SecurityLicense"
}
]
},
{
"tags": [],
"id": "def-server.SecurityPluginSetup.audit",
"type": "Object",
"label": "audit",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 82,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L82"
},
"signature": [
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.AuditServiceSetup",
"text": "AuditServiceSetup"
}
]
}
],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 69,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L69"
},
"initialIsOpen": false
},
{
"id": "def-server.SecurityPluginStart",
"type": "Interface",
"label": "SecurityPluginStart",
"description": [
"\nDescribes public Security plugin contract returned at the `start` stage."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.SecurityPluginStart.authc",
"type": "Object",
"label": "authc",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 89,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L89"
},
"signature": [
"Pick<",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.AuthenticationServiceStart",
"text": "AuthenticationServiceStart"
},
", \"apiKeys\" | \"getCurrentUser\">"
]
},
{
"tags": [],
"id": "def-server.SecurityPluginStart.authz",
"type": "Object",
"label": "authz",
"description": [],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 90,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L90"
},
"signature": [
"Pick<",
{
"pluginId": "security",
"scope": "server",
"docId": "kibSecurityPluginApi",
"section": "def-server.AuthorizationServiceSetup",
"text": "AuthorizationServiceSetup"
},
", \"mode\" | \"actions\" | \"checkPrivilegesDynamicallyWithRequest\" | \"checkPrivilegesWithRequest\">"
]
}
],
"source": {
"path": "x-pack/plugins/security/server/plugin.ts",
"lineNumber": 88,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/plugin.ts#L88"
},
"initialIsOpen": false
},
{
"id": "def-server.AuthenticatedUser",
"type": "Interface",
"label": "AuthenticatedUser",
"signature": [
"AuthenticatedUser",
" extends ",
"User"
],
"description": [
"\nRepresents the currently authenticated user."
],
"tags": [],
"children": [
{
"tags": [],
"id": "def-server.AuthenticatedUser.authentication_realm",
"type": "Object",
"label": "authentication_realm",
"description": [
"\nThe name and type of the Realm that has authenticated the user."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 25,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L25"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.UserRealm",
"text": "UserRealm"
}
]
},
{
"tags": [],
"id": "def-server.AuthenticatedUser.lookup_realm",
"type": "Object",
"label": "lookup_realm",
"description": [
"\nThe name and type of the Realm where the user information were retrieved from."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 30,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L30"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.UserRealm",
"text": "UserRealm"
}
]
},
{
"tags": [],
"id": "def-server.AuthenticatedUser.authentication_provider",
"type": "Object",
"label": "authentication_provider",
"description": [
"\nThe authentication provider that used to authenticate user."
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 35,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L35"
},
"signature": [
{
"pluginId": "security",
"scope": "common",
"docId": "kibSecurityPluginApi",
"section": "def-common.AuthenticationProvider",
"text": "AuthenticationProvider"
}
]
},
{
"tags": [
"example"
],
"id": "def-server.AuthenticatedUser.authentication_type",
"type": "string",
"label": "authentication_type",
"description": [
"\nThe AuthenticationType used by ES to authenticate the user.\n"
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 42,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L42"
}
}
],
"source": {
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
"lineNumber": 21,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/common/model/authenticated_user.ts#L21"
},
"initialIsOpen": false
}
],
"enums": [
{
"id": "def-server.EventCategory",
"type": "Enum",
"label": "EventCategory",
"tags": [],
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 98,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L98"
},
"initialIsOpen": false
},
{
"id": "def-server.EventType",
"type": "Enum",
"label": "EventType",
"tags": [],
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 104,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L104"
},
"initialIsOpen": false
},
{
"id": "def-server.EventOutcome",
"type": "Enum",
"label": "EventOutcome",
"tags": [],
"description": [],
"source": {
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
"lineNumber": 111,
"link": "https://github.com/elastic/kibana/tree/masterx-pack/plugins/security/server/audit/audit_events.ts#L111"
},
"initialIsOpen": false
}
],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}