Enable FIPS140LicenseBootstrapCheck (#32903)
This commit ensures that xpack.security.fips_mode.enabled: true cannot be set in a node that doesn't have the appropriate license.
This commit is contained in:
parent
ca54aacbb5
commit
75014a22d7
|
@ -301,7 +301,8 @@ public class Security extends Plugin implements ActionPlugin, IngestPlugin, Netw
|
|||
new TLSLicenseBootstrapCheck(),
|
||||
new FIPS140SecureSettingsBootstrapCheck(settings, env),
|
||||
new FIPS140JKSKeystoreBootstrapCheck(settings),
|
||||
new FIPS140PasswordHashingAlgorithmBootstrapCheck(settings)));
|
||||
new FIPS140PasswordHashingAlgorithmBootstrapCheck(settings),
|
||||
new FIPS140LicenseBootstrapCheck(XPackSettings.FIPS_MODE_ENABLED.get(settings))));
|
||||
checks.addAll(InternalRealms.getBootstrapChecks(settings, env));
|
||||
this.bootstrapChecks = Collections.unmodifiableList(checks);
|
||||
Automatons.updateMaxDeterminizedStates(settings);
|
||||
|
|
Loading…
Reference in New Issue