Skip to content

Commit

Permalink
[Backport 2.x] Add 'good' as a valid value for plugins.security.resta…
Browse files Browse the repository at this point in the history
…pi.password_score_based_validation_strength (opensearch-project#5120)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 68eeb65 commit 0671ae8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ public enum ScoreStrength {

private final String description;

static final List<ScoreStrength> CONFIGURATION_VALUES = ImmutableList.of(FAIR, STRONG, VERY_STRONG);
static final List<ScoreStrength> CONFIGURATION_VALUES = ImmutableList.of(FAIR, GOOD, STRONG, VERY_STRONG);

static final String EXPECTED_CONFIGURATION_VALUES = new StringJoiner(",").add(FAIR.name().toLowerCase(Locale.ROOT))
.add(GOOD.name().toLowerCase(Locale.ROOT))
.add(STRONG.name().toLowerCase(Locale.ROOT))
.add(VERY_STRONG.name().toLowerCase(Locale.ROOT))
.toString();
Expand Down

0 comments on commit 0671ae8

Please sign in to comment.