-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Closed
Labels
:Security/SecuritySecurity issues without another labelSecurity issues without another label>bugTeam:SecurityMeta label for security teamMeta label for security team
Description
Elasticsearch Version
8.15.2
Installed Plugins
No response
Java Version
bundled
OS Version
managed elastic.co deployment
Problem Description
Cannot change password for elastic
user using these instructions
It returns
{
"error": {
"root_cause": [
{
"type": "validation_exception",
"reason": "Validation Failed: 1: user must exist in order to change password;"
}
],
"type": "validation_exception",
"reason": "Validation Failed: 1: user must exist in order to change password;"
},
"status": 400
}
Moreover, trying to do so with Terraform provider and this resource also returns below error.
│ Error: System user "elastic" not found
│
│ with module.password.elasticstack_elasticsearch_security_system_user.this["elastic"],
│ on ../module_elasticsearch_user/built_in_user.tf line 1, in resource "elasticstack_elasticsearch_security_system_user" "this":
│ 1: resource "elasticstack_elasticsearch_security_system_user" "this" {
Steps to Reproduce
- Go to your elastic.co console.
- Select a deployment
- Go to API console
- Send request to POST
/_security/user/_password
with body{ "password": "new-Password-12345"}
OR - Send request to POST
/_security/user/elastic/_password
with the same body
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
:Security/SecuritySecurity issues without another labelSecurity issues without another label>bugTeam:SecurityMeta label for security teamMeta label for security team