Developer Vulnerability Management Setup Guide
The Security Insights group at GitLab is charged with developing solutions to enable customers to manage their security risks effectively and efficiently.
Requirements
Set up GDK
To fully run Vulnerability Management on your local machine, you must have set up the GDK.
Set up runner
To display the Vulnerability Reports, you need to set up the runner. Follow these steps:
- Navigate to
http://gdk.test:3000/gitlab-org/security-reports
. - On the left sidebar, click on the
Search or go to...
button and selectAdmin Area
. - In the Admin Area, on the left sidebar, select
CI/CD
>Runners
. - Select
New instance runner
>Run untagged jobs
>Create Runner
. - Choose your Operating system and follow the instructions of
Step 1
. - Ensure that Docker is running on your machine.
- Open your terminal, run
gdk start
. Oncegdk
is running, run the commandgitlab-runner run
. - Return to your browser, and click on
View runners
. Your runner should be shown in the list of runners, and show asOnline
. - Navigate back to the
Security Reports
project athttp://gdk.test:3000/gitlab-org/security-reports
. - On the left sidebar click on
Build
>Pipelines
. The pipeline should now be active.
For additional details or troubleshooting, consult the official runner setup guide.
Ensure EE license
To display Vulnerability Reports and the Vulnerability Management tool in GitLab, you need an Enterprise Edition (EE) license. This license enables features exclusive to the EE tier. To generate an EE development license, follow these steps:
- Request an EE developer license. Follow the steps in the handbook.
- Add the EE license to your local environment. Follow the steps in the handbook under Add license in the Admin area.
Resources and examples
Repositories
To easily populate vulnerabilities, we recommend the Security Reports project. To add it to your local GDK environment:
- Go to
http://gdk.test:3000/
in your browser. - Click on
New Project
>Import Project
>Repository by URL
. - In the
Git repository URL
field, enterhttps://gitlab.com/gitlab-examples/security/security-reports.git
. - Under
Project URL
, add a namespace, (for example,gitlab-org
). - For
Project slug
entersecurity-reports
. - Click
Create project
.
Last modified January 10, 2025: Add Documentation on how to set up Vulnerability Management for developers (
e325df39
)