diff options
author | rossfuhrman <rfuhrman@gitlab.com> | 2019-07-10 16:53:15 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-07-10 16:53:15 +0000 |
commit | 39757992554f95902ec3c8b7dc9bcaac1c0aa3fb (patch) | |
tree | 4626e9461784a2aee42c2b8da314cab6f2c6a497 | |
parent | af272692b523ea11bec5b1fe50a84a84bc364d24 (diff) | |
download | gitlab-ce-39757992554f95902ec3c8b7dc9bcaac1c0aa3fb.tar.gz |
Vulnerabilities API now supports pipeline_id
-rw-r--r-- | doc/api/vulnerabilities.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/vulnerabilities.md b/doc/api/vulnerabilities.md index cc6e5d3960b..eaa4c13de55 100644 --- a/doc/api/vulnerabilities.md +++ b/doc/api/vulnerabilities.md @@ -30,6 +30,7 @@ GET /projects/:id/vulnerabilities?scope=all GET /projects/:id/vulnerabilities?scope=dismissed GET /projects/:id/vulnerabilities?severity=high GET /projects/:id/vulnerabilities?confidence=unknown,experimental +GET /projects/:id/vulnerabilities?pipeline_id=42 ``` | Attribute | Type | Required | Description | @@ -39,6 +40,7 @@ GET /projects/:id/vulnerabilities?confidence=unknown,experimental | `scope` | string | no | Returns vulnerabilities for the given scope: `all` or `dismissed`. Defaults to `dismissed` | | `severity` | string array | no | Returns vulnerabilities belonging to specified severity level: `undefined`, `info`, `unknown`, `low`, `medium`, `high`, or `critical`. Defaults to all' | | `confidence` | string array | no | Returns vulnerabilities belonging to specified confidence level: `undefined`, `ignore`, `unknown`, `experimental`, `low`, `medium`, `high`, or `confirmed`. Defaults to all | +| `pipeline_id` | integer/string | no | Returns vulnerabilities belonging to specified pipeline. | ```bash curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/4/vulnerabilities |