xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.42k stars 960 forks source link

Expose PreReceiveSecretDetectionEnabled project setting #1984

Closed gravis closed 3 months ago

gravis commented 3 months 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