Skip to content

Project Security Settings

Info

This section requires GitLab Ultimate (paid). (This is a GitLab's limitation, not GitLabForm's.)

This section purpose is to manage project security settings, especially secret push protection.

On Gitlab Dedicated and Self-managed instances, you must allow secret push protection before you can enable it in a project

Values are documented at LDAP Group Links section of the Groups API docs.

Example

projects_and_groups:
  group_1/project_1:
    project_security_settings:
      pre_receive_secret_detection_enabled: true