Skip to content

Commit

Permalink
Add 'good' as a valid value for plugins.security.restapi.password_sco…
Browse files Browse the repository at this point in the history
…re_based_validation_strength

Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Feb 20, 2025
1 parent a2a5e16 commit 56fdcf6
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 56fdcf6

Please sign in to comment.