xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.37k stars 940 forks source link

Expose PreReceiveSecretDetectionEnabled project setting #1984

Closed gravis closed 1 month ago

gravis commented 1 month ago

This change adds the PreReceiveSecretDetectionEnabled field to the Project struct. This boolean reflects the state of the project Secret Push Protection feature: https://docs.gitlab.com/ee/user/application_security/secret_detection/secret_push_protection/

See also https://gitlab.com/gitlab-org/gitlab/-/merge_requests/160960