Files
gitlabhq/data/deprecations/17-9-pre_receive_secret_detection_enabled-REST-API.yml
2025-04-18 15:11:49 +00:00

20 lines
1.2 KiB
YAML

- title: "REST API endpoint `pre_receive_secret_detection_enabled` is deprecated"
announcement_milestone: "17.9"
removal_milestone: "18.0"
breaking_change: false
reporter: abellucci
stage: application_security_testing
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/514413
impact: medium
scope: instance
resolution_role: Admin
manual_task: true
body: | # (required) Don't change this line.
The REST API endpoint `pre_receive_secret_detection_enabled` is deprecated in favor of `secret_push_protection_enabled`. We are renaming some API fields to reflect the name change of the feature `pre_receive_secret_detection` to `secret_push_protection`.
We have added the new API field name, but will no longer remove the old field name in GitLab 18.0 as originally announced.
We will still update the database to [remove](https://gitlab.com/gitlab-org/gitlab/-/issues/512996) the old `pre_receive_secret_detection_enabled` database column, but you'll be able to use either API field name. Both will reflect the value of the new `secret_push_protection_enabled` database column.
tiers: ultimate
documentation_url: https://docs.gitlab.com/api/projects/#secret-push-protection-status