TMAegis
Mais regras para gitlab

TMA-GITLAB-2.1.10

Ensure webhooks of the build environment are secured

AltaNível 1Revisão manualgitlab

Descrição

Use secured webhooks of the build environment. Webhooks are used for triggering an HTTP request based on an action made in the platform. Typically, build environment feature webhooks for a pipeline trigger based on source code event. Since webhooks are an HTTP POST request, they can be malformed if not secured over SSL. To prevent a potential hack and compromise of the webhook or to the environment or web server excepting the request, use only secured webhooks.

Como é verificado

Método de auditoria: Revisão manual

Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --include-manual.

For each webhook in use, ensure it is secured (HTTPS) via the following process: - In your project or group, on the left sidebar, select Settings > Webhooks. - For each webhook, click Edit. - Verify if the Enable SSL verification checkbox is checked. - Select Add webhook.

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

For each webhook in use, change it to secured (over HTTPS). - In your project or group, on the left sidebar, select Settings > Webhooks. - For each webhook, click Edit. - Ensure the Enable SSL verification checkbox is checked. - Select Save.

Propriedades

Sistemas operacionais
Qualquer
Tags
devsecopsgitlab
Referência
CIS GitLab Benchmark v1.0.1 - 2.1.10 Ensure webhooks of the build environment are secured