Support vulnerability events in gitlab group & project hooks
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
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.mdguide for setting up your local development environment and clone the community fork of this project. - Add a new attribute called
vulnerability_eventsto the following files:internal/provider/resource_gitlab_group_hook.gointernal/provider/resource_gitlab_project_hook.gointernal/provider/datasource_gitlab_group_hook.gointernal/provider/datasource_gitlab_group_hooks.gointernal/provider/datasource_gitlab_project_hook.gointernal/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_eventsattribute. - Update the tests for each resource/datasource to use the new attribute.
Edited by 🤖 GitLab Bot 🤖