TMAegis
Другие правила для gitlab

TMA-GITLAB-2.1.10

Ensure webhooks of the build environment are secured

ВысокийУровень 1Ручная проверкаgitlab

Описание

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.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --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.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

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.

Свойства

Операционные системы
Любая
Теги
devsecopsgitlab
Источник
CIS GitLab Benchmark v1.0.1 - 2.1.10 Ensure webhooks of the build environment are secured