Ticket Sync with GitLab and openCode

DevGuard can open a GitLab issue for every dependency vulnerability above a threshold and keep it in sync. This works out of the box on gitlab.com and gitlab.opencode.de.

Steps

Invite the DevGuard bot

In your GitLab project go to Manage → Members and invite the bot user with the Reporter role.

InstanceBot userUser ID
gitlab.opencode.dedevguard9457
gitlab.comdevguard-bot28777095

Add a webhook

In your GitLab project go to Settings → Webhooks and click Add new webhook. Use the URL of your DevGuard instance:

DevGuard instanceWebhook URL
devguard.opencode.dehttps://api.devguard.opencode.de/api/v1/webhook/
devguard.orghttps://api.devguard.org/api/v1/webhook/
Self hostedhttps://<your api host>/api/v1/webhook/

Select the triggers Issue events, Confidential issue events, Comments and Confidential comments. Keep SSL verification enabled and save.

Enable ticket sync in DevGuard

Open the repository settings in DevGuard, enable the reporting range and set a CVSS or risk threshold. See Configure Automatic Ticket Creation.

DevGuard now creates issues for vulnerabilities above the threshold. You can manage them with slash commands in issue comments.

Set up GitLab Integration

Customize Risk Scores

Have feedback? We want to hear from you!

Fields marked with * are required