Skip to content

Add API endpoint for Terraform state backend

Magdalena Frankiewicz requested to merge http-backend-api into master

What does this MR do?

Closes #207344 (closed)

MR creates an API endpoint to support http calls from terraform to GitLab. It supports GET, POST and DELETE, it doesn't not return anything yet. It handles authentication and authorization - only a user who has admin_build permission (Maintainer) can use the endpoint.

Screenshots

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
Edited by 🤖 GitLab Bot 🤖

Merge request reports