Skip to content

Commit

Permalink
[DOCS] Deprecate /_xpack/security in favor of /_security (#26897)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored and chrisronline committed Dec 12, 2018
1 parent afce725 commit 53c3d5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/development/security/rbac.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/security/reporting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion docs/security/securing-kibana.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ role:

[source,js]
--------------------------------------------------------------------------------
POST /_xpack/security/user/jacknich
POST /_security/user/jacknich
{
"password" : "t0pS3cr3t",
"roles" : [ "kibana_user" ]
Expand Down

0 comments on commit 53c3d5a

Please sign in to comment.