[FEATURE] Automatically upgrade default security configs (static + reserved) on cluster upgrade #5010
Labels
enhancement
New feature or request
triaged
Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Is your feature request related to a problem?
In Opensearch 2.14, 2 new APIs were introduced that allowed cluster administrators determine if their default security configs were outdated and take action accordingly. Those APIs are:
Below are definitions for "default" and "security config":
Default: Default means that either
static
orreserved
is set to trueSecurity Config: This means the various different security config types. i.e. roles and action groups
These APIs require intervention, whereas it should also be possible to specify whether a cluster should perform these upgrades automatically.
What solution would you like?
Introduce a new feature flag with default set to true. (Maybe
plugins.security.automatically_upgrade_default_security_configurations
?) that will check if the default security configs are outdated on node bootstrap and, if outdated, perform the upgrade automatically.What alternatives have you considered?
Status quo
The text was updated successfully, but these errors were encountered: