Support vulnerability events in gitlab group & project hooks

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Collaborate/take over this issue

Since Gitlab 17.8 and this merge request the new type of webhook events has been introduced - Vulnerability event

Currently, it's not supported in terraform

Please, propagate this type to both gitlab_group_hook and gitlab_project_hook

If the issue is duplicate - please mention in which one it will be implemented

Implementation Guide

  • Read the CONTRIBUTING.md guide for setting up your local development environment and clone the community fork of this project.
  • Add a new attribute called vulnerability_events to the following files:
    • internal/provider/resource_gitlab_group_hook.go
    • internal/provider/resource_gitlab_project_hook.go
    • internal/provider/datasource_gitlab_group_hook.go
    • internal/provider/datasource_gitlab_group_hooks.go
    • internal/provider/datasource_gitlab_project_hook.go
    • internal/provider/datasource_gitlab_project_hooks.go
  • Look at the pattern for the other events attributes to see where the changes need to be made, for example the job_events attribute.
  • Update the tests for each resource/datasource to use the new attribute.
Edited Jan 15, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading