* Timelion App removal (#110255) * Remove timelion app and stuff which related to it * Fix CI * Fix lint * Fix tests * Fix tests * Fis tests * Fix some comments * Clean up * fix CI * fix some comments * Fix deprecation examples * Return `enabled` property in config for timelion vis * Remove unused angular lib Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com> * Fix CI Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
208 lines
3.6 KiB
Plaintext
208 lines
3.6 KiB
Plaintext
[role="xpack"]
|
|
[[features-api-get]]
|
|
== Get features API
|
|
|
|
experimental[] Retrieves all {kib} features. Features are used by spaces and security to refine and secure access to {kib}.
|
|
|
|
[float]
|
|
[[features-api-get-request]]
|
|
=== Request
|
|
|
|
`GET <kibana host>:<port>/api/features`
|
|
|
|
[float]
|
|
[[features-api-get-codes]]
|
|
=== Response code
|
|
|
|
`200`::
|
|
Indicates a successful call.
|
|
|
|
[float]
|
|
[[features-api-get-example]]
|
|
=== Example
|
|
|
|
The API returns the following:
|
|
|
|
[source,sh]
|
|
--------------------------------------------------
|
|
{
|
|
"id": "discover",
|
|
"name": "Discover",
|
|
"app": [
|
|
"kibana"
|
|
],
|
|
"catalogue": [
|
|
"discover"
|
|
],
|
|
"privileges": {
|
|
"all": {
|
|
"savedObject": {
|
|
"all": [
|
|
"search",
|
|
"url"
|
|
],
|
|
"read": [
|
|
"config",
|
|
"index-pattern"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show",
|
|
"createShortUrl",
|
|
"save"
|
|
]
|
|
},
|
|
"read": {
|
|
"savedObject": {
|
|
"all": [],
|
|
"read": [
|
|
"config",
|
|
"index-pattern",
|
|
"search",
|
|
"url"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "visualize",
|
|
"name": "Visualize",
|
|
"app": [
|
|
"kibana"
|
|
],
|
|
"catalogue": [
|
|
"visualize"
|
|
],
|
|
"privileges": {
|
|
"all": {
|
|
"savedObject": {
|
|
"all": [
|
|
"visualization",
|
|
"url"
|
|
],
|
|
"read": [
|
|
"config",
|
|
"index-pattern",
|
|
"search"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show",
|
|
"createShortUrl",
|
|
"delete",
|
|
"save"
|
|
]
|
|
},
|
|
"read": {
|
|
"savedObject": {
|
|
"all": [],
|
|
"read": [
|
|
"config",
|
|
"index-pattern",
|
|
"search",
|
|
"visualization"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "dashboard",
|
|
"name": "Dashboard",
|
|
"app": [
|
|
"kibana"
|
|
],
|
|
"catalogue": [
|
|
"dashboard"
|
|
],
|
|
"privileges": {
|
|
"all": {
|
|
"savedObject": {
|
|
"all": [
|
|
"dashboard",
|
|
"url"
|
|
],
|
|
"read": [
|
|
"config",
|
|
"index-pattern",
|
|
"search",
|
|
"visualization",
|
|
"canvas-workpad"
|
|
]
|
|
},
|
|
"ui": [
|
|
"createNew",
|
|
"show",
|
|
"showWriteControls"
|
|
]
|
|
},
|
|
"read": {
|
|
"savedObject": {
|
|
"all": [],
|
|
"read": [
|
|
"config",
|
|
"index-pattern",
|
|
"search",
|
|
"visualization",
|
|
"canvas-workpad",
|
|
"dashboard"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "dev_tools",
|
|
"name": "Dev Tools",
|
|
"app": [
|
|
"kibana"
|
|
],
|
|
"catalogue": [
|
|
"console",
|
|
"searchprofiler",
|
|
"grokdebugger"
|
|
],
|
|
"privileges": {
|
|
"all": {
|
|
"api": [
|
|
"console"
|
|
],
|
|
"savedObject": {
|
|
"all": [],
|
|
"read": [
|
|
"config"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show"
|
|
]
|
|
},
|
|
"read": {
|
|
"api": [
|
|
"console"
|
|
],
|
|
"savedObject": {
|
|
"all": [],
|
|
"read": [
|
|
"config"
|
|
]
|
|
},
|
|
"ui": [
|
|
"show"
|
|
]
|
|
}
|
|
},
|
|
"privilegesTooltip": "User should also be granted the appropriate Elasticsearch cluster and index privileges"
|
|
},
|
|
--------------------------------------------------
|