Skip to content

Adds support for Push Secret Detections

Patrick Rice requested to merge add-push-secret-detection-support into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

This Merge Request adds support for Secret Push Protection.

The API situation is a little odd per internal note, so the Read operation uses the REST API, while the Create/Update operations use the GraphQL Mutation.

The new attribute is "hidden" behind a version check. They won't error if used prior to 17.3, but will cause a perpetual plan since it will never read with a non-nil value.

Edited by Patrick Rice

Merge request reports

Loading