Skip to content

Add API endpoint to unpublish GitLab Pages

Ethan Urie requested to merge 33880-add-api-to-disable-pages into master

What does this MR do?

This adds an API endpoint to disable/unpublish GitLab Pages from a project. This is allows the Abuse team to automate the takedown of abusive uses of the Pages feature (e.g., phishing pages).

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #33880 (closed)

Merge request reports