Class XPackSettings

java.lang.Object
org.elasticsearch.xpack.core.XPackSettings

public class XPackSettings extends Object
A container for xpack setting constants.
  • Field Details

    • CCR_ENABLED_SETTING

      public static final Setting<Boolean> CCR_ENABLED_SETTING
      Setting for controlling whether or not CCR is enabled.
    • SECURITY_ENABLED

      public static final Setting<Boolean> SECURITY_ENABLED
      Setting for enabling or disabling security. Defaults to true.
    • WATCHER_ENABLED

      public static final Setting<Boolean> WATCHER_ENABLED
      Setting for enabling or disabling watcher. Defaults to true.
    • GRAPH_ENABLED

      public static final Setting<Boolean> GRAPH_ENABLED
      Setting for enabling or disabling graph. Defaults to true.
    • ML_NATIVE_CODE_PLATFORMS

      public static final Set<String> ML_NATIVE_CODE_PLATFORMS
    • MACHINE_LEARNING_ENABLED

      public static final Setting<Boolean> MACHINE_LEARNING_ENABLED
      Setting for enabling or disabling machine learning. Defaults to true on platforms that have the ML native code available.
    • PROFILING_ENABLED

      public static final Setting<Boolean> PROFILING_ENABLED
      Setting for enabling or disabling universal profiling. Defaults to true.
    • APM_DATA_ENABLED

      public static final Setting<Boolean> APM_DATA_ENABLED
      Setting for enabling or disabling APM Data. Defaults to true.
    • OTEL_DATA_ENABLED

      public static final Setting<Boolean> OTEL_DATA_ENABLED
      Setting for enabling or disabling OTel Data. Defaults to true.
    • ENTERPRISE_SEARCH_ENABLED

      public static final Setting<Boolean> ENTERPRISE_SEARCH_ENABLED
      Setting for enabling or disabling enterprise search. Defaults to true.
    • AUDIT_ENABLED

      public static final Setting<Boolean> AUDIT_ENABLED
      Setting for enabling or disabling auditing. Defaults to false.
    • DLS_FLS_ENABLED

      public static final Setting<Boolean> DLS_FLS_ENABLED
      Setting for enabling or disabling document/field level security. Defaults to true.
    • TRANSPORT_SSL_ENABLED

      public static final Setting<Boolean> TRANSPORT_SSL_ENABLED
      Setting for enabling or disabling TLS. Defaults to false.
    • HTTP_SSL_ENABLED

      public static final Setting<Boolean> HTTP_SSL_ENABLED
      Setting for enabling or disabling http ssl. Defaults to false.
    • RESERVED_REALM_ENABLED_SETTING

      public static final Setting<Boolean> RESERVED_REALM_ENABLED_SETTING
      Setting for enabling or disabling the reserved realm. Defaults to true
    • TOKEN_SERVICE_ENABLED_SETTING

      public static final Setting<Boolean> TOKEN_SERVICE_ENABLED_SETTING
      Setting for enabling or disabling the token service. Defaults to the value of https being enabled
    • API_KEY_SERVICE_ENABLED_SETTING

      public static final Setting<Boolean> API_KEY_SERVICE_ENABLED_SETTING
      Setting for enabling or disabling the api key service. Defaults to true
    • FIPS_MODE_ENABLED

      public static final Setting<Boolean> FIPS_MODE_ENABLED
      Setting for enabling or disabling FIPS mode. Defaults to false
    • FIPS_REQUIRED_PROVIDERS

      public static final Setting<List<String>> FIPS_REQUIRED_PROVIDERS
      Optional setting to prevent startup if required providers are not discovered at runtime
    • ENROLLMENT_ENABLED

      public static final Setting<Boolean> ENROLLMENT_ENABLED
      Setting for enabling the enrollment process, ie the enroll APIs are enabled, and the initial cluster node generates and displays enrollment tokens (for Kibana and sometimes for ES nodes) when starting up for the first time. This is usually set by start-up scripts, which run before the node starts, which perform TLS and cluster formation specific configuration (persisted in the node's config dir). This can be toggled liberally by admins (it can be made a dynamic setting), in order to permit or not the enrollment of subsequent nodes. Nevertheless, we assumes that when ENROLLMENT_ENABLED is true the node MUST have been configured by said start-up scripts (eg we don't support enrollment with general TLS certificates).
    • SECURITY_AUTOCONFIGURATION_ENABLED

      public static final Setting<Boolean> SECURITY_AUTOCONFIGURATION_ENABLED
      Setting for enabling or disabling the TLS auto-configuration as well as credentials auto-generation for nodes, before starting for the first time, and in the absence of other conflicting configurations.
    • DEFAULT_CIPHERS

      public static final List<String> DEFAULT_CIPHERS
    • PASSWORD_HASHING_ALGORITHM

      public static final Setting<String> PASSWORD_HASHING_ALGORITHM
    • SERVICE_TOKEN_HASHING_ALGORITHM

      public static final Setting<String> SERVICE_TOKEN_HASHING_ALGORITHM
    • DEFAULT_SUPPORTED_PROTOCOLS

      public static final List<String> DEFAULT_SUPPORTED_PROTOCOLS
    • CLIENT_AUTH_DEFAULT

      public static final SslClientAuthenticationMode CLIENT_AUTH_DEFAULT
    • HTTP_CLIENT_AUTH_DEFAULT

      public static final SslClientAuthenticationMode HTTP_CLIENT_AUTH_DEFAULT
    • REMOTE_CLUSTER_CLIENT_AUTH_DEFAULT

      public static final SslClientAuthenticationMode REMOTE_CLUSTER_CLIENT_AUTH_DEFAULT
    • VERIFICATION_MODE_DEFAULT

      public static final SslVerificationMode VERIFICATION_MODE_DEFAULT
    • HTTP_SSL_PREFIX

      public static final String HTTP_SSL_PREFIX
    • TRANSPORT_SSL_PREFIX

      public static final String TRANSPORT_SSL_PREFIX
    • REMOTE_CLUSTER_SERVER_SSL_PREFIX

      public static final String REMOTE_CLUSTER_SERVER_SSL_PREFIX
    • REMOTE_CLUSTER_CLIENT_SSL_PREFIX

      public static final String REMOTE_CLUSTER_CLIENT_SSL_PREFIX
    • REMOTE_CLUSTER_SERVER_SSL_ENABLED

      public static final Setting<Boolean> REMOTE_CLUSTER_SERVER_SSL_ENABLED
      Setting for enabling or disabling remote cluster server TLS. Defaults to true.
    • REMOTE_CLUSTER_CLIENT_SSL_ENABLED

      public static final Setting<Boolean> REMOTE_CLUSTER_CLIENT_SSL_ENABLED
      Setting for enabling or disabling remote cluster client TLS. Defaults to true.
  • Method Details