From e484b3e93f4ee1d4b908feab812a863f16b73196 Mon Sep 17 00:00:00 2001 From: keithhc2 Date: Fri, 9 Jul 2021 15:05:09 -0700 Subject: [PATCH] Minor language fix --- _security-plugin/configuration/yaml.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_security-plugin/configuration/yaml.md b/_security-plugin/configuration/yaml.md index 89a82cc6..62e2b1cb 100644 --- a/_security-plugin/configuration/yaml.md +++ b/_security-plugin/configuration/yaml.md @@ -116,7 +116,9 @@ plugins.security.system_indices.indices: [".opendistro-alerting-config", ".opend node.max_local_storage_nodes: 3 ``` -If you want to run your users' passwords against some validation, you can specify the necessary regex in this file. You can also include an error message that loads if any passwords don't pass validation. The following example demonstrates how to include a regex so OpenSearch requires new passwords to be a minimum of eight characters with at least one uppercase, one lowercase, one digit, and one special character. Note that OpenSearch validates only users and passwords created through OpenSearch Dashboards or the REST API. +If you want to run your users' passwords against some validation, you can specify the necessary regex in this file. You can also include an error message that loads if any passwords don't pass validation. The following example demonstrates how to include a regex so OpenSearch requires new passwords to be a minimum of eight characters with at least one uppercase, one lowercase, one digit, and one special character. + +Note that OpenSearch validates only users and passwords created through OpenSearch Dashboards or the REST API. ```yml plugins.restapi.password_validation_regex: '(?=.*[A-Z])(?=.*[^a-zA-Z\d])(?=.*[0-9])(?=.*[a-z]).{8,}'