8aa370ba3b
* Add explicit security types * Remove sessionTimeout, seems unused * add comments * Add comments and fix test since removing the unused APIs * remove unused import * wording cleanup * Export some types that are part of the public API but not exported * more improvements for api docs * update security docs * Update x-pack/plugins/security/public/nav_control/nav_control_service.tsx Co-authored-by: Larry Gregory <lgregorydev@gmail.com> * Update x-pack/plugins/security/public/nav_control/nav_control_service.tsx Co-authored-by: Larry Gregory <lgregorydev@gmail.com> * Update x-pack/plugins/security/public/plugin.tsx Co-authored-by: Larry Gregory <lgregorydev@gmail.com> * Update x-pack/plugins/security/public/plugin.tsx Co-authored-by: Larry Gregory <lgregorydev@gmail.com> * remove unneccessary readonly prefix * Update all api docs Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
1991 lines
No EOL
64 KiB
JSON
1991 lines
No EOL
64 KiB
JSON
{
|
|
"id": "security",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticatedUser",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "AuthenticatedUser",
|
|
"description": [
|
|
"\nRepresents the currently authenticated user."
|
|
],
|
|
"signature": [
|
|
"AuthenticatedUser",
|
|
" extends ",
|
|
"User"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 21
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticatedUser.authentication_realm",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authentication_realm",
|
|
"description": [
|
|
"\nThe name and type of the Realm that has authenticated the user."
|
|
],
|
|
"signature": [
|
|
"UserRealm"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 25
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticatedUser.lookup_realm",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "lookup_realm",
|
|
"description": [
|
|
"\nThe name and type of the Realm where the user information were retrieved from."
|
|
],
|
|
"signature": [
|
|
"UserRealm"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 30
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticatedUser.authentication_provider",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authentication_provider",
|
|
"description": [
|
|
"\nThe authentication provider that used to authenticate user."
|
|
],
|
|
"signature": [
|
|
"AuthenticationProvider"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticatedUser.authentication_type",
|
|
"type": "string",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticationServiceSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "AuthenticationServiceSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/authentication/authentication_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticationServiceSetup.getCurrentUser",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getCurrentUser",
|
|
"description": [
|
|
"\nReturns currently authenticated user and throws if current user isn't authenticated."
|
|
],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"AuthenticatedUser",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/authentication/authentication_service.ts",
|
|
"lineNumber": 37
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticationServiceSetup.areAPIKeysEnabled",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "areAPIKeysEnabled",
|
|
"description": [
|
|
"\nDetermines if API Keys are currently enabled."
|
|
],
|
|
"signature": [
|
|
"() => Promise<boolean>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/authentication/authentication_service.ts",
|
|
"lineNumber": 42
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityLicense",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense.isLicenseAvailable",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "isLicenseAvailable",
|
|
"description": [],
|
|
"signature": [
|
|
"() => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 15
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense.isEnabled",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "isEnabled",
|
|
"description": [],
|
|
"signature": [
|
|
"() => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense.getType",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getType",
|
|
"description": [],
|
|
"signature": [
|
|
"() => \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 17
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense.getFeatures",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getFeatures",
|
|
"description": [],
|
|
"signature": [
|
|
"() => ",
|
|
"SecurityLicenseFeatures"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 18
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicense.features$",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "features$",
|
|
"description": [],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"SecurityLicenseFeatures",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityLicenseFeatures",
|
|
"description": [
|
|
"\nDescribes Security plugin features that depend on license."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.showLogin",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowLogin",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.showLinks",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.showRoleMappingsManagement",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "showRoleMappingsManagement",
|
|
"description": [
|
|
"\nIndicates whether we show the Role Mappings UI."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowAccessAgreement",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowAuditLogging",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "allowAuditLogging",
|
|
"description": [
|
|
"\nIndicates whether we allow logging of audit events."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
|
|
"lineNumber": 45
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowLegacyAuditLogging",
|
|
"type": "boolean",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"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
|
|
},
|
|
"deprecated": true,
|
|
"references": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowRoleDocumentLevelSecurity",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowRoleFieldLevelSecurity",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowRbac",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.allowSubFeaturePrivileges",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "allowSubFeaturePrivileges",
|
|
"description": [
|
|
"\nIndicates whether we allow sub-feature privileges."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
|
|
"lineNumber": 71
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityLicenseFeatures.layout",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "layout",
|
|
"description": [
|
|
"\nDescribes the layout of the login form if it's displayed."
|
|
],
|
|
"signature": [
|
|
"\"form\" | \"error-es-unavailable\" | \"error-xpack-unavailable\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_features.ts",
|
|
"lineNumber": 76
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityNavControlServiceStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityNavControlServiceStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_service.tsx",
|
|
"lineNumber": 32
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityNavControlServiceStart.getUserMenuLinks$",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getUserMenuLinks$",
|
|
"description": [
|
|
"\nReturns an Observable of the array of user menu links (the links that show up under the user's Avatar in the UI) registered by other plugins"
|
|
],
|
|
"signature": [
|
|
"() => ",
|
|
"Observable",
|
|
"<",
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.UserMenuLink",
|
|
"text": "UserMenuLink"
|
|
},
|
|
"[]>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_service.tsx",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityNavControlServiceStart.addUserMenuLinks",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "addUserMenuLinks",
|
|
"description": [
|
|
"\nRegisters the provided user menu links to be displayed in the user menu (the links that show up under the user's Avatar in the UI)."
|
|
],
|
|
"signature": [
|
|
"(newUserMenuLink: ",
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.UserMenuLink",
|
|
"text": "UserMenuLink"
|
|
},
|
|
"[]) => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_service.tsx",
|
|
"lineNumber": 41
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.newUserMenuLink",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "newUserMenuLink",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.UserMenuLink",
|
|
"text": "UserMenuLink"
|
|
},
|
|
"[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_service.tsx",
|
|
"lineNumber": 41
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "UserMenuLink",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 27
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink.label",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "label",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 28
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink.iconType",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "iconType",
|
|
"description": [],
|
|
"signature": [
|
|
"string | React.ComponentClass<{}, any> | React.FunctionComponent<{}>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 29
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink.href",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "href",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 30
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink.order",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "order",
|
|
"description": [],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 31
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.UserMenuLink.setAsProfile",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "setAsProfile",
|
|
"description": [],
|
|
"signature": [
|
|
"boolean | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/nav_control/nav_control_component.tsx",
|
|
"lineNumber": 32
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.AuthenticationServiceStart",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "AuthenticationServiceStart",
|
|
"description": [
|
|
"\nStart has the same contract as Setup for now."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.AuthenticationServiceSetup",
|
|
"text": "AuthenticationServiceSetup"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/authentication/authentication_service.ts",
|
|
"lineNumber": 48
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityPluginSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 167
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginSetup.authc",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authc",
|
|
"description": [
|
|
"\nExposes authentication information about the currently logged in user."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.AuthenticationServiceSetup",
|
|
"text": "AuthenticationServiceSetup"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 171
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginSetup.license",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license",
|
|
"description": [
|
|
"\nExposes information about the available security features under the current license."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "common",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-common.SecurityLicense",
|
|
"text": "SecurityLicense"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 175
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
},
|
|
"start": {
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityPluginStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 178
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginStart.navControlService",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "navControlService",
|
|
"description": [
|
|
"\nExposes the ability to add custom links to the dropdown menu in the top right, where the user's Avatar is."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.SecurityNavControlServiceStart",
|
|
"text": "SecurityNavControlServiceStart"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 182
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-public.SecurityPluginStart.authc",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authc",
|
|
"description": [
|
|
"\nExposes authentication information about the currently logged in user."
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "public",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-public.AuthenticationServiceSetup",
|
|
"text": "AuthenticationServiceSetup"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/public/plugin.tsx",
|
|
"lineNumber": 186
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuditEvent",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "AuditEvent",
|
|
"description": [
|
|
"\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.9/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"
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "server",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-server.AuditEvent",
|
|
"text": "AuditEvent"
|
|
},
|
|
" extends ",
|
|
"LogMeta"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
|
|
"lineNumber": 20
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuditEvent.message",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "message",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
|
|
"lineNumber": 21
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuditEvent.kibana",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "kibana",
|
|
"description": [],
|
|
"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"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_events.ts",
|
|
"lineNumber": 22
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuditLogger",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "AuditLogger",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuditLogger.log",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "log",
|
|
"description": [],
|
|
"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": 37
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.event",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "event",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "server",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-server.AuditEvent",
|
|
"text": "AuditEvent"
|
|
},
|
|
" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 37
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthenticatedUser",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "AuthenticatedUser",
|
|
"description": [
|
|
"\nRepresents the currently authenticated user."
|
|
],
|
|
"signature": [
|
|
"AuthenticatedUser",
|
|
" extends ",
|
|
"User"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 21
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthenticatedUser.authentication_realm",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authentication_realm",
|
|
"description": [
|
|
"\nThe name and type of the Realm that has authenticated the user."
|
|
],
|
|
"signature": [
|
|
"UserRealm"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 25
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthenticatedUser.lookup_realm",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "lookup_realm",
|
|
"description": [
|
|
"\nThe name and type of the Realm where the user information were retrieved from."
|
|
],
|
|
"signature": [
|
|
"UserRealm"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 30
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthenticatedUser.authentication_provider",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authentication_provider",
|
|
"description": [
|
|
"\nThe authentication provider that used to authenticate user."
|
|
],
|
|
"signature": [
|
|
"AuthenticationProvider"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/model/authenticated_user.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthenticatedUser.authentication_type",
|
|
"type": "string",
|
|
"tags": [],
|
|
"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
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CheckPrivilegesPayload",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "CheckPrivilegesPayload",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authorization/types.ts",
|
|
"lineNumber": 70
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CheckPrivilegesPayload.kibana",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "kibana",
|
|
"description": [],
|
|
"signature": [
|
|
"string | string[] | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authorization/types.ts",
|
|
"lineNumber": 71
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CheckPrivilegesPayload.elasticsearch",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "elasticsearch",
|
|
"description": [],
|
|
"signature": [
|
|
"{ cluster: string[]; index: Record<string, string[]>; } | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authorization/types.ts",
|
|
"lineNumber": 72
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CreateAPIKeyResult",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"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."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 62
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CreateAPIKeyResult.id",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "id",
|
|
"description": [
|
|
"\nUnique id for this API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 66
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CreateAPIKeyResult.name",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [
|
|
"\nName for this API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 70
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CreateAPIKeyResult.expiration",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "expiration",
|
|
"description": [
|
|
"\nOptional expiration in milliseconds for this API key"
|
|
],
|
|
"signature": [
|
|
"number | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 74
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.CreateAPIKeyResult.api_key",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "api_key",
|
|
"description": [
|
|
"\nGenerated API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 78
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.GrantAPIKeyResult",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "GrantAPIKeyResult",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 81
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.GrantAPIKeyResult.id",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "id",
|
|
"description": [
|
|
"\nUnique id for this API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 85
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.GrantAPIKeyResult.name",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [
|
|
"\nName for this API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 89
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.GrantAPIKeyResult.api_key",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "api_key",
|
|
"description": [
|
|
"\nGenerated API key"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 93
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeyResult",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "InvalidateAPIKeyResult",
|
|
"description": [
|
|
"\nThe return value when invalidating an API key in Elasticsearch."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 99
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeyResult.invalidated_api_keys",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "invalidated_api_keys",
|
|
"description": [
|
|
"\nThe IDs of the API keys that were invalidated as part of the request."
|
|
],
|
|
"signature": [
|
|
"string[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 103
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeyResult.previously_invalidated_api_keys",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "previously_invalidated_api_keys",
|
|
"description": [
|
|
"\nThe IDs of the API keys that were already invalidated."
|
|
],
|
|
"signature": [
|
|
"string[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 107
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeyResult.error_count",
|
|
"type": "number",
|
|
"tags": [],
|
|
"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": 111
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeyResult.error_details",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "error_details",
|
|
"description": [
|
|
"\nDetails about these errors. This field is not present in the response when error_count is 0."
|
|
],
|
|
"signature": [
|
|
"{ type: string; reason: string; caused_by?: { type: string; reason: string; } | undefined; }[] | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 115
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeysParams",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "InvalidateAPIKeysParams",
|
|
"description": [
|
|
"\nRepresents the params for invalidating multiple API keys"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 52
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.InvalidateAPIKeysParams.ids",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "ids",
|
|
"description": [],
|
|
"signature": [
|
|
"string[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/authentication/api_keys/api_keys.ts",
|
|
"lineNumber": 53
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.LegacyAuditLogger",
|
|
"type": "Interface",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "LegacyAuditLogger",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 32
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "encryptedSavedObjects",
|
|
"link": {
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/audit/audit_logger.ts",
|
|
"lineNumber": 8
|
|
}
|
|
},
|
|
{
|
|
"plugin": "encryptedSavedObjects",
|
|
"link": {
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/audit/audit_logger.ts",
|
|
"lineNumber": 16
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/authorization/audit_logger.ts",
|
|
"lineNumber": 8
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/authorization/audit_logger.ts",
|
|
"lineNumber": 16
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/authorization/audit_logger.ts",
|
|
"lineNumber": 18
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/authorization/audit_logger.ts",
|
|
"lineNumber": 8
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/authorization/audit_logger.ts",
|
|
"lineNumber": 21
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/authorization/audit_logger.ts",
|
|
"lineNumber": 23
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/alerts_client_factory.test.ts",
|
|
"lineNumber": 23
|
|
}
|
|
},
|
|
{
|
|
"plugin": "alerting",
|
|
"link": {
|
|
"path": "x-pack/plugins/alerting/server/alerts_client_factory.test.ts",
|
|
"lineNumber": 98
|
|
}
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.LegacyAuditLogger.log",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "log",
|
|
"description": [],
|
|
"signature": [
|
|
"(eventType: string, message: string, data?: Record<string, any> | undefined) => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.eventType",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "eventType",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.message",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "message",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.data",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "data",
|
|
"description": [],
|
|
"signature": [
|
|
"Record<string, any> | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/audit/audit_service.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityPluginSetup",
|
|
"description": [
|
|
"\nDescribes public Security plugin contract returned at the `setup` stage."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 69
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginSetup.authc",
|
|
"type": "Object",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "authc",
|
|
"description": [],
|
|
"signature": [
|
|
"{ getCurrentUser: (request: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>) => ",
|
|
"AuthenticatedUser",
|
|
" | null; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 73
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "reporting",
|
|
"link": {
|
|
"path": "x-pack/plugins/reporting/server/routes/lib/get_user.ts",
|
|
"lineNumber": 13
|
|
}
|
|
},
|
|
{
|
|
"plugin": "encryptedSavedObjects",
|
|
"link": {
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/crypto/encryption_key_rotation_service.ts",
|
|
"lineNumber": 107
|
|
}
|
|
},
|
|
{
|
|
"plugin": "encryptedSavedObjects",
|
|
"link": {
|
|
"path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts",
|
|
"lineNumber": 67
|
|
}
|
|
},
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 444
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/routes/annotations.ts",
|
|
"lineNumber": 105
|
|
}
|
|
},
|
|
{
|
|
"plugin": "dashboardMode",
|
|
"link": {
|
|
"path": "x-pack/plugins/dashboard_mode/server/interceptors/dashboard_mode_request_interceptor.ts",
|
|
"lineNumber": 33
|
|
}
|
|
},
|
|
{
|
|
"plugin": "dataEnhanced",
|
|
"link": {
|
|
"path": "x-pack/plugins/data_enhanced/server/search/session/session_service.ts",
|
|
"lineNumber": 448
|
|
}
|
|
},
|
|
{
|
|
"plugin": "logstash",
|
|
"link": {
|
|
"path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts",
|
|
"lineNumber": 41
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts",
|
|
"lineNumber": 48
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts",
|
|
"lineNumber": 45
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts",
|
|
"lineNumber": 45
|
|
}
|
|
},
|
|
{
|
|
"plugin": "securitySolution",
|
|
"link": {
|
|
"path": "x-pack/plugins/security_solution/server/lib/timeline/utils/common.ts",
|
|
"lineNumber": 28
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginSetup.authz",
|
|
"type": "Object",
|
|
"tags": [
|
|
"deprecated"
|
|
],
|
|
"label": "authz",
|
|
"description": [],
|
|
"signature": [
|
|
"{ mode: ",
|
|
"AuthorizationMode",
|
|
"; actions: ",
|
|
"Actions",
|
|
"; checkPrivilegesDynamicallyWithRequest: ",
|
|
"CheckPrivilegesDynamicallyWithRequest",
|
|
"; checkPrivilegesWithRequest: ",
|
|
"CheckPrivilegesWithRequest",
|
|
"; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 77
|
|
},
|
|
"deprecated": true,
|
|
"references": [
|
|
{
|
|
"plugin": "actions",
|
|
"link": {
|
|
"path": "x-pack/plugins/actions/server/plugin.ts",
|
|
"lineNumber": 443
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts",
|
|
"lineNumber": 54
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/plugin.ts",
|
|
"lineNumber": 153
|
|
}
|
|
},
|
|
{
|
|
"plugin": "ml",
|
|
"link": {
|
|
"path": "x-pack/plugins/ml/server/plugin.ts",
|
|
"lineNumber": 203
|
|
}
|
|
},
|
|
{
|
|
"plugin": "enterpriseSearch",
|
|
"link": {
|
|
"path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts",
|
|
"lineNumber": 46
|
|
}
|
|
},
|
|
{
|
|
"plugin": "enterpriseSearch",
|
|
"link": {
|
|
"path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts",
|
|
"lineNumber": 86
|
|
}
|
|
},
|
|
{
|
|
"plugin": "enterpriseSearch",
|
|
"link": {
|
|
"path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts",
|
|
"lineNumber": 88
|
|
}
|
|
},
|
|
{
|
|
"plugin": "savedObjectsTagging",
|
|
"link": {
|
|
"path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts",
|
|
"lineNumber": 37
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginSetup.license",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "license",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "security",
|
|
"scope": "common",
|
|
"docId": "kibSecurityPluginApi",
|
|
"section": "def-common.SecurityLicense",
|
|
"text": "SecurityLicense"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 81
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginSetup.audit",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "audit",
|
|
"description": [],
|
|
"signature": [
|
|
"AuditServiceSetup"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 82
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginStart",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityPluginStart",
|
|
"description": [
|
|
"\nDescribes public Security plugin contract returned at the `start` stage."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 88
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginStart.authc",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authc",
|
|
"description": [],
|
|
"signature": [
|
|
"{ getCurrentUser: (request: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCoreHttpPluginApi",
|
|
"section": "def-server.KibanaRequest",
|
|
"text": "KibanaRequest"
|
|
},
|
|
"<unknown, unknown, unknown, any>) => ",
|
|
"AuthenticatedUser",
|
|
" | null; apiKeys: Pick<",
|
|
"APIKeys",
|
|
", \"create\" | \"areAPIKeysEnabled\" | \"invalidate\" | \"grantAsInternalUser\" | \"invalidateAsInternalUser\">; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 89
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.SecurityPluginStart.authz",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "authz",
|
|
"description": [],
|
|
"signature": [
|
|
"{ mode: ",
|
|
"AuthorizationMode",
|
|
"; actions: ",
|
|
"Actions",
|
|
"; checkPrivilegesDynamicallyWithRequest: ",
|
|
"CheckPrivilegesDynamicallyWithRequest",
|
|
"; checkPrivilegesWithRequest: ",
|
|
"CheckPrivilegesWithRequest",
|
|
"; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/plugin.ts",
|
|
"lineNumber": 90
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.AuthorizationServiceSetup",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "AuthorizationServiceSetup",
|
|
"description": [],
|
|
"signature": [
|
|
"{ mode: ",
|
|
"AuthorizationMode",
|
|
"; actions: ",
|
|
"Actions",
|
|
"; checkPrivilegesDynamicallyWithRequest: ",
|
|
"CheckPrivilegesDynamicallyWithRequest",
|
|
"; checkPrivilegesWithRequest: ",
|
|
"CheckPrivilegesWithRequest",
|
|
"; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/index.ts",
|
|
"lineNumber": 30
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-server.ROUTE_TAG_CAN_REDIRECT",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "ROUTE_TAG_CAN_REDIRECT",
|
|
"description": [
|
|
"\nIf the route is marked with this tag Security can safely assume that the calling party that sends\nrequest to this route can handle redirect responses. It's particularly important if we want the\nspecific route to be able to initiate or participate in the authentication handshake that may\ninvolve redirects and will eventually redirect authenticated user to this route."
|
|
],
|
|
"signature": [
|
|
"\"security:canRedirect\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/server/routes/tags.ts",
|
|
"lineNumber": 21
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "SecurityLicense",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense.isLicenseAvailable",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "isLicenseAvailable",
|
|
"description": [],
|
|
"signature": [
|
|
"() => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 15
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense.isEnabled",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "isEnabled",
|
|
"description": [],
|
|
"signature": [
|
|
"() => boolean"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 16
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense.getType",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getType",
|
|
"description": [],
|
|
"signature": [
|
|
"() => \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 17
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense.getFeatures",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getFeatures",
|
|
"description": [],
|
|
"signature": [
|
|
"() => ",
|
|
"SecurityLicenseFeatures"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 18
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
},
|
|
{
|
|
"parentPluginId": "security",
|
|
"id": "def-common.SecurityLicense.features$",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "features$",
|
|
"description": [],
|
|
"signature": [
|
|
"Observable",
|
|
"<",
|
|
"SecurityLicenseFeatures",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/security/common/licensing/license_service.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |