mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[DOCS] Deprecate /_xpack/security in favor of /_security (#26897)
This commit is contained in:
parent
ab47228729
commit
49e863ba2c
3 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ When {kib} first starts up, it executes the following `POST` request against {es
|
|||
|
||||
[source,js]
|
||||
----------------------------------
|
||||
POST /_xpack/security/privilege
|
||||
POST /_security/privilege
|
||||
Content-Type: application/json
|
||||
Authorization: Basic kibana changeme
|
||||
|
||||
|
@ -80,7 +80,7 @@ The {es} {ref}/security-api-has-privileges.html[has privileges API] determines w
|
|||
|
||||
[source,js]
|
||||
----------------------------------
|
||||
POST /_xpack/security/user/_has_privileges
|
||||
POST /_security/user/_has_privileges
|
||||
Content-Type: application/json
|
||||
Authorization: Basic foo_read_only_user password
|
||||
|
||||
|
@ -110,7 +110,7 @@ Within the secured instance of the `SavedObjectsClient` the `_has_privileges` ch
|
|||
|
||||
[source,js]
|
||||
----------------------------------
|
||||
POST /_xpack/security/user/_has_privileges
|
||||
POST /_security/user/_has_privileges
|
||||
Content-Type: application/json
|
||||
Authorization: Basic foo_legacy_user password
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ the following request creates a `reporter` user that has the
|
|||
+
|
||||
[source, sh]
|
||||
---------------------------------------------------------------
|
||||
POST /_xpack/security/user/reporter
|
||||
POST /_security/user/reporter
|
||||
{
|
||||
"password" : "x-pack-test-password",
|
||||
"roles" : ["kibana_user", "reporting_user"],
|
||||
|
|
|
@ -91,7 +91,7 @@ role:
|
|||
|
||||
[source,js]
|
||||
--------------------------------------------------------------------------------
|
||||
POST /_xpack/security/user/jacknich
|
||||
POST /_security/user/jacknich
|
||||
{
|
||||
"password" : "t0pS3cr3t",
|
||||
"roles" : [ "kibana_user" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue