Difference between revisions of "GET / security/user"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | GET /_security/user | + | GET [[/_security/]]user |
* https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-api-get-user.html | * https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-api-get-user.html | ||
+ | |||
+ | <pre> | ||
+ | { | ||
+ | "elastic": { | ||
+ | "username": "elastic", | ||
+ | "roles": [ | ||
+ | "superuser" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "kibana": { | ||
+ | "username": "kibana", | ||
+ | "roles": [ | ||
+ | "kibana_system" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_deprecated": true, | ||
+ | "_deprecated_reason": "Please use the [kibana_system] user instead.", | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "kibana_system": { | ||
+ | "username": "kibana_system", | ||
+ | "roles": [ | ||
+ | "kibana_system" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "logstash_system": { | ||
+ | "username": "logstash_system", | ||
+ | "roles": [ | ||
+ | "logstash_system" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "beats_system": { | ||
+ | "username": "beats_system", | ||
+ | "roles": [ | ||
+ | "beats_system" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "apm_system": { | ||
+ | "username": "apm_system", | ||
+ | "roles": [ | ||
+ | "apm_system" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "remote_monitoring_user": { | ||
+ | "username": "remote_monitoring_user", | ||
+ | "roles": [ | ||
+ | "remote_monitoring_collector", | ||
+ | "remote_monitoring_agent" | ||
+ | ], | ||
+ | "full_name": null, | ||
+ | "email": null, | ||
+ | "metadata": { | ||
+ | "_reserved": true | ||
+ | }, | ||
+ | "enabled": true | ||
+ | }, | ||
+ | "adminsearch": { | ||
+ | "username": "adminsearch", | ||
+ | "roles": [ | ||
+ | "search_user" | ||
+ | ], | ||
+ | "full_name": "Admin Search", | ||
+ | "email": "[email protected]", | ||
+ | "metadata": {}, | ||
+ | "enabled": true | ||
+ | } | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | == Related == | ||
+ | [[POST /_security/user/_password]] | ||
Line 6: | Line 111: | ||
* {{ES URLs}} | * {{ES URLs}} | ||
− | [[Category: | + | [[Category:Elasticsearch]] |
Latest revision as of 08:03, 4 November 2022
GET /_security/user
{ "elastic": { "username": "elastic", "roles": [ "superuser" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "kibana": { "username": "kibana", "roles": [ "kibana_system" ], "full_name": null, "email": null, "metadata": { "_deprecated": true, "_deprecated_reason": "Please use the [kibana_system] user instead.", "_reserved": true }, "enabled": true }, "kibana_system": { "username": "kibana_system", "roles": [ "kibana_system" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "logstash_system": { "username": "logstash_system", "roles": [ "logstash_system" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "beats_system": { "username": "beats_system", "roles": [ "beats_system" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "apm_system": { "username": "apm_system", "roles": [ "apm_system" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "remote_monitoring_user": { "username": "remote_monitoring_user", "roles": [ "remote_monitoring_collector", "remote_monitoring_agent" ], "full_name": null, "email": null, "metadata": { "_reserved": true }, "enabled": true }, "adminsearch": { "username": "adminsearch", "roles": [ "search_user" ], "full_name": "Admin Search", "email": "[email protected]", "metadata": {}, "enabled": true } }
Related[edit]
POST /_security/user/_password
See also[edit]
Advertising: