Difference between revisions of "GET / security/user"

From wikieduonline
Jump to navigation Jump to search
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>
  
  

Revision as of 07:55, 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
  }
}


See also

Advertising: