Module bus.gitlab

Enum Class Setting

java.lang.Object
java.lang.Enum<Setting>
org.miaixz.bus.gitlab.models.Setting
All Implemented Interfaces:
Serializable, Comparable<Setting>, Constable

public enum Setting extends Enum<Setting>
This enum provides constants and value validation for the available GitLab application settings. See List of settings that can be accessed via API calls for more information.
  • Enum Constant Details

    • ADMIN_MODE

      public static final Setting ADMIN_MODE
      Require administrators to enable Admin Mode by re-authenticating for administrative tasks.
    • ABUSE_NOTIFICATION_EMAIL

      public static final Setting ABUSE_NOTIFICATION_EMAIL
      If set, abuse reports are sent to this address. Abuse reports are always available in the Admin area.
    • NOTIFY_ON_UNKNOWN_SIGN_IN

      public static final Setting NOTIFY_ON_UNKNOWN_SIGN_IN
      Enable sending notification if sign in from unknown IP address happens.
    • AFTER_SIGN_OUT_PATH

      public static final Setting AFTER_SIGN_OUT_PATH
      Where to redirect users after logout.
    • AFTER_SIGN_UP_TEXT

      public static final Setting AFTER_SIGN_UP_TEXT
      Text shown to the user after signing up
    • AKISMET_API_KEY

      public static final Setting AKISMET_API_KEY
      required by: AKISMET_ENABLED API key for Akismet spam protection.
    • AKISMET_ENABLED

      public static final Setting AKISMET_ENABLED
      (If enabled, requires: AKISMET_API_KEY) Enable or disable Akismet spam protection.
    • ALLOW_GROUP_OWNERS_TO_MANAGE_LDAP

      public static final Setting ALLOW_GROUP_OWNERS_TO_MANAGE_LDAP
      (PREMIUM | SILVER) Set to true to allow group owners to manage LDAP
    • ALLOW_LOCAL_REQUESTS_FROM_SYSTEM_HOOKS

      public static final Setting ALLOW_LOCAL_REQUESTS_FROM_SYSTEM_HOOKS
      Allow requests to the local network from system hooks.
    • ALLOW_LOCAL_REQUESTS_FROM_WEB_HOOKS_AND_SERVICES

      public static final Setting ALLOW_LOCAL_REQUESTS_FROM_WEB_HOOKS_AND_SERVICES
      Allow requests to the local network from web hooks and services.
    • ALLOW_PROJECT_CREATION_FOR_GUEST_AND_BELOW

      public static final Setting ALLOW_PROJECT_CREATION_FOR_GUEST_AND_BELOW
      Indicates whether users assigned up to the Guest role can create groups and personal projects. Defaults to true.
    • ALLOW_RUNNER_REGISTRATION_TOKEN

      public static final Setting ALLOW_RUNNER_REGISTRATION_TOKEN
      Allow using a registration token to create a runner. Defaults to true.
    • ARCHIVE_BUILDS_IN_HUMAN_READABLE

      public static final Setting ARCHIVE_BUILDS_IN_HUMAN_READABLE
      Set the duration for which the jobs will be considered as old and expired. Once that time passes, the jobs will be archived and no longer able to be retried. Make it empty to never expire jobs. It has to be no less than 1 day, for example: 15 days, 1 month, 2 years.
    • ASSET_PROXY_ENABLED

      public static final Setting ASSET_PROXY_ENABLED
      (If enabled, requires: ASSET_PROXY_URL) Enable proxying of assets. GitLab restart is required to apply changes.
    • ASSET_PROXY_SECRET_KEY

      public static final Setting ASSET_PROXY_SECRET_KEY
      Shared secret with the asset proxy server. GitLab restart is required to apply changes.
    • ASSET_PROXY_URL

      public static final Setting ASSET_PROXY_URL
      URL of the asset proxy server. GitLab restart is required to apply changes.
    • ASSET_PROXY_ALLOWLIST

      public static final Setting ASSET_PROXY_ALLOWLIST
      Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.
    • AUTHORIZED_KEYS_ENABLED

      public static final Setting AUTHORIZED_KEYS_ENABLED
      By default, we write to the authorized_keys file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand.
    • AUTO_DEVOPS_DOMAIN

      public static final Setting AUTO_DEVOPS_DOMAIN
      Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.
    • AUTO_DEVOPS_ENABLED

      public static final Setting AUTO_DEVOPS_ENABLED
      Enable Auto DevOps for projects by default. It will automatically build, test, and deploy applications based on a predefined CI/CD configuration.
    • CHECK_NAMESPACE_PLAN

      public static final Setting CHECK_NAMESPACE_PLAN
      (PREMIUM | SILVER) Enabling this will make only licensed EE features available to projects if the project namespace’s plan includes the feature or if the project is public.
    • COMMIT_EMAIL_HOSTNAME

      public static final Setting COMMIT_EMAIL_HOSTNAME
      Custom hostname (for private commit emails).
    • CONTAINER_REGISTRY_TOKEN_EXPIRE_DELAY

      public static final Setting CONTAINER_REGISTRY_TOKEN_EXPIRE_DELAY
      Container Registry token duration in minutes.
    • DEFAULT_ARTIFACTS_EXPIRE_IN

      public static final Setting DEFAULT_ARTIFACTS_EXPIRE_IN
      Set the default expiration time for each job’s artifacts.
    • DEFAULT_BRANCH_PROTECTION

      public static final Setting DEFAULT_BRANCH_PROTECTION
      Determine if developers can push to master. Can take: 0 (not protected, both developers and maintainers can push new commits, force push, or delete the branch), 1 (partially protected, developers and maintainers can push new commits, but cannot force push or delete the branch) or 2 (fully protected, developers cannot push new commits, but maintainers can; no-one can force push or delete the branch) as a parameter. Default is 2.
    • DEFAULT_CI_CONFIG_PATH

      public static final Setting DEFAULT_CI_CONFIG_PATH
    • DEFAULT_GROUP_VISIBILITY

      public static final Setting DEFAULT_GROUP_VISIBILITY
      What visibility level new groups receive. Can take private, internal and public as a parameter. Default is private.
    • DEFAULT_PROJECT_CREATION

      public static final Setting DEFAULT_PROJECT_CREATION
      Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers)
    • DEFAULT_PROJECT_VISIBILITY

      public static final Setting DEFAULT_PROJECT_VISIBILITY
      What visibility level new projects receive. Can take private, internal and public as a parameter. Default is private.
    • DEFAULT_PROJECTS_LIMIT

      public static final Setting DEFAULT_PROJECTS_LIMIT
      Project limit per user. Default is 100000.
    • DEFAULT_SNIPPET_VISIBILITY

      public static final Setting DEFAULT_SNIPPET_VISIBILITY
      What visibility level new snippets receive. Can take private, internal and public as a parameter. Default is private.
    • DIFF_MAX_PATCH_BYTES

      public static final Setting DIFF_MAX_PATCH_BYTES
      Maximum diff patch size (Bytes).
    • DISABLED_OAUTH_SIGN_IN_SOURCES

      public static final Setting DISABLED_OAUTH_SIGN_IN_SOURCES
      Disabled OAuth sign-in sources.
    • DNS_REBINDING_PROTECTION_ENABLED

      public static final Setting DNS_REBINDING_PROTECTION_ENABLED
      Enforce DNS rebinding attack protection.
    • DOMAIN_BLACKLIST

      public static final Setting DOMAIN_BLACKLIST
      required by: DOMAIN_BLACKLIST_ENABLED Users with e-mail addresses that match these domain(s) will NOT be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.
    • DOMAIN_BLACKLIST_ENABLED

      public static final Setting DOMAIN_BLACKLIST_ENABLED
      (If enabled, requires: DOMAIN_BLACKLIST) Allows blocking sign-ups from emails from specific domains.
    • DOMAIN_WHITELIST

      public static final Setting DOMAIN_WHITELIST
      Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.
    • DSA_KEY_RESTRICTION

      public static final Setting DSA_KEY_RESTRICTION
      The minimum allowed bit length of an uploaded DSA key. Default is 0 (no restriction). -1 disables DSA keys.
    • ECDSA_KEY_RESTRICTION

      public static final Setting ECDSA_KEY_RESTRICTION
      The minimum allowed curve size (in bits) of an uploaded ECDSA key. Default is 0 (no restriction). -1 disables ECDSA keys.
    • ED25519_KEY_RESTRICTION

      public static final Setting ED25519_KEY_RESTRICTION
      The minimum allowed curve size (in bits) of an uploaded ED25519 key. Default is 0 (no restriction). -1 disables ED25519 keys.
    • ELASTICSEARCH_AWS

      public static final Setting ELASTICSEARCH_AWS
      (PREMIUM | SILVER) Enable the use of AWS hosted Elasticsearch
    • ELASTICSEARCH_AWS_ACCESS_KEY

      public static final Setting ELASTICSEARCH_AWS_ACCESS_KEY
      (PREMIUM | SILVER) AWS IAM access key
    • ELASTICSEARCH_AWS_REGION

      public static final Setting ELASTICSEARCH_AWS_REGION
      (PREMIUM | SILVER) The AWS region the Elasticsearch domain is configured
    • ELASTICSEARCH_AWS_SECRET_ACCESS_KEY

      public static final Setting ELASTICSEARCH_AWS_SECRET_ACCESS_KEY
      (PREMIUM | SILVER) AWS IAM secret access key
    • EKS_ACCESS_KEY_ID

      public static final Setting EKS_ACCESS_KEY_ID
      Amazon Access Key.
    • EKS_ACCOUNT_ID

      public static final Setting EKS_ACCOUNT_ID
      Amazon account ID
    • EKS_INTEGRATION_ENABLED

      public static final Setting EKS_INTEGRATION_ENABLED
      Enable integration with Amazon EKS.
    • EKS_SECRET_ACCESS_KEY

      public static final Setting EKS_SECRET_ACCESS_KEY
      AWS IAM secret access key
    • ELASTICSEARCH_INDEXING

      public static final Setting ELASTICSEARCH_INDEXING
      (PREMIUM | SILVER) Enable Elasticsearch indexing
    • ELASTICSEARCH_LIMIT_INDEXING

      public static final Setting ELASTICSEARCH_LIMIT_INDEXING
      (PREMIUM | SILVER) Limit Elasticsearch to index certain namespaces and projects
    • ELASTICSEARCH_NAMESPACE_IDS

      public static final Setting ELASTICSEARCH_NAMESPACE_IDS
      (PREMIUM | SILVER) The namespaces to index via Elasticsearch if ELASTICSEARCH_LIMIT_INDEXING is enabled.
    • ELASTICSEARCH_PROJECT_IDS

      public static final Setting ELASTICSEARCH_PROJECT_IDS
      (PREMIUM | SILVER) The projects to index via Elasticsearch if ELASTICSEARCH_LIMIT_INDEXING is enabled.
    • ELASTICSEARCH_URL

      public static final Setting ELASTICSEARCH_URL
      (PREMIUM | SILVER) The url to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (e.g., http://localhost:9200, http://localhost:9201"). If your Elasticsearch instance is password protected, pass the username:password in the URL (e.g., http://username:password@elastic_host:9200/).
    • EMAIL_ADDITIONAL_TEXT

      public static final Setting EMAIL_ADDITIONAL_TEXT
      (PREMIUM | SILVER) Additional text added to the bottom of every email for legal/auditing/compliance reasons
    • EMAIL_AUTHOR_IN_BODY

      public static final Setting EMAIL_AUTHOR_IN_BODY
      Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue, merge request or comment in the email body instead.
    • ENABLED_GIT_ACCESS_PROTOCOL

      public static final Setting ENABLED_GIT_ACCESS_PROTOCOL
      Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.
    • ENFORCE_TERMS

      public static final Setting ENFORCE_TERMS
      (If enabled, requires: TERMS) Enforce application ToS to all users.
    • EXTERNAL_AUTH_CLIENT_CERT

      public static final Setting EXTERNAL_AUTH_CLIENT_CERT
      (If enabled, requires: EXTERNAL_AUTH_CLIENT_KEY) The certificate to use to authenticate with the external authorization service
    • EXTERNAL_AUTH_CLIENT_KEY

      public static final Setting EXTERNAL_AUTH_CLIENT_KEY
      required by: EXTERNAL_AUTH_CLIENT_CERT Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored
    • EXTERNAL_AUTH_CLIENT_KEY_PASS

      public static final Setting EXTERNAL_AUTH_CLIENT_KEY_PASS
      Passphrase to use for the private key when authenticating with the external service this is encrypted when stored
    • EXTERNAL_AUTHORIZATION_SERVICE_DEFAULT_LABEL

      public static final Setting EXTERNAL_AUTHORIZATION_SERVICE_DEFAULT_LABEL
      required by: EXTERNAL_AUTHORIZATION_SERVICE_ENABLED The default classification label to use when requesting authorization and no classification label has been specified on the project
    • EXTERNAL_AUTHORIZATION_SERVICE_ENABLED

      public static final Setting EXTERNAL_AUTHORIZATION_SERVICE_ENABLED
      (If enabled, requires: EXTERNAL_AUTHORIZATION_SERVICE_DEFAULT_LABEL, EXTERNAL_AUTHORIZATION_SERVICE_TIMEOUT and EXTERNAL_AUTHORIZATION_SERVICE_URL) Enable using an external authorization service for accessing projects
    • EXTERNAL_AUTHORIZATION_SERVICE_TIMEOUT

      public static final Setting EXTERNAL_AUTHORIZATION_SERVICE_TIMEOUT
      required by: EXTERNAL_AUTHORIZATION_SERVICE_ENABLED The timeout after which an authorization request is aborted, in seconds. When a request times out, access is denied to the user. (min: 0.001, max: 10, step: 0.001)
    • EXTERNAL_AUTHORIZATION_SERVICE_URL

      public static final Setting EXTERNAL_AUTHORIZATION_SERVICE_URL
      required by: EXTERNAL_AUTHORIZATION_SERVICE_ENABLED URL to which authorization requests will be directed
    • FILE_TEMPLATE_PROJECT_ID

      public static final Setting FILE_TEMPLATE_PROJECT_ID
      (PREMIUM | SILVER) The ID of a project to load custom file templates from
    • FIRST_DAY_OF_WEEK

      public static final Setting FIRST_DAY_OF_WEEK
      Start day of the week for calendar views and date pickers. Valid values are 0 (default) for Sunday, 1 for Monday, and 6 for Saturday.
    • GEO_NODE_ALLOWED_IPS

      public static final Setting GEO_NODE_ALLOWED_IPS
      (PREMIUM | SILVER) Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.
    • GEO_STATUS_TIMEOUT

      public static final Setting GEO_STATUS_TIMEOUT
      (PREMIUM | SILVER) The amount of seconds after which a request to get a secondary node status will time out.
    • GITALY_TIMEOUT_DEFAULT

      public static final Setting GITALY_TIMEOUT_DEFAULT
      Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.
    • GITALY_TIMEOUT_FAST

      public static final Setting GITALY_TIMEOUT_FAST
      Gitaly fast operation timeout, in seconds. Some Gitaly operations are expected to be fast. If they exceed this threshold, there may be a problem with a storage shard and 'failing fast' can help maintain the stability of the GitLab instance. Set to 0 to disable timeouts.
    • GITALY_TIMEOUT_MEDIUM

      public static final Setting GITALY_TIMEOUT_MEDIUM
      Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.
    • GRAFANA_ENABLED

      public static final Setting GRAFANA_ENABLED
      Enable Grafana.
    • GRAFANA_URL

      public static final Setting GRAFANA_URL
      Grafana URL.
    • GRAVATAR_ENABLED

      public static final Setting GRAVATAR_ENABLED
      Enable Gravatar.
    • HASHED_STORAGE_ENABLED

      public static final Setting HASHED_STORAGE_ENABLED
      Create new projects using hashed storage paths: Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance. (EXPERIMENTAL)
    • HELP_PAGE_HIDE_COMMERCIAL_CONTENT

      public static final Setting HELP_PAGE_HIDE_COMMERCIAL_CONTENT
      Hide marketing-related entries from help.
    • HELP_PAGE_SUPPORT_URL

      public static final Setting HELP_PAGE_SUPPORT_URL
      Alternate support URL for help page and help dropdown.
    • HELP_PAGE_TEXT

      public static final Setting HELP_PAGE_TEXT
      Custom text displayed on the help page.
    • HELP_TEXT

      public static final Setting HELP_TEXT
      (PREMIUM | SILVER) GitLab server administrator information
    • HIDE_THIRD_PARTY_OFFERS

      public static final Setting HIDE_THIRD_PARTY_OFFERS
      Do not display offers from third parties within GitLab.
    • HOME_PAGE_URL

      public static final Setting HOME_PAGE_URL
      Redirect to this URL when not logged in.
    • HOUSEKEEPING_BITMAPS_ENABLED

      public static final Setting HOUSEKEEPING_BITMAPS_ENABLED
      required by: HOUSEKEEPING_ENABLED Enable Git pack file bitmap creation.
    • HOUSEKEEPING_ENABLED

      public static final Setting HOUSEKEEPING_ENABLED
    • HOUSEKEEPING_FULL_REPACK_PERIOD

      public static final Setting HOUSEKEEPING_FULL_REPACK_PERIOD
      required by: HOUSEKEEPING_ENABLED Number of Git pushes after which an incremental git repack is run.
    • HOUSEKEEPING_GC_PERIOD

      public static final Setting HOUSEKEEPING_GC_PERIOD
      required by: HOUSEKEEPING_ENABLED Number of Git pushes after which git gc is run.
    • HOUSEKEEPING_INCREMENTAL_REPACK_PERIOD

      public static final Setting HOUSEKEEPING_INCREMENTAL_REPACK_PERIOD
      required by: HOUSEKEEPING_ENABLED Number of Git pushes after which an incremental git repack is run.
    • HTML_EMAILS_ENABLED

      public static final Setting HTML_EMAILS_ENABLED
      Enable HTML emails.
    • IMPORT_SOURCES

      public static final Setting IMPORT_SOURCES
      Sources to allow project import from, possible values: github, bitbucket, bitbucket_server, gitlab, google_code, fogbugz, git, gitlab_project, gitea, manifest, and phabricator.
    • INSTANCE_STATISTICS_VISIBILITY_PRIVATE

      public static final Setting INSTANCE_STATISTICS_VISIBILITY_PRIVATE
      When set to true Instance statistics will only be available to admins.
    • LOCAL_MARKDOWN_VERSION

      public static final Setting LOCAL_MARKDOWN_VERSION
      Increase this value when any cached markdown should be invalidated.
    • LOGIN_RECAPTCHA_PROTECTION_ENABLED

      public static final Setting LOGIN_RECAPTCHA_PROTECTION_ENABLED
      NOT DOCUMENTED: but it's returned by a call to /api/v4/application/settings Was added with this commit https://gitlab.com/gitlab-org/gitlab/commit/30e7f01877fd436e21efdf0974d42d8fc83f4883
      Since:
      2019-07-18
    • MAX_ARTIFACTS_SIZE

      public static final Setting MAX_ARTIFACTS_SIZE
      Maximum artifacts size in MB
    • MAX_ATTACHMENT_SIZE

      public static final Setting MAX_ATTACHMENT_SIZE
      Limit attachment size in MB
    • MAX_IMPORT_SIZE

      public static final Setting MAX_IMPORT_SIZE
      Maximum import size in MB. 0 for unlimited. Default = 50
    • MAX_PAGES_SIZE

      public static final Setting MAX_PAGES_SIZE
      Maximum size of pages repositories in MB
    • METRICS_ENABLED

      public static final Setting METRICS_ENABLED
    • METRICS_HOST

      public static final Setting METRICS_HOST
      required by: METRICS_ENABLED InfluxDB host.
    • METRICS_METHOD_CALL_THRESHOLD

      public static final Setting METRICS_METHOD_CALL_THRESHOLD
      required by: METRICS_ENABLED A method call is only tracked when it takes longer than the given amount of milliseconds.
    • METRICS_PACKET_SIZE

      public static final Setting METRICS_PACKET_SIZE
      required by: METRICS_ENABLED The amount of datapoints to send in a single UDP packet.
    • METRICS_POOL_SIZE

      public static final Setting METRICS_POOL_SIZE
      required by: METRICS_ENABLED The amount of InfluxDB connections to keep open.
    • METRICS_PORT

      public static final Setting METRICS_PORT
      required by: METRICS_ENABLED The UDP port to use for connecting to InfluxDB.
    • METRICS_SAMPLE_INTERVAL

      public static final Setting METRICS_SAMPLE_INTERVAL
      required by: METRICS_ENABLED The sampling interval in seconds.
    • METRICS_TIMEOUT

      public static final Setting METRICS_TIMEOUT
      required by: METRICS_ENABLED The amount of seconds after which InfluxDB will time out.
    • MIRROR_AVAILABLE

      public static final Setting MIRROR_AVAILABLE
      Allow repository mirroring to configured by project Maintainers. If disabled, only Admins will be able to configure repository mirroring.
    • MIRROR_CAPACITY_THRESHOLD

      public static final Setting MIRROR_CAPACITY_THRESHOLD
      (PREMIUM | SILVER) Minimum capacity to be available before scheduling more mirrors preemptively
    • MIRROR_MAX_CAPACITY

      public static final Setting MIRROR_MAX_CAPACITY
      (PREMIUM | SILVER) Maximum number of mirrors that can be synchronizing at the same time.
    • MIRROR_MAX_DELAY

      public static final Setting MIRROR_MAX_DELAY
      (PREMIUM | SILVER) Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.
    • OUTBOUND_LOCAL_REQUESTS_WHITELIST

      public static final Setting OUTBOUND_LOCAL_REQUESTS_WHITELIST
      Define a list of trusted domains or ip addresses to which local requests are allowed when local requests for hooks and services are disabled.
    • OUTBOUND_LOCAL_REQUESTS_WHITELIST_RAW

      public static final Setting OUTBOUND_LOCAL_REQUESTS_WHITELIST_RAW
      NOT DOCUMENTED: but it's returned by a call to /api/v4/application/settings Added with this commit https://gitlab.com/gitlab-org/gitlab/commit/336046254cfe69d795bc8ea454daaf5a35b60eac
    • PAGES_DOMAIN_VERIFICATION_ENABLED

      public static final Setting PAGES_DOMAIN_VERIFICATION_ENABLED
      Require users to prove ownership of custom domains. Domain verification is an essential security measure for public GitLab sites. Users are required to demonstrate they control a domain before it is enabled.
    • PASSWORD_AUTHENTICATION_ENABLED_FOR_GIT

      public static final Setting PASSWORD_AUTHENTICATION_ENABLED_FOR_GIT
      Enable authentication for Git over HTTP(S) via a GitLab account password. Default is true.
    • PASSWORD_AUTHENTICATION_ENABLED_FOR_WEB

      public static final Setting PASSWORD_AUTHENTICATION_ENABLED_FOR_WEB
      Enable authentication for the web interface via a GitLab account password. Default is true.
    • PERFORMANCE_BAR_ALLOWED_GROUP_PATH

      public static final Setting PERFORMANCE_BAR_ALLOWED_GROUP_PATH
      Path of the group that is allowed to toggle the performance bar.
    • PLANTUML_ENABLED

      public static final Setting PLANTUML_ENABLED
      (If enabled, requires: PLANTUML_URL) Enable PlantUML integration. Default is false.
    • PLANTUML_URL

      public static final Setting PLANTUML_URL
      required by: PLANTUML_ENABLED The PlantUML instance URL for integration.
    • POLLING_INTERVAL_MULTIPLIER

      public static final Setting POLLING_INTERVAL_MULTIPLIER
      Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling. The documentation lists this as a decimal, but it is a String in the JSON.
    • PROJECT_EXPORT_ENABLED

      public static final Setting PROJECT_EXPORT_ENABLED
      Enable project export.
    • PROJECT_JOBS_API_RATE_LIMIT

      public static final Setting PROJECT_JOBS_API_RATE_LIMIT
      Maximum authenticated requests to /project/:id/jobs per minute. Introduced in GitLab 16.5. Default: 600.
    • PROMETHEUS_METRICS_ENABLED

      public static final Setting PROMETHEUS_METRICS_ENABLED
      Enable Prometheus metrics.
    • PROTECTED_CI_VARIABLES

      public static final Setting PROTECTED_CI_VARIABLES
      Environment variables are protected by default.
    • PSEUDONYMIZER_ENABLED

      public static final Setting PSEUDONYMIZER_ENABLED
      (PREMIUM | SILVER) When enabled, GitLab will run a background job that will produce pseudonymized CSVs of the GitLab database that will be uploaded to your configured object storage directory.
    • PUSH_EVENT_HOOKS_LIMIT

      public static final Setting PUSH_EVENT_HOOKS_LIMIT
      Number of changes (branches or tags) in a single push to determine whether webhooks and services will be fired or not. Webhooks and services won’t be submitted if it surpasses that value.
    • PUSH_EVENT_ACTIVITIES_LIMIT

      public static final Setting PUSH_EVENT_ACTIVITIES_LIMIT
      Number of changes (branches or tags) in a single push to determine whether individual push events or bulk push events will be created. Bulk push events will be created if it surpasses that value.
    • RECAPTCHA_ENABLED

      public static final Setting RECAPTCHA_ENABLED
      (If enabled, requires: RECAPTCHA_PRIVATE_KEY and RECAPTCHA_SITE_KEY) Enable reCAPTCHA.
    • RECAPTCHA_PRIVATE_KEY

      public static final Setting RECAPTCHA_PRIVATE_KEY
      required by: RECAPTCHA_ENABLED Private key for reCAPTCHA.
    • RECAPTCHA_SITE_KEY

      public static final Setting RECAPTCHA_SITE_KEY
      required by: RECAPTCHA_ENABLED Site key for reCAPTCHA.
    • RECEIVE_MAX_INPUT_SIZE

      public static final Setting RECEIVE_MAX_INPUT_SIZE
      Maximum push size (MB).
    • REPOSITORY_CHECKS_ENABLED

      public static final Setting REPOSITORY_CHECKS_ENABLED
      GitLab will periodically run git fsck in all project and wiki repositories to look for silent disk corruption issues.
    • REPOSITORY_SIZE_LIMIT

      public static final Setting REPOSITORY_SIZE_LIMIT
      (PREMIUM | SILVER) Size limit per repository (MB)
    • REPOSITORY_STORAGES

      public static final Setting REPOSITORY_STORAGES
      A list of names of enabled storage paths, taken from gitlab.yml. New projects will be created in one of these stores, chosen at random.
    • REQUIRE_TWO_FACTOR_AUTHENTICATION

      public static final Setting REQUIRE_TWO_FACTOR_AUTHENTICATION
      (If enabled, requires: TWO_FACTOR_GRACE_PERIOD) Require all users to set up Two-factor authentication.
    • RESTRICTED_VISIBILITY_LEVELS

      public static final Setting RESTRICTED_VISIBILITY_LEVELS
      Selected levels cannot be used by non-admin users for groups, projects or snippets. Can take private, internal and public as a parameter. Default is null which means there is no restriction.
    • RSA_KEY_RESTRICTION

      public static final Setting RSA_KEY_RESTRICTION
      The minimum allowed bit length of an uploaded RSA key. Default is 0 (no restriction). -1 disables RSA keys.
    • SEND_USER_CONFIRMATION_EMAIL

      public static final Setting SEND_USER_CONFIRMATION_EMAIL
      Send confirmation email on sign-up.
    • SESSION_EXPIRE_DELAY

      public static final Setting SESSION_EXPIRE_DELAY
      Session duration in minutes. GitLab restart is required to apply changes
    • SHARED_RUNNERS_ENABLED

      public static final Setting SHARED_RUNNERS_ENABLED
      (If enabled, requires: SHARED_RUNNERS_TEXT and SHARED_RUNNERS_MINUTES) Enable shared runners for new projects.
    • SHARED_RUNNERS_MINUTES

      public static final Setting SHARED_RUNNERS_MINUTES
      (PREMIUM | SILVER) required by: SHARED_RUNNERS_ENABLED Set the maximum number of pipeline minutes that a group can use on shared Runners per month.
    • SHARED_RUNNERS_TEXT

      public static final Setting SHARED_RUNNERS_TEXT
      required by: SHARED_RUNNERS_ENABLED Shared runners text.
    • SIGN_IN_TEXT

      public static final Setting SIGN_IN_TEXT
      Text on the login page.
    • SIGNUP_ENABLED

      public static final Setting SIGNUP_ENABLED
      Enable registration. Default is true.
    • SLACK_APP_ENABLED

      public static final Setting SLACK_APP_ENABLED
      (PREMIUM | SILVER) (If enabled, requires: SLACK_APP_ID, SLACK_APP_SECRET and SLACK_APP_VERIFICATION_TOKEN) Enable Slack app.
    • SLACK_APP_ID

      public static final Setting SLACK_APP_ID
      (PREMIUM | SILVER) required by: SLACK_APP_ENABLED The app id of the Slack-app.
    • SLACK_APP_SECRET

      public static final Setting SLACK_APP_SECRET
      (PREMIUM | SILVER) required by: SLACK_APP_ENABLED The app secret of the Slack-app.
    • SLACK_APP_VERIFICATION_TOKEN

      public static final Setting SLACK_APP_VERIFICATION_TOKEN
      (PREMIUM | SILVER) required by: SLACK_APP_ENABLED The verification token of the Slack-app.
    • SNOWPLOW_APP_ID

      public static final Setting SNOWPLOW_APP_ID
      The Snowplow site name / application id. (e.g. gitlab)
    • SNOWPLOW_COLLECTOR_HOSTNAME

      public static final Setting SNOWPLOW_COLLECTOR_HOSTNAME
      required by: SNOWPLOW_ENABLED The Snowplow collector hostname. (e.g. snowplow.trx.gitlab.net)
    • SNOWPLOW_ENABLED

      public static final Setting SNOWPLOW_ENABLED
      (If enabled, requires: SNOWPLOW_COLLECTOR_HOSTNAME) Enable snowplow tracking.
    • SNOWPLOW_IGLU_REGISTRY_URL

      public static final Setting SNOWPLOW_IGLU_REGISTRY_URL
      The Snowplow base Iglu Schema Registry URL to use for custom context and self describing events.
    • SNOWPLOW_SITE_ID

      public static final Setting SNOWPLOW_SITE_ID
      The Snowplow site name / application id. (e.g. gitlab)
    • SOURCEGRAPH_ENABLED

      public static final Setting SOURCEGRAPH_ENABLED
      Enables Sourcegraph integration. Default is false. If enabled, requires sourcegraph_url.
    • SOURCEGRAPH_PUBLIC_ONLY

      public static final Setting SOURCEGRAPH_PUBLIC_ONLY
      Blocks Sourcegraph from being loaded on private and internal projects. Defaul is true.
    • SOURCEGRAPH_URL

      public static final Setting SOURCEGRAPH_URL
      The Sourcegraph instance URL for integration.
    • SPAM_CHECK_ENDPOINT_ENABLED

      public static final Setting SPAM_CHECK_ENDPOINT_ENABLED
      Enables Spam Check via external API endpoint. Default is false.
    • SPAM_CHECK_ENDPOINT_URL

      public static final Setting SPAM_CHECK_ENDPOINT_URL
      URL of the external Spam Check service endpoint.
    • PENDO_URL

      public static final Setting PENDO_URL
      required by: PENDO_ENABLED The Pendo endpoint url with js snippet. (e.g. https://cdn.pendo.io/agent/static/your-api-key/pendo.js)
    • PENDO_ENABLED

      public static final Setting PENDO_ENABLED
      (If enabled, requires: PENDO_URL) Enable pendo tracking.
    • STATIC_OBJECTS_EXTERNAL_STORAGE_AUTH_TOKEN

      public static final Setting STATIC_OBJECTS_EXTERNAL_STORAGE_AUTH_TOKEN
      NOT DOCUMENTED: but it's returned by a call to /api/v4/application/settings https://gitlab.com/gitlab-org/gitlab/commit/85975447a2b70d1654f2f8163f55d369e130ef2b
    • STATIC_OBJECTS_EXTERNAL_STORAGE_URL

      public static final Setting STATIC_OBJECTS_EXTERNAL_STORAGE_URL
      NOT DOCUMENTED: but it's returned by a call to /api/v4/application/settings https://gitlab.com/gitlab-org/gitlab/commit/85975447a2b70d1654f2f8163f55d369e130ef2b
    • TERMINAL_MAX_SESSION_TIME

      public static final Setting TERMINAL_MAX_SESSION_TIME
      Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.
    • TERMS

      public static final Setting TERMS
      required by: ENFORCE_TERMS Markdown content for the ToS.
    • THROTTLE_AUTHENTICATED_API_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_API_ENABLED
      (If enabled, requires: THROTTLE_AUTHENTICATED_API_PERIOD_IN_SECONDS and THROTTLE_AUTHENTICATED_API_REQUESTS_PER_PERIOD) Enable authenticated API request rate limit. Helps reduce request volume (e.g. from crawlers or abusive bots).
    • THROTTLE_AUTHENTICATED_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_API_PERIOD_IN_SECONDS
      required by: THROTTLE_AUTHENTICATED_API_ENABLED Rate limit period in seconds.
    • THROTTLE_AUTHENTICATED_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_API_REQUESTS_PER_PERIOD
      required by: THROTTLE_AUTHENTICATED_API_ENABLED Max requests per period per user.
    • THROTTLE_AUTHENTICATED_WEB_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_WEB_ENABLED
      (If enabled, requires: THROTTLE_AUTHENTICATED_WEB_PERIOD_IN_SECONDS and THROTTLE_AUTHENTICATED_WEB_REQUESTS_PER_PERIOD) Enable authenticated web request rate limit. Helps reduce request volume (e.g. from crawlers or abusive bots).
    • THROTTLE_AUTHENTICATED_WEB_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_WEB_PERIOD_IN_SECONDS
      required by: THROTTLE_AUTHENTICATED_WEB_ENABLED Rate limit period in seconds.
    • THROTTLE_AUTHENTICATED_WEB_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_WEB_REQUESTS_PER_PERIOD
      required by: THROTTLE_AUTHENTICATED_WEB_ENABLED Max requests per period per user.
    • THROTTLE_UNAUTHENTICATED_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_ENABLED
      (If enabled, requires: THROTTLE_UNAUTHENTICATED_PERIOD_IN_SECONDS and THROTTLE_UNAUTHENTICATED_REQUESTS_PER_PERIOD) Enable unauthenticated request rate limit. Helps reduce request volume (e.g. from crawlers or abusive bots).
    • THROTTLE_UNAUTHENTICATED_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_PERIOD_IN_SECONDS
      required by: THROTTLE_UNAUTHENTICATED_ENABLED Rate limit period in seconds.
    • THROTTLE_UNAUTHENTICATED_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_REQUESTS_PER_PERIOD
      required by: THROTTLE_UNAUTHENTICATED_ENABLED Max requests per period per IP.
    • TIME_TRACKING_LIMIT_TO_HOURS

      public static final Setting TIME_TRACKING_LIMIT_TO_HOURS
      Limit display of time tracking units to hours. Default is false.
    • TWO_FACTOR_GRACE_PERIOD

      public static final Setting TWO_FACTOR_GRACE_PERIOD
      required by: REQUIRE_TWO_FACTOR_AUTHENTICATION Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication.
    • UNIQUE_IPS_LIMIT_ENABLED

      public static final Setting UNIQUE_IPS_LIMIT_ENABLED
      (If enabled, requires: UNIQUE_IPS_LIMIT_PER_USER and UNIQUE_IPS_LIMIT_TIME_WINDOW) Limit sign in from multiple ips.
    • UNIQUE_IPS_LIMIT_PER_USER

      public static final Setting UNIQUE_IPS_LIMIT_PER_USER
      required by: UNIQUE_IPS_LIMIT_ENABLED Maximum number of ips per user.
    • UNIQUE_IPS_LIMIT_TIME_WINDOW

      public static final Setting UNIQUE_IPS_LIMIT_TIME_WINDOW
      required by: UNIQUE_IPS_LIMIT_ENABLED How many seconds an IP will be counted towards the limit.
    • USAGE_PING_ENABLED

      public static final Setting USAGE_PING_ENABLED
      Every week GitLab will report license usage back to GitLab, Inc.
    • USER_DEFAULT_EXTERNAL

      public static final Setting USER_DEFAULT_EXTERNAL
      Newly registered users will be external by default.
    • USER_DEFAULT_INTERNAL_REGEX

      public static final Setting USER_DEFAULT_INTERNAL_REGEX
      Specify an e-mail address regex pattern to identify default internal users.
    • USER_OAUTH_APPLICATIONS

      public static final Setting USER_OAUTH_APPLICATIONS
      Allow users to register any application to use GitLab as an OAuth provider.
    • USER_SHOW_ADD_SSH_KEY_MESSAGE

      public static final Setting USER_SHOW_ADD_SSH_KEY_MESSAGE
      When set to false disable the “You won’t be able to pull or push project code via SSH” warning shown to users with no uploaded SSH key.
    • VERSION_CHECK_ENABLED

      public static final Setting VERSION_CHECK_ENABLED
      Let GitLab inform you when an update is available.
    • WEB_IDE_CLIENTSIDE_PREVIEW_ENABLED

      public static final Setting WEB_IDE_CLIENTSIDE_PREVIEW_ENABLED
      Client side evaluation (allow live previews of JavaScript projects in the Web IDE using CodeSandbox client side evaluation).
    • CONCURRENT_GITHUB_IMPORT_JOBS_LIMIT

      public static final Setting CONCURRENT_GITHUB_IMPORT_JOBS_LIMIT
      Maximum number of simultaneous import jobs for the GitHub importer. Default is 1000. Introduced in GitLab 16.11.
    • CONCURRENT_BITBUCKET_IMPORT_JOBS_LIMIT

      public static final Setting CONCURRENT_BITBUCKET_IMPORT_JOBS_LIMIT
      Maximum number of simultaneous import jobs for the Bitbucket Cloud importer. Default is 100. Introduced in GitLab 16.11.
    • CONCURRENT_BITBUCKET_SERVER_IMPORT_JOBS_LIMIT

      public static final Setting CONCURRENT_BITBUCKET_SERVER_IMPORT_JOBS_LIMIT
      Maximum number of simultaneous import jobs for the Bitbucket Server importer. Default is 100. Introduced in GitLab 16.11.
    • CONTAINER_REGISTRY_EXPIRATION_POLICIES_CACHING

      public static final Setting CONTAINER_REGISTRY_EXPIRATION_POLICIES_CACHING
      Caching during the execution of cleanup policies.
    • DECOMPRESS_ARCHIVE_FILE_TIMEOUT

      public static final Setting DECOMPRESS_ARCHIVE_FILE_TIMEOUT
      Default timeout for decompressing archived files, in seconds. Set to 0 to disable timeouts. Introduced in GitLab 16.4.
    • DEFAULT_BRANCH_NAME

      public static final Setting DEFAULT_BRANCH_NAME
      Instance-level custom initial branch name.
    • DEFAULT_BRANCH_PROTECTION_DEFAULTS

      public static final Setting DEFAULT_BRANCH_PROTECTION_DEFAULTS
      Introduced in GitLab 17.0. For available options, see Options for default_branch_protection_defaults.
    • DEFAULT_PREFERRED_LANGUAGE

      public static final Setting DEFAULT_PREFERRED_LANGUAGE
      Default preferred language for users who are not logged in.
    • DEFAULT_SYNTAX_HIGHLIGHTING_THEME

      public static final Setting DEFAULT_SYNTAX_HIGHLIGHTING_THEME
      Default syntax highlighting theme for users who are new or not signed in. See IDs of available themes.
    • DELETE_INACTIVE_PROJECTS

      public static final Setting DELETE_INACTIVE_PROJECTS
      Enable inactive project deletion. Default is false. Became operational without feature flag in GitLab 15.4.
    • DISABLE_ADMIN_OAUTH_SCOPES

      public static final Setting DISABLE_ADMIN_OAUTH_SCOPES
      Stops administrators from connecting their GitLab accounts to non-trusted OAuth 2.0 applications that have the api, read_api, read_repository, write_repository, read_registry, write_registry, or sudo scopes. Introduced in GitLab 15.6.
    • DISABLE_FEED_TOKEN

      public static final Setting DISABLE_FEED_TOKEN
      Disable display of RSS/Atom and calendar feed tokens.
    • DOMAIN_DENYLIST

      public static final Setting DOMAIN_DENYLIST
      Users with email addresses that match these domains cannot sign up. Wildcards allowed. Enter multiple entries on separate lines. For example: domain.com, *.domain.com.
    • DOMAIN_DENYLIST_ENABLED

      public static final Setting DOMAIN_DENYLIST_ENABLED
      (If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.
    • DOMAIN_ALLOWLIST

      public static final Setting DOMAIN_ALLOWLIST
      Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.
    • ECDSA_SK_KEY_RESTRICTION

      public static final Setting ECDSA_SK_KEY_RESTRICTION
      The minimum allowed curve size (in bits) of an uploaded ECDSA_SK key. Default is 0 (no restriction). -1 disables ECDSA_SK keys.
    • ED25519_SK_KEY_RESTRICTION

      public static final Setting ED25519_SK_KEY_RESTRICTION
      The minimum allowed curve size (in bits) of an uploaded ED25519_SK key. Default is 0 (no restriction). -1 disables ED25519_SK keys.
    • EMAIL_CONFIRMATION_SETTING

      public static final Setting EMAIL_CONFIRMATION_SETTING
      Specifies whether users must confirm their email before sign in. Possible values are off, soft, and hard.
    • EXTERNAL_PIPELINE_VALIDATION_SERVICE_TIMEOUT

      public static final Setting EXTERNAL_PIPELINE_VALIDATION_SERVICE_TIMEOUT
      How long to wait for a response from the pipeline validation service. Assumes OK if it times out.
    • EXTERNAL_PIPELINE_VALIDATION_SERVICE_TOKEN

      public static final Setting EXTERNAL_PIPELINE_VALIDATION_SERVICE_TOKEN
      Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external_pipeline_validation_service_url.
    • EXTERNAL_PIPELINE_VALIDATION_SERVICE_URL

      public static final Setting EXTERNAL_PIPELINE_VALIDATION_SERVICE_URL
      URL to use for pipeline validation requests.
    • FAILED_LOGIN_ATTEMPTS_UNLOCK_PERIOD_IN_MINUTES

      public static final Setting FAILED_LOGIN_ATTEMPTS_UNLOCK_PERIOD_IN_MINUTES
      Time period in minutes after which the user is unlocked when maximum number of failed sign-in attempts reached.
    • GITPOD_ENABLED

      public static final Setting GITPOD_ENABLED
      (If enabled, requires: gitpod_url) Enable Gitpod integration. Default is false.
    • GITPOD_URL

      public static final Setting GITPOD_URL
      The Gitpod instance URL for integration.
    • HOUSEKEEPING_OPTIMIZE_REPOSITORY_PERIOD

      public static final Setting HOUSEKEEPING_OPTIMIZE_REPOSITORY_PERIOD
      Number of Git pushes after which an incremental git repack is run.
    • INACTIVE_PROJECTS_DELETE_AFTER_MONTHS

      public static final Setting INACTIVE_PROJECTS_DELETE_AFTER_MONTHS
      If delete_inactive_projects is true, the time (in months) to wait before deleting inactive projects. Default is 2. Became operational in GitLab 15.0.
    • INACTIVE_PROJECTS_MIN_SIZE_MB

      public static final Setting INACTIVE_PROJECTS_MIN_SIZE_MB
      If delete_inactive_projects is true, the minimum repository size for projects to be checked for inactivity. Default is 0. Became operational in GitLab 15.0.
    • INACTIVE_PROJECTS_SEND_WARNING_EMAIL_AFTER_MONTHS

      public static final Setting INACTIVE_PROJECTS_SEND_WARNING_EMAIL_AFTER_MONTHS
      If delete_inactive_projects is true, sets the time (in months) to wait before emailing maintainers that the project is scheduled be deleted because it is inactive. Default is 1. Became operational in GitLab 15.0.
    • INCLUDE_OPTIONAL_METRICS_IN_SERVICE_PING

      public static final Setting INCLUDE_OPTIONAL_METRICS_IN_SERVICE_PING
      Whether or not optional metrics are enabled in Service Ping. Introduced in GitLab 16.10.
    • INVISIBLE_CAPTCHA_ENABLED

      public static final Setting INVISIBLE_CAPTCHA_ENABLED
      Enable Invisible CAPTCHA spam detection during sign-up. Disabled by default.
    • JIRA_CONNECT_APPLICATION_KEY

      public static final Setting JIRA_CONNECT_APPLICATION_KEY
      ID of the OAuth application used to authenticate with the GitLab for Jira Cloud app.
    • JIRA_CONNECT_PUBLIC_KEY_STORAGE_ENABLED

      public static final Setting JIRA_CONNECT_PUBLIC_KEY_STORAGE_ENABLED
      Enable public key storage for the GitLab for Jira Cloud app.
    • JIRA_CONNECT_PROXY_URL

      public static final Setting JIRA_CONNECT_PROXY_URL
      URL of the GitLab instance used as a proxy for the GitLab for Jira Cloud app.
    • MAX_DECOMPRESSED_ARCHIVE_SIZE

      public static final Setting MAX_DECOMPRESSED_ARCHIVE_SIZE
      Maximum decompressed file size for imported archives in MB. Set to 0 for unlimited. Default is 25600.
    • MAX_EXPORT_SIZE

      public static final Setting MAX_EXPORT_SIZE
      Maximum export size in MB. 0 for unlimited. Default = 0 (unlimited).
    • MAX_IMPORT_REMOTE_FILE_SIZE

      public static final Setting MAX_IMPORT_REMOTE_FILE_SIZE
      Maximum remote file size for imports from external object storages. Introduced in GitLab 16.3.
    • MAX_LOGIN_ATTEMPTS

      public static final Setting MAX_LOGIN_ATTEMPTS
      Maximum number of sign-in attempts before locking out the user.
    • MAX_TERRAFORM_STATE_SIZE_BYTES

      public static final Setting MAX_TERRAFORM_STATE_SIZE_BYTES
      Maximum size in bytes of the Terraform state files. Set this to 0 for unlimited file size.
    • MAX_YAML_SIZE_BYTES

      public static final Setting MAX_YAML_SIZE_BYTES
      The maximum size in bytes of a single CI/CD configuration file. Default: 2097152.
    • MAX_YAML_DEPTH

      public static final Setting MAX_YAML_DEPTH
      The maximum depth of nested CI/CD configuration added with the include keyword. Default: 100.
    • PERSONAL_ACCESS_TOKEN_PREFIX

      public static final Setting PERSONAL_ACCESS_TOKEN_PREFIX
      personal_access_token_prefix
    • KROKI_ENABLED

      public static final Setting KROKI_ENABLED
      (If enabled, requires: kroki_url) Enable Kroki integration. Default is false.
    • KROKI_URL

      public static final Setting KROKI_URL
      The Kroki instance URL for integration.
    • KROKI_FORMATS

      public static final Setting KROKI_FORMATS
      Additional formats supported by the Kroki instance. Possible values are true or false for formats bpmn, blockdiag, and excalidraw in the format <format$gt;: true or <format>: false.
    • DIAGRAMSNET_ENABLED

      public static final Setting DIAGRAMSNET_ENABLED
      (If enabled, requires diagramsnet_url) Enable Diagrams.net integration. Default is true.
    • DIAGRAMSNET_URL

      public static final Setting DIAGRAMSNET_URL
      The Diagrams.net instance URL for integration.
    • REQUIRE_ADMIN_APPROVAL_AFTER_USER_SIGNUP

      public static final Setting REQUIRE_ADMIN_APPROVAL_AFTER_USER_SIGNUP
      When enabled, any user that signs up for an account using the registration form is placed under a Pending approval state and has to be explicitly approved by an administrator.
    • REQUIRE_ADMIN_TWO_FACTOR_AUTHENTICATION

      public static final Setting REQUIRE_ADMIN_TWO_FACTOR_AUTHENTICATION
      Allow administrators to require 2FA for all administrators on the instance.
    • REMEMBER_ME_ENABLED

      public static final Setting REMEMBER_ME_ENABLED
      Enable Remember me setting. Introduced in GitLab 16.0.
    • SILENT_MODE_ENABLED

      public static final Setting SILENT_MODE_ENABLED
      Enable Silent mode. Default is false.
    • SLACK_APP_SIGNING_SECRET

      public static final Setting SLACK_APP_SIGNING_SECRET
      The signing secret of the GitLab for Slack app. Used for authenticating API requests from the app.
    • SPAM_CHECK_API_KEY

      public static final Setting SPAM_CHECK_API_KEY
      API key used by GitLab for accessing the Spam Check service endpoint.
    • THROTTLE_AUTHENTICATED_PACKAGES_API_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_PACKAGES_API_ENABLED
      (If enabled, requires: throttle_authenticated_packages_api_period_in_seconds and throttle_authenticated_packages_api_requests_per_period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
    • THROTTLE_AUTHENTICATED_PACKAGES_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_PACKAGES_API_PERIOD_IN_SECONDS
      Rate limit period (in seconds). View Package Registry rate limits for more details.
    • THROTTLE_AUTHENTICATED_PACKAGES_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_PACKAGES_API_REQUESTS_PER_PERIOD
      Maximum requests per period per user. View Package Registry rate limits for more details.
    • THROTTLE_UNAUTHENTICATED_API_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_API_ENABLED
      (If enabled, requires: throttle_unauthenticated_api_period_in_seconds and throttle_unauthenticated_api_requests_per_period) Enable unauthenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
    • THROTTLE_UNAUTHENTICATED_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_API_PERIOD_IN_SECONDS
      Rate limit period in seconds.
    • THROTTLE_UNAUTHENTICATED_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_API_REQUESTS_PER_PERIOD
      Max requests per period per IP.
    • THROTTLE_UNAUTHENTICATED_PACKAGES_API_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_PACKAGES_API_ENABLED
      (If enabled, requires: throttle_unauthenticated_packages_api_period_in_seconds and throttle_unauthenticated_packages_api_requests_per_period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
    • THROTTLE_UNAUTHENTICATED_PACKAGES_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_PACKAGES_API_PERIOD_IN_SECONDS
      Rate limit period (in seconds). View Package Registry rate limits for more details.
    • THROTTLE_UNAUTHENTICATED_PACKAGES_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_PACKAGES_API_REQUESTS_PER_PERIOD
      Maximum requests per period per user. View Package Registry rate limits for more details.
    • UPDATE_RUNNER_VERSIONS_ENABLED

      public static final Setting UPDATE_RUNNER_VERSIONS_ENABLED
      Fetch GitLab Runner release version data from GitLab.com. For more information, see how to determine which runners need to be upgraded.
    • DIFF_MAX_FILES

      public static final Setting DIFF_MAX_FILES
      Maximum files in a diff.
    • DIFF_MAX_LINES

      public static final Setting DIFF_MAX_LINES
      Maximum lines in a diff.
    • MAILGUN_SIGNING_KEY

      public static final Setting MAILGUN_SIGNING_KEY
      The Mailgun HTTP webhook signing key for receiving events from webhook.
    • MAILGUN_EVENTS_ENABLED

      public static final Setting MAILGUN_EVENTS_ENABLED
      Enable Mailgun event receiver.
    • SNOWPLOW_DATABASE_COLLECTOR_HOSTNAME

      public static final Setting SNOWPLOW_DATABASE_COLLECTOR_HOSTNAME
      The Snowplow collector for database events hostname. (for example, db-snowplow.trx.gitlab.net)
    • WIKI_PAGE_MAX_CONTENT_BYTES

      public static final Setting WIKI_PAGE_MAX_CONTENT_BYTES
      Maximum wiki page content size in bytes. Default: 52428800 Bytes (50 MB). The minimum value is 1024 bytes.
    • CONTAINER_REGISTRY_DELETE_TAGS_SERVICE_TIMEOUT

      public static final Setting CONTAINER_REGISTRY_DELETE_TAGS_SERVICE_TIMEOUT
      The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.
    • RATE_LIMITING_RESPONSE_TEXT

      public static final Setting RATE_LIMITING_RESPONSE_TEXT
      When rate limiting is enabled via the throttle_* settings, send this plain text response when a rate limit is exceeded. 'Retry later' is sent if this is blank.
    • PACKAGE_REGISTRY_ALLOW_ANYONE_TO_PULL_OPTION

      public static final Setting PACKAGE_REGISTRY_ALLOW_ANYONE_TO_PULL_OPTION
      Enable to allow anyone to pull from Package Registry visible and changeable.
    • PACKAGE_REGISTRY_CLEANUP_POLICIES_WORKER_CAPACITY

      public static final Setting PACKAGE_REGISTRY_CLEANUP_POLICIES_WORKER_CAPACITY
      Number of workers assigned to the packages cleanup policies.
    • CONTAINER_REGISTRY_EXPIRATION_POLICIES_WORKER_CAPACITY

      public static final Setting CONTAINER_REGISTRY_EXPIRATION_POLICIES_WORKER_CAPACITY
      Number of workers for cleanup policies.
    • CONTAINER_REGISTRY_CLEANUP_TAGS_SERVICE_MAX_LIST_SIZE

      public static final Setting CONTAINER_REGISTRY_CLEANUP_TAGS_SERVICE_MAX_LIST_SIZE
      The maximum number of tags that can be deleted in a single execution of cleanup policies.
    • KEEP_LATEST_ARTIFACT

      public static final Setting KEEP_LATEST_ARTIFACT
      Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time. Enabled by default.
    • WHATS_NEW_VARIANT

      public static final Setting WHATS_NEW_VARIANT
      What’s new variant, possible values: all_tiers, current_tier, and disabled.
    • USER_DEACTIVATION_EMAILS_ENABLED

      public static final Setting USER_DEACTIVATION_EMAILS_ENABLED
      Send an email to users upon account deactivation.
    • SIDEKIQ_JOB_LIMITER_MODE

      public static final Setting SIDEKIQ_JOB_LIMITER_MODE
      track or compress. Sets the behavior for Sidekiq job size limits. Default: 'compress'.
    • SIDEKIQ_JOB_LIMITER_COMPRESSION_THRESHOLD_BYTES

      public static final Setting SIDEKIQ_JOB_LIMITER_COMPRESSION_THRESHOLD_BYTES
      The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100,000 bytes (100 KB).
    • SIDEKIQ_JOB_LIMITER_LIMIT_BYTES

      public static final Setting SIDEKIQ_JOB_LIMITER_LIMIT_BYTES
      The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn’t reject any job).
    • SUGGEST_PIPELINE_ENABLED

      public static final Setting SUGGEST_PIPELINE_ENABLED
      Enable pipeline suggestion banner.
    • ENABLE_ARTIFACT_EXTERNAL_REDIRECT_WARNING_PAGE

      public static final Setting ENABLE_ARTIFACT_EXTERNAL_REDIRECT_WARNING_PAGE
      Show the external redirect page that warns you about user-generated content in GitLab Pages.
    • SEARCH_RATE_LIMIT

      public static final Setting SEARCH_RATE_LIMIT
      Max number of requests per minute for performing a search while authenticated. Default: 30. To disable throttling set to 0.
    • SEARCH_RATE_LIMIT_UNAUTHENTICATED

      public static final Setting SEARCH_RATE_LIMIT_UNAUTHENTICATED
      Max number of requests per minute for performing a search while unauthenticated. Default: 10. To disable throttling set to 0.
    • RUNNER_TOKEN_EXPIRATION_INTERVAL

      public static final Setting RUNNER_TOKEN_EXPIRATION_INTERVAL
      Set the expiration time (in seconds) of authentication tokens of newly registered instance runners. Minimum value is 7200 seconds. For more information, see Automatically rotate authentication tokens.
    • GROUP_RUNNER_TOKEN_EXPIRATION_INTERVAL

      public static final Setting GROUP_RUNNER_TOKEN_EXPIRATION_INTERVAL
      Set the expiration time (in seconds) of authentication tokens of newly registered group runners. Minimum value is 7200 seconds. For more information, see Automatically rotate authentication tokens.
    • PROJECT_RUNNER_TOKEN_EXPIRATION_INTERVAL

      public static final Setting PROJECT_RUNNER_TOKEN_EXPIRATION_INTERVAL
      Set the expiration time (in seconds) of authentication tokens of newly registered project runners. Minimum value is 7200 seconds. For more information, see Automatically rotate authentication tokens.
    • PIPELINE_LIMIT_PER_PROJECT_USER_SHA

      public static final Setting PIPELINE_LIMIT_PER_PROJECT_USER_SHA
      Maximum number of pipeline creation requests per minute per user and commit. Disabled by default.
    • CAN_CREATE_GROUP

      public static final Setting CAN_CREATE_GROUP
      Indicates whether users can create top-level groups. Introduced in GitLab 15.5. Defaults to true.
    • BULK_IMPORT_CONCURRENT_PIPELINE_BATCH_LIMIT

      public static final Setting BULK_IMPORT_CONCURRENT_PIPELINE_BATCH_LIMIT
      Maximum simultaneous Direct Transfer batches to process.
    • BULK_IMPORT_ENABLED

      public static final Setting BULK_IMPORT_ENABLED
      Enable migrating GitLab groups by direct transfer. Introduced in GitLab 15.8. Setting also available in the Admin area.
    • BULK_IMPORT_MAX_DOWNLOAD_FILE_SIZE

      public static final Setting BULK_IMPORT_MAX_DOWNLOAD_FILE_SIZE
      Maximum download file size when importing from source GitLab instances by direct transfer. Introduced in GitLab 16.3.
    • SILENT_ADMIN_EXPORTS_ENABLED

      public static final Setting SILENT_ADMIN_EXPORTS_ENABLED
      Enable Silent admin exports. Default is false.
    • USER_DEFAULTS_TO_PRIVATE_PROFILE

      public static final Setting USER_DEFAULTS_TO_PRIVATE_PROFILE
      Newly created users have private profile by default. Introduced in GitLab 15.8. Defaults to false.
    • PROJECTS_API_RATE_LIMIT_UNAUTHENTICATED

      public static final Setting PROJECTS_API_RATE_LIMIT_UNAUTHENTICATED
      Introduced in GitLab 15.10. Max number of requests per 10 minutes per IP address for unauthenticated requests to the list all projects API. Default: 400. To disable throttling set to 0.
    • GITLAB_DEDICATED_INSTANCE

      public static final Setting GITLAB_DEDICATED_INSTANCE
      Indicates whether the instance was provisioned for GitLab Dedicated.
    • GITLAB_ENVIRONMENT_TOOLKIT_INSTANCE

      public static final Setting GITLAB_ENVIRONMENT_TOOLKIT_INSTANCE
      Indicates whether the instance was provisioned with the GitLab Environment Toolkit for Service Ping reporting.
    • CI_MAX_INCLUDES

      public static final Setting CI_MAX_INCLUDES
      The maximum number of includes per pipeline. Default is 150.
    • ALLOW_ACCOUNT_DELETION

      public static final Setting ALLOW_ACCOUNT_DELETION
      Enable users to delete their accounts.
    • GITLAB_SHELL_OPERATION_LIMIT

      public static final Setting GITLAB_SHELL_OPERATION_LIMIT
      Maximum number of Git operations per minute a user can perform. Default: 600. Introduced in GitLab 16.2.
    • CI_MAX_TOTAL_YAML_SIZE_BYTES

      public static final Setting CI_MAX_TOTAL_YAML_SIZE_BYTES
      The maximum amount of memory, in bytes, that can be allocated for the pipeline configuration, with all included YAML configuration files.
    • SECURITY_TXT_CONTENT

      public static final Setting SECURITY_TXT_CONTENT
      Public security contact information. Introduced in GitLab 16.7.
    • DOWNSTREAM_PIPELINE_TRIGGER_LIMIT_PER_PROJECT_USER_SHA

      public static final Setting DOWNSTREAM_PIPELINE_TRIGGER_LIMIT_PER_PROJECT_USER_SHA
      Maximum downstream pipeline trigger rate. Default: 0 (no restriction). Introduced in GitLab 16.10.
    • ASCIIDOC_MAX_INCLUDES

      public static final Setting ASCIIDOC_MAX_INCLUDES
      Maximum limit of AsciiDoc include directives being processed in any one document. Default: 32. Maximum: 64.
    • REQUIRE_PERSONAL_ACCESS_TOKEN_EXPIRY

      public static final Setting REQUIRE_PERSONAL_ACCESS_TOKEN_EXPIRY
      When enabled, users must set an expiration date when creating a group or project access token, or a personal access token owned by a non-service account.
    • DEACTIVATE_DORMANT_USERS

      public static final Setting DEACTIVATE_DORMANT_USERS
      Enable automatic deactivation of dormant users.
    • DEACTIVATE_DORMANT_USERS_PERIOD

      public static final Setting DEACTIVATE_DORMANT_USERS_PERIOD
      Length of time (in days) after which a user is considered dormant. Introduced in GitLab 15.3.
    • NUGET_SKIP_METADATA_URL_VALIDATION

      public static final Setting NUGET_SKIP_METADATA_URL_VALIDATION
      Indicates whether to skip metadata URL validation for the NuGet package. Introduced in GitLab 17.0.
    • AUTOMATIC_PURCHASED_STORAGE_ALLOCATION

      public static final Setting AUTOMATIC_PURCHASED_STORAGE_ALLOCATION
      Enabling this permits automatic allocation of purchased storage in a namespace. Relevant only to EE distributions.
    • ELASTICSEARCH_INDEXED_FIELD_LENGTH_LIMIT

      public static final Setting ELASTICSEARCH_INDEXED_FIELD_LENGTH_LIMIT
      Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing. Premium and Ultimate only.
    • ELASTICSEARCH_INDEXED_FILE_SIZE_LIMIT_KB

      public static final Setting ELASTICSEARCH_INDEXED_FILE_SIZE_LIMIT_KB
      Maximum size of repository and wiki files that are indexed by Elasticsearch. Premium and Ultimate only.
    • ELASTICSEARCH_REQUEUE_WORKERS

      public static final Setting ELASTICSEARCH_REQUEUE_WORKERS
      Enable automatic requeuing of indexing workers. This improves non-code indexing throughput by enqueuing Sidekiq jobs until all documents are processed. Premium and Ultimate only.
    • ELASTICSEARCH_WORKER_NUMBER_OF_SHARDS

      public static final Setting ELASTICSEARCH_WORKER_NUMBER_OF_SHARDS
      Number of indexing worker shards. This improves non-code indexing throughput by enqueuing more parallel Sidekiq jobs. Default is 2. Premium and Ultimate only.
    • ELASTICSEARCH_MAX_BULK_CONCURRENCY

      public static final Setting ELASTICSEARCH_MAX_BULK_CONCURRENCY
      Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations. Premium and Ultimate only.
    • ELASTICSEARCH_MAX_BULK_SIZE_MB

      public static final Setting ELASTICSEARCH_MAX_BULK_SIZE_MB
      Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations. Premium and Ultimate only.
    • ELASTICSEARCH_MAX_CODE_INDEXING_CONCURRENCY

      public static final Setting ELASTICSEARCH_MAX_CODE_INDEXING_CONCURRENCY
      Maximum concurrency of Elasticsearch code indexing background jobs. This only applies to repository indexing operations. Premium and Ultimate only.
    • ELASTICSEARCH_USERNAME

      public static final Setting ELASTICSEARCH_USERNAME
      The username of your Elasticsearch instance. Premium and Ultimate only.
    • ELASTICSEARCH_PASSWORD

      public static final Setting ELASTICSEARCH_PASSWORD
      The password of your Elasticsearch instance. Premium and Ultimate only.
    • ENFORCE_NAMESPACE_STORAGE_LIMIT

      public static final Setting ENFORCE_NAMESPACE_STORAGE_LIMIT
      Enabling this permits enforcement of namespace storage limits.
    • MAX_PERSONAL_ACCESS_TOKEN_LIFETIME

      public static final Setting MAX_PERSONAL_ACCESS_TOKEN_LIFETIME
      Maximum allowable lifetime for access tokens in days. When left blank, default value of 365 is applied. When set, value must be 365 or less. When changed, existing access tokens with an expiration date beyond the maximum allowable lifetime are revoked. Self-managed, Ultimate only.
    • MAX_SSH_KEY_LIFETIME

      public static final Setting MAX_SSH_KEY_LIFETIME
      Maximum allowable lifetime for SSH keys in days. Self-managed, Ultimate only.
    • PACKAGE_METADATA_PURL_TYPES

      public static final Setting PACKAGE_METADATA_PURL_TYPES
      List of package registry metadata to sync. See the list of the available values. Self-managed, Ultimate only.
    • SECURITY_POLICY_GLOBAL_GROUP_APPROVERS_ENABLED

      public static final Setting SECURITY_POLICY_GLOBAL_GROUP_APPROVERS_ENABLED
      Whether to look up merge request approval policy approval groups globally or within project hierarchies.
    • SECURITY_APPROVAL_POLICIES_LIMIT

      public static final Setting SECURITY_APPROVAL_POLICIES_LIMIT
      Maximum number of active merge request approval policies per security policy project. Default: 5. Maximum: 20
    • USE_CLICKHOUSE_FOR_ANALYTICS

      public static final Setting USE_CLICKHOUSE_FOR_ANALYTICS
      Enables ClickHouse as a data source for analytics reports. ClickHouse must be configured for this setting to take effect. Available on Premium and Ultimate only.
    • DUO_FEATURES_ENABLED

      public static final Setting DUO_FEATURES_ENABLED
      Indicates whether GitLab Duo features are enabled for this instance. Introduced in GitLab 16.10. Self-managed, Premium and Ultimate only.
    • LOCK_DUO_FEATURES_ENABLED

      public static final Setting LOCK_DUO_FEATURES_ENABLED
      Indicates whether the GitLab Duo features enabled setting is enforced for all subgroups. Introduced in GitLab 16.10. Self-managed, Premium and Ultimate only.
    • VALID_RUNNER_REGISTRARS

      public static final Setting VALID_RUNNER_REGISTRARS
      List of types which are allowed to register a GitLab Runner. Can be [], ['group'], ['project'] or ['group', 'project'].
    • THROTTLE_UNAUTHENTICATED_WEB_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_WEB_ENABLED
      (If enabled, requires: throttle_unauthenticated_web_period_in_seconds and throttle_unauthenticated_web_requests_per_period) Enable unauthenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
    • THROTTLE_UNAUTHENTICATED_WEB_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_WEB_PERIOD_IN_SECONDS
      Rate limit period in seconds.
    • THROTTLE_UNAUTHENTICATED_WEB_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_WEB_REQUESTS_PER_PERIOD
      Max requests per period per IP.
    • REPOSITORY_STORAGES_WEIGHTED

      public static final Setting REPOSITORY_STORAGES_WEIGHTED
      Hash of names of taken from gitlab.yml to weights. New projects are created in one of these stores, chosen by a weighted random selection.
    • DISABLE_OVERRIDING_APPROVERS_PER_MERGE_REQUEST

      public static final Setting DISABLE_OVERRIDING_APPROVERS_PER_MERGE_REQUEST
      Prevent editing approval rules in projects and merge requests.
    • PREVENT_MERGE_REQUESTS_AUTHOR_APPROVAL

      public static final Setting PREVENT_MERGE_REQUESTS_AUTHOR_APPROVAL
      Prevent approval by author
    • PREVENT_MERGE_REQUESTS_COMMITTERS_APPROVAL

      public static final Setting PREVENT_MERGE_REQUESTS_COMMITTERS_APPROVAL
      Prevent approval by committers to merge requests
    • PASSWORD_NUMBER_REQUIRED

      public static final Setting PASSWORD_NUMBER_REQUIRED
      Indicates whether passwords require at least one number. Introduced in GitLab 15.1. Premium and Ultimate only.
    • PASSWORD_SYMBOL_REQUIRED

      public static final Setting PASSWORD_SYMBOL_REQUIRED
      Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1. Premium and Ultimate only.
    • PASSWORD_UPPERCASE_REQUIRED

      public static final Setting PASSWORD_UPPERCASE_REQUIRED
      Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1. Premium and Ultimate only.
    • PASSWORD_LOWERCASE_REQUIRED

      public static final Setting PASSWORD_LOWERCASE_REQUIRED
      Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1. Premium and Ultimate only.
    • DEFAULT_PROJECT_DELETION_PROTECTION

      public static final Setting DEFAULT_PROJECT_DELETION_PROTECTION
      Enable default project deletion protection so only administrators can delete projects. Default is false. Self-managed, Premium and Ultimate only.
    • DELETION_ADJOURNED_PERIOD

      public static final Setting DELETION_ADJOURNED_PERIOD
      Number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. Defaults to 7. Self-managed, Premium and Ultimate only.
    • DISABLE_PERSONAL_ACCESS_TOKENS

      public static final Setting DISABLE_PERSONAL_ACCESS_TOKENS
      Disable personal access tokens. Introduced in GitLab 15.7. Self-managed, Premium and Ultimate only. There is no method available to enable a personal access token that’s been disabled through the API. This is a known issue. For more information about available workarounds, see Workaround.
    • UPDATING_NAME_DISABLED_FOR_USERS

      public static final Setting UPDATING_NAME_DISABLED_FOR_USERS
      Disable user profile name changes.
    • MAVEN_PACKAGE_REQUESTS_FORWARDING

      public static final Setting MAVEN_PACKAGE_REQUESTS_FORWARDING
      Use repo.maven.apache.org as a default remote repository when the package is not found in the GitLab Package Registry for Maven. Premium and Ultimate only.
    • NPM_PACKAGE_REQUESTS_FORWARDING

      public static final Setting NPM_PACKAGE_REQUESTS_FORWARDING
      Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm. Premium and Ultimate only.
    • PYPI_PACKAGE_REQUESTS_FORWARDING

      public static final Setting PYPI_PACKAGE_REQUESTS_FORWARDING
      Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI. Premium and Ultimate only.
    • GROUP_OWNERS_CAN_MANAGE_DEFAULT_BRANCH_PROTECTION

      public static final Setting GROUP_OWNERS_CAN_MANAGE_DEFAULT_BRANCH_PROTECTION
      Prevent overrides of default branch protection. Self-managed, Premium and Ultimate only.
    • MAINTENANCE_MODE

      public static final Setting MAINTENANCE_MODE
      When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests. Premium and Ultimate only.
    • MAINTENANCE_MODE_MESSAGE

      public static final Setting MAINTENANCE_MODE_MESSAGE
      Message displayed when instance is in maintenance mode. Premium and Ultimate only.
    • SERVICE_ACCESS_TOKENS_EXPIRATION_ENFORCED

      public static final Setting SERVICE_ACCESS_TOKENS_EXPIRATION_ENFORCED
      Flag to indicate if token expiry date can be optional for service account users
    • DELETE_UNCONFIRMED_USERS

      public static final Setting DELETE_UNCONFIRMED_USERS
      Specifies whether users who have not confirmed their email should be deleted. Default is false. When set to true, unconfirmed users are deleted after unconfirmed_users_delete_after_days days. Introduced in GitLab 16.1. Self-managed, Premium and Ultimate only.
    • UNCONFIRMED_USERS_DELETE_AFTER_DAYS

      public static final Setting UNCONFIRMED_USERS_DELETE_AFTER_DAYS
      Specifies how many days after sign-up to delete users who have not confirmed their email. Only applicable if delete_unconfirmed_users is set to true. Must be 1 or greater. Default is 7. Introduced in GitLab 16.1. Self-managed, Premium and Ultimate only.
    • CUSTOM_HTTP_CLONE_URL_ROOT

      public static final Setting CUSTOM_HTTP_CLONE_URL_ROOT
    • PROTECTED_PATHS_RAW

      public static final Setting PROTECTED_PATHS_RAW
    • THROTTLE_PROTECTED_PATHS_ENABLED

      public static final Setting THROTTLE_PROTECTED_PATHS_ENABLED
    • THROTTLE_PROTECTED_PATHS_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_PROTECTED_PATHS_PERIOD_IN_SECONDS
    • THROTTLE_PROTECTED_PATHS_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_PROTECTED_PATHS_REQUESTS_PER_PERIOD
    • FORCE_PAGES_ACCESS_CONTROL

      public static final Setting FORCE_PAGES_ACCESS_CONTROL
    • MINIMUM_PASSWORD_LENGTH

      public static final Setting MINIMUM_PASSWORD_LENGTH
    • SNIPPET_SIZE_LIMIT

      public static final Setting SNIPPET_SIZE_LIMIT
    • EMAIL_RESTRICTIONS_ENABLED

      public static final Setting EMAIL_RESTRICTIONS_ENABLED
    • EMAIL_RESTRICTIONS

      public static final Setting EMAIL_RESTRICTIONS
    • CONTAINER_EXPIRATION_POLICIES_ENABLE_HISTORIC_ENTRIES

      public static final Setting CONTAINER_EXPIRATION_POLICIES_ENABLE_HISTORIC_ENTRIES
    • ISSUES_CREATE_LIMIT

      public static final Setting ISSUES_CREATE_LIMIT
    • RAW_BLOB_REQUEST_LIMIT

      public static final Setting RAW_BLOB_REQUEST_LIMIT
    • ALLOW_POSSIBLE_SPAM

      public static final Setting ALLOW_POSSIBLE_SPAM
    • DENY_ALL_REQUESTS_EXCEPT_ALLOWED

      public static final Setting DENY_ALL_REQUESTS_EXCEPT_ALLOWED
    • DOMAIN_DENYLIST_RAW

      public static final Setting DOMAIN_DENYLIST_RAW
    • DOMAIN_ALLOWLIST_RAW

      public static final Setting DOMAIN_ALLOWLIST_RAW
    • OUTBOUND_LOCAL_REQUESTS_ALLOWLIST_RAW

      public static final Setting OUTBOUND_LOCAL_REQUESTS_ALLOWLIST_RAW
    • ERROR_TRACKING_ENABLED

      public static final Setting ERROR_TRACKING_ENABLED
    • ERROR_TRACKING_API_URL

      public static final Setting ERROR_TRACKING_API_URL
    • FLOC_ENABLED

      public static final Setting FLOC_ENABLED
    • HELP_PAGE_DOCUMENTATION_BASE_URL

      public static final Setting HELP_PAGE_DOCUMENTATION_BASE_URL
    • MATH_RENDERING_LIMITS_ENABLED

      public static final Setting MATH_RENDERING_LIMITS_ENABLED
    • MAX_ARTIFACTS_CONTENT_INCLUDE_SIZE

      public static final Setting MAX_ARTIFACTS_CONTENT_INCLUDE_SIZE
    • MAX_PAGES_CUSTOM_DOMAINS_PER_PROJECT

      public static final Setting MAX_PAGES_CUSTOM_DOMAINS_PER_PROJECT
    • THROTTLE_AUTHENTICATED_GIT_LFS_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_GIT_LFS_ENABLED
    • THROTTLE_AUTHENTICATED_GIT_LFS_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_GIT_LFS_PERIOD_IN_SECONDS
    • THROTTLE_AUTHENTICATED_GIT_LFS_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_GIT_LFS_REQUESTS_PER_PERIOD
    • THROTTLE_AUTHENTICATED_FILES_API_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_FILES_API_ENABLED
    • THROTTLE_AUTHENTICATED_FILES_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_FILES_API_PERIOD_IN_SECONDS
    • THROTTLE_AUTHENTICATED_FILES_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_FILES_API_REQUESTS_PER_PERIOD
    • THROTTLE_AUTHENTICATED_DEPRECATED_API_ENABLED

      public static final Setting THROTTLE_AUTHENTICATED_DEPRECATED_API_ENABLED
    • THROTTLE_AUTHENTICATED_DEPRECATED_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_AUTHENTICATED_DEPRECATED_API_PERIOD_IN_SECONDS
    • THROTTLE_AUTHENTICATED_DEPRECATED_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_AUTHENTICATED_DEPRECATED_API_REQUESTS_PER_PERIOD
    • THROTTLE_UNAUTHENTICATED_FILES_API_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_FILES_API_ENABLED
    • THROTTLE_UNAUTHENTICATED_FILES_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_FILES_API_PERIOD_IN_SECONDS
    • THROTTLE_UNAUTHENTICATED_FILES_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_FILES_API_REQUESTS_PER_PERIOD
    • THROTTLE_UNAUTHENTICATED_GIT_HTTP_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_GIT_HTTP_ENABLED
    • THROTTLE_UNAUTHENTICATED_GIT_HTTP_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_GIT_HTTP_PERIOD_IN_SECONDS
    • THROTTLE_UNAUTHENTICATED_GIT_HTTP_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_GIT_HTTP_REQUESTS_PER_PERIOD
    • THROTTLE_UNAUTHENTICATED_DEPRECATED_API_ENABLED

      public static final Setting THROTTLE_UNAUTHENTICATED_DEPRECATED_API_ENABLED
    • THROTTLE_UNAUTHENTICATED_DEPRECATED_API_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_UNAUTHENTICATED_DEPRECATED_API_PERIOD_IN_SECONDS
    • THROTTLE_UNAUTHENTICATED_DEPRECATED_API_REQUESTS_PER_PERIOD

      public static final Setting THROTTLE_UNAUTHENTICATED_DEPRECATED_API_REQUESTS_PER_PERIOD
    • PROTECTED_PATHS_FOR_GET_REQUEST_RAW

      public static final Setting PROTECTED_PATHS_FOR_GET_REQUEST_RAW
    • USAGE_PING_FEATURES_ENABLED

      public static final Setting USAGE_PING_FEATURES_ENABLED
    • NOTES_CREATE_LIMIT

      public static final Setting NOTES_CREATE_LIMIT
    • NOTES_CREATE_LIMIT_ALLOWLIST_RAW

      public static final Setting NOTES_CREATE_LIMIT_ALLOWLIST_RAW
    • MEMBERS_DELETE_LIMIT

      public static final Setting MEMBERS_DELETE_LIMIT
    • PROJECT_IMPORT_LIMIT

      public static final Setting PROJECT_IMPORT_LIMIT
    • PROJECT_EXPORT_LIMIT

      public static final Setting PROJECT_EXPORT_LIMIT
    • PROJECT_DOWNLOAD_EXPORT_LIMIT

      public static final Setting PROJECT_DOWNLOAD_EXPORT_LIMIT
    • GROUP_IMPORT_LIMIT

      public static final Setting GROUP_IMPORT_LIMIT
    • GROUP_EXPORT_LIMIT

      public static final Setting GROUP_EXPORT_LIMIT
    • GROUP_DOWNLOAD_EXPORT_LIMIT

      public static final Setting GROUP_DOWNLOAD_EXPORT_LIMIT
    • WIKI_ASCIIDOC_ALLOW_URI_INCLUDES

      public static final Setting WIKI_ASCIIDOC_ALLOW_URI_INCLUDES
    • SENTRY_ENABLED

      public static final Setting SENTRY_ENABLED
    • SENTRY_DSN

      public static final Setting SENTRY_DSN
    • SENTRY_CLIENTSIDE_DSN

      public static final Setting SENTRY_CLIENTSIDE_DSN
    • SENTRY_ENVIRONMENT

      public static final Setting SENTRY_ENVIRONMENT
    • SENTRY_CLIENTSIDE_TRACES_SAMPLE_RATE

      public static final Setting SENTRY_CLIENTSIDE_TRACES_SAMPLE_RATE
    • SEARCH_RATE_LIMIT_ALLOWLIST_RAW

      public static final Setting SEARCH_RATE_LIMIT_ALLOWLIST_RAW
    • USERS_GET_BY_ID_LIMIT

      public static final Setting USERS_GET_BY_ID_LIMIT
    • USERS_GET_BY_ID_LIMIT_ALLOWLIST_RAW

      public static final Setting USERS_GET_BY_ID_LIMIT_ALLOWLIST_RAW
    • INVITATION_FLOW_ENFORCEMENT

      public static final Setting INVITATION_FLOW_ENFORCEMENT
    • DEACTIVATION_EMAIL_ADDITIONAL_TEXT

      public static final Setting DEACTIVATION_EMAIL_ADDITIONAL_TEXT
    • GROUP_API_LIMIT

      public static final Setting GROUP_API_LIMIT
    • GROUP_INVITED_GROUPS_API_LIMIT

      public static final Setting GROUP_INVITED_GROUPS_API_LIMIT
    • GROUP_SHARED_GROUPS_API_LIMIT

      public static final Setting GROUP_SHARED_GROUPS_API_LIMIT
    • GROUP_PROJECTS_API_LIMIT

      public static final Setting GROUP_PROJECTS_API_LIMIT
    • GROUPS_API_LIMIT

      public static final Setting GROUPS_API_LIMIT
    • PROJECT_API_LIMIT

      public static final Setting PROJECT_API_LIMIT
    • PROJECTS_API_LIMIT

      public static final Setting PROJECTS_API_LIMIT
    • USER_CONTRIBUTED_PROJECTS_API_LIMIT

      public static final Setting USER_CONTRIBUTED_PROJECTS_API_LIMIT
    • USER_PROJECTS_API_LIMIT

      public static final Setting USER_PROJECTS_API_LIMIT
    • USER_STARRED_PROJECTS_API_LIMIT

      public static final Setting USER_STARRED_PROJECTS_API_LIMIT
    • NAMESPACE_AGGREGATION_SCHEDULE_LEASE_DURATION_IN_SECONDS

      public static final Setting NAMESPACE_AGGREGATION_SCHEDULE_LEASE_DURATION_IN_SECONDS
    • AI_ACTION_API_RATE_LIMIT

      public static final Setting AI_ACTION_API_RATE_LIMIT
    • CODE_SUGGESTIONS_API_RATE_LIMIT

      public static final Setting CODE_SUGGESTIONS_API_RATE_LIMIT
    • ELASTICSEARCH_CLIENT_REQUEST_TIMEOUT

      public static final Setting ELASTICSEARCH_CLIENT_REQUEST_TIMEOUT
    • ELASTICSEARCH_PAUSE_INDEXING

      public static final Setting ELASTICSEARCH_PAUSE_INDEXING
    • ELASTICSEARCH_REPLICAS

      public static final Setting ELASTICSEARCH_REPLICAS
    • ELASTICSEARCH_SHARDS

      public static final Setting ELASTICSEARCH_SHARDS
    • ELASTICSEARCH_ANALYZERS_SMARTCN_ENABLED

      public static final Setting ELASTICSEARCH_ANALYZERS_SMARTCN_ENABLED
    • ELASTICSEARCH_ANALYZERS_KUROMOJI_ENABLED

      public static final Setting ELASTICSEARCH_ANALYZERS_KUROMOJI_ENABLED
    • INSTANCE_LEVEL_AI_BETA_FEATURES_ENABLED

      public static final Setting INSTANCE_LEVEL_AI_BETA_FEATURES_ENABLED
    • LOCK_MEMBERSHIPS_TO_LDAP

      public static final Setting LOCK_MEMBERSHIPS_TO_LDAP
    • LOCK_MEMBERSHIPS_TO_SAML

      public static final Setting LOCK_MEMBERSHIPS_TO_SAML
    • SEARCH_MAX_SHARD_SIZE_GB

      public static final Setting SEARCH_MAX_SHARD_SIZE_GB
    • SEARCH_MAX_DOCS_DENOMINATOR

      public static final Setting SEARCH_MAX_DOCS_DENOMINATOR
    • SEARCH_MIN_DOCS_BEFORE_ROLLOVER

      public static final Setting SEARCH_MIN_DOCS_BEFORE_ROLLOVER
    • SECRET_DETECTION_TOKEN_REVOCATION_ENABLED

      public static final Setting SECRET_DETECTION_TOKEN_REVOCATION_ENABLED
    • SECRET_DETECTION_TOKEN_REVOCATION_URL

      public static final Setting SECRET_DETECTION_TOKEN_REVOCATION_URL
    • SECRET_DETECTION_TOKEN_REVOCATION_TOKEN

      public static final Setting SECRET_DETECTION_TOKEN_REVOCATION_TOKEN
    • SECRET_DETECTION_REVOCATION_TOKEN_TYPES_URL

      public static final Setting SECRET_DETECTION_REVOCATION_TOKEN_TYPES_URL
    • SECURITY_POLICY_SCHEDULED_SCANS_MAX_CONCURRENCY

      public static final Setting SECURITY_POLICY_SCHEDULED_SCANS_MAX_CONCURRENCY
    • THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_ENABLED

      public static final Setting THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_ENABLED
    • THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_PER_PERIOD

      public static final Setting THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_PER_PERIOD
    • THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_PERIOD_IN_SECONDS

      public static final Setting THROTTLE_INCIDENT_MANAGEMENT_NOTIFICATION_PERIOD_IN_SECONDS
    • PRODUCT_ANALYTICS_ENABLED

      public static final Setting PRODUCT_ANALYTICS_ENABLED
    • PRODUCT_ANALYTICS_DATA_COLLECTOR_HOST

      public static final Setting PRODUCT_ANALYTICS_DATA_COLLECTOR_HOST
    • PRODUCT_ANALYTICS_CONFIGURATOR_CONNECTION_STRING

      public static final Setting PRODUCT_ANALYTICS_CONFIGURATOR_CONNECTION_STRING
    • CUBE_API_BASE_URL

      public static final Setting CUBE_API_BASE_URL
    • CUBE_API_KEY

      public static final Setting CUBE_API_KEY
    • DUO_AVAILABILITY

      public static final Setting DUO_AVAILABILITY
    • ZOEKT_AUTO_INDEX_ROOT_NAMESPACE

      public static final Setting ZOEKT_AUTO_INDEX_ROOT_NAMESPACE
    • ZOEKT_INDEXING_ENABLED

      public static final Setting ZOEKT_INDEXING_ENABLED
    • ZOEKT_INDEXING_PAUSED

      public static final Setting ZOEKT_INDEXING_PAUSED
    • ZOEKT_SEARCH_ENABLED

      public static final Setting ZOEKT_SEARCH_ENABLED
    • DUO_WORKFLOW_OAUTH_APPLICATION_ID

      public static final Setting DUO_WORKFLOW_OAUTH_APPLICATION_ID
    • ALLOW_DEPLOY_TOKENS_AND_KEYS_WITH_EXTERNAL_AUTHN

      public static final Setting ALLOW_DEPLOY_TOKENS_AND_KEYS_WITH_EXTERNAL_AUTHN
    • CONTAINER_REGISTRY_IMPORT_MAX_TAGS_COUNT

      public static final Setting CONTAINER_REGISTRY_IMPORT_MAX_TAGS_COUNT
    • CONTAINER_REGISTRY_IMPORT_MAX_RETRIES

      public static final Setting CONTAINER_REGISTRY_IMPORT_MAX_RETRIES
    • CONTAINER_REGISTRY_IMPORT_START_MAX_RETRIES

      public static final Setting CONTAINER_REGISTRY_IMPORT_START_MAX_RETRIES
    • CONTAINER_REGISTRY_IMPORT_MAX_STEP_DURATION

      public static final Setting CONTAINER_REGISTRY_IMPORT_MAX_STEP_DURATION
    • CONTAINER_REGISTRY_PRE_IMPORT_TAGS_RATE

      public static final Setting CONTAINER_REGISTRY_PRE_IMPORT_TAGS_RATE
    • CONTAINER_REGISTRY_PRE_IMPORT_TIMEOUT

      public static final Setting CONTAINER_REGISTRY_PRE_IMPORT_TIMEOUT
    • CONTAINER_REGISTRY_IMPORT_TIMEOUT

      public static final Setting CONTAINER_REGISTRY_IMPORT_TIMEOUT
    • CONTAINER_REGISTRY_IMPORT_TARGET_PLAN

      public static final Setting CONTAINER_REGISTRY_IMPORT_TARGET_PLAN
    • CONTAINER_REGISTRY_IMPORT_CREATED_BEFORE

      public static final Setting CONTAINER_REGISTRY_IMPORT_CREATED_BEFORE
  • Method Details

    • values

      public static Setting[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Setting valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static Setting forValue(String value)
    • toValue

      public String toValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Setting>
    • isValid

      public final boolean isValid(Object value)
      Returns true if the provided value is of the correct type specified by this ApplicationSetting enum, otherwise returns false.
      Parameters:
      value - the value to validate
      Returns:
      true if the value is of the correct type or null
    • validate

      public final void validate(Object value)
      Validates the provided value against the data type of this ApplicationSetting enum. Will throw a GitLabApiException if the value is not of the correct type.
      Parameters:
      value - the value to validate
      Throws:
      IllegalStateException - if the provided value is not a valid type for the ApplicationSetting
    • emptyArrayValue

      public Object emptyArrayValue()