|
@@ -37,41 +37,14 @@ public class XPackSettings {
|
|
|
throw new IllegalStateException("Utility class should not be instantiated");
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Setting for controlling whether or not enrich is enabled.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> ENRICH_ENABLED_SETTING = Setting.boolSetting("xpack.enrich.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/**
|
|
|
* Setting for controlling whether or not CCR is enabled.
|
|
|
*/
|
|
|
public static final Setting<Boolean> CCR_ENABLED_SETTING = Setting.boolSetting("xpack.ccr.enabled", true, Property.NodeScope);
|
|
|
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling data frame. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> TRANSFORM_ENABLED = Setting.boolSetting("xpack.transform.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/** Setting for enabling or disabling security. Defaults to true. */
|
|
|
public static final Setting<Boolean> SECURITY_ENABLED = Setting.boolSetting("xpack.security.enabled", true, Setting.Property.NodeScope);
|
|
|
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling monitoring.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> MONITORING_ENABLED = Setting.boolSetting("xpack.monitoring.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/** Setting for enabling or disabling watcher. Defaults to true. */
|
|
|
public static final Setting<Boolean> WATCHER_ENABLED = Setting.boolSetting("xpack.watcher.enabled", true, Setting.Property.NodeScope);
|
|
|
|
|
@@ -82,15 +55,6 @@ public class XPackSettings {
|
|
|
public static final Setting<Boolean> MACHINE_LEARNING_ENABLED = Setting.boolSetting("xpack.ml.enabled", true,
|
|
|
Setting.Property.NodeScope);
|
|
|
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling rollup. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> ROLLUP_ENABLED = Setting.boolSetting("xpack.rollup.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/** Setting for enabling or disabling auditing. Defaults to false. */
|
|
|
public static final Setting<Boolean> AUDIT_ENABLED = Setting.boolSetting("xpack.security.audit.enabled", false,
|
|
|
Setting.Property.NodeScope);
|
|
@@ -99,33 +63,6 @@ public class XPackSettings {
|
|
|
public static final Setting<Boolean> DLS_FLS_ENABLED = Setting.boolSetting("xpack.security.dls_fls.enabled", true,
|
|
|
Setting.Property.NodeScope);
|
|
|
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling Logstash extensions. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> LOGSTASH_ENABLED = Setting.boolSetting("xpack.logstash.enabled", true,
|
|
|
- Setting.Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling the index lifecycle extension. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> INDEX_LIFECYCLE_ENABLED = Setting.boolSetting("xpack.ilm.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling the snapshot lifecycle extension. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> SNAPSHOT_LIFECYCLE_ENABLED = Setting.boolSetting("xpack.slm.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/** Setting for enabling or disabling TLS. Defaults to false. */
|
|
|
public static final Setting<Boolean> TRANSPORT_SSL_ENABLED = Setting.boolSetting("xpack.security.transport.ssl.enabled", false,
|
|
|
Property.NodeScope);
|
|
@@ -150,33 +87,6 @@ public class XPackSettings {
|
|
|
public static final Setting<Boolean> FIPS_MODE_ENABLED =
|
|
|
Setting.boolSetting("xpack.security.fips_mode.enabled", false, Property.NodeScope);
|
|
|
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling sql. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> SQL_ENABLED = Setting.boolSetting("xpack.sql.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling flattened fields. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> FLATTENED_ENABLED = Setting.boolSetting("xpack.flattened.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
- /**
|
|
|
- * Setting for enabling or disabling vectors. Defaults to true.
|
|
|
- * <p>
|
|
|
- * This setting is now a no-op: setting it to false is permitted, but does nothing.
|
|
|
- */
|
|
|
- @Deprecated(since = "7.8.0")
|
|
|
- public static final Setting<Boolean> VECTORS_ENABLED = Setting.boolSetting("xpack.vectors.enabled", true,
|
|
|
- Property.NodeScope, Property.Deprecated);
|
|
|
-
|
|
|
/*
|
|
|
* SSL settings. These are the settings that are specifically registered for SSL. Many are private as we do not explicitly use them
|
|
|
* but instead parse based on a prefix (eg *.ssl.*)
|
|
@@ -271,28 +181,18 @@ public class XPackSettings {
|
|
|
settings.addAll(HTTP_SSL.getAllSettings());
|
|
|
settings.addAll(TRANSPORT_SSL.getAllSettings());
|
|
|
settings.add(SECURITY_ENABLED);
|
|
|
- settings.add(MONITORING_ENABLED);
|
|
|
settings.add(GRAPH_ENABLED);
|
|
|
settings.add(MACHINE_LEARNING_ENABLED);
|
|
|
settings.add(AUDIT_ENABLED);
|
|
|
settings.add(WATCHER_ENABLED);
|
|
|
settings.add(DLS_FLS_ENABLED);
|
|
|
- settings.add(LOGSTASH_ENABLED);
|
|
|
settings.add(TRANSPORT_SSL_ENABLED);
|
|
|
settings.add(HTTP_SSL_ENABLED);
|
|
|
settings.add(RESERVED_REALM_ENABLED_SETTING);
|
|
|
settings.add(TOKEN_SERVICE_ENABLED_SETTING);
|
|
|
settings.add(API_KEY_SERVICE_ENABLED_SETTING);
|
|
|
- settings.add(SQL_ENABLED);
|
|
|
settings.add(USER_SETTING);
|
|
|
- settings.add(ROLLUP_ENABLED);
|
|
|
settings.add(PASSWORD_HASHING_ALGORITHM);
|
|
|
- settings.add(INDEX_LIFECYCLE_ENABLED);
|
|
|
- settings.add(SNAPSHOT_LIFECYCLE_ENABLED);
|
|
|
- settings.add(TRANSFORM_ENABLED);
|
|
|
- settings.add(FLATTENED_ENABLED);
|
|
|
- settings.add(VECTORS_ENABLED);
|
|
|
- settings.add(ENRICH_ENABLED_SETTING);
|
|
|
return Collections.unmodifiableList(settings);
|
|
|
}
|
|
|
|