[DOCS] Deprecate /_xpack/security in favor of /_security (#26897)

This commit is contained in:
Lisa Cawley 2018-12-10 12:42:56 -08:00 committed by GitHub
parent ab47228729
commit 49e863ba2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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"],

View file

@ -91,7 +91,7 @@ role:
[source,js]
--------------------------------------------------------------------------------
POST /_xpack/security/user/jacknich
POST /_security/user/jacknich
{
"password" : "t0pS3cr3t",
"roles" : [ "kibana_user" ]