diff options
Diffstat (limited to 'doc/development/rake_tasks.md')
-rw-r--r-- | doc/development/rake_tasks.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index 505f480c410..3de74e2e048 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -85,6 +85,18 @@ To import these metrics, you can run: bundle exec rake 'gitlab:seed:development_metrics[your_project_id]' ``` +#### Seed a project with vulnerabilities + +You can seed a project with [security vulnerabilities](../user/application_security/vulnerabilities/index.md). + +```shell +# Seed all projects +bin/rake 'gitlab:seed:vulnerabilities' + +# Seed a specific project +bin/rake 'gitlab:seed:vulnerabilities[group-path/project-path]' +``` + ### Automation If you're very sure that you want to **wipe the current database** and refill |