diff options
Diffstat (limited to 'doc/api/vulnerabilities.md')
-rw-r--r-- | doc/api/vulnerabilities.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/vulnerabilities.md b/doc/api/vulnerabilities.md index f89f2bda2eb..8296292c1f8 100644 --- a/doc/api/vulnerabilities.md +++ b/doc/api/vulnerabilities.md @@ -1,20 +1,20 @@ --- stage: Secure group: Threat Insights -info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers +info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments --- # Vulnerabilities API **(ULTIMATE)** > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/10242) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.6. -NOTE: **Note:** +NOTE: The former Vulnerabilities API was renamed to Vulnerability Findings API and its documentation was moved to [a different location](vulnerability_findings.md). This document now describes the new Vulnerabilities API that provides access to [Vulnerabilities](https://gitlab.com/groups/gitlab-org/-/epics/634). -CAUTION: **Caution:** +WARNING: This API is in an alpha stage and considered unstable. The response payload may be subject to change or breakage across GitLab releases. @@ -23,7 +23,7 @@ Every API call to vulnerabilities must be [authenticated](README.md#authenticati Vulnerability permissions inherit permissions from their project. If a project is private, and a user isn't a member of the project to which the vulnerability -belongs, requests to that project will return a `404 Not Found` status code. +belongs, requests to that project returns a `404 Not Found` status code. ## Single vulnerability @@ -77,7 +77,7 @@ Confirms a given vulnerability. Returns status code `304` if the vulnerability i If an authenticated user does not have permission to [confirm vulnerabilities](../user/permissions.md#project-members-permissions), -this request will result in a `403` status code. +this request results in a `403` status code. ```plaintext POST /vulnerabilities/:id/confirm @@ -127,7 +127,7 @@ Resolves a given vulnerability. Returns status code `304` if the vulnerability i If an authenticated user does not have permission to [resolve vulnerabilities](../user/permissions.md#project-members-permissions), -this request will result in a `403` status code. +this request results in a `403` status code. ```plaintext POST /vulnerabilities/:id/resolve @@ -177,7 +177,7 @@ Dismisses a given vulnerability. Returns status code `304` if the vulnerability If an authenticated user does not have permission to [dismiss vulnerabilities](../user/permissions.md#project-members-permissions), -this request will result in a `403` status code. +this request results in a `403` status code. ```plaintext POST /vulnerabilities/:id/dismiss @@ -227,7 +227,7 @@ Reverts a given vulnerability to detected state. Returns status code `304` if th If an authenticated user does not have permission to [revert vulnerability to detected state](../user/permissions.md#project-members-permissions), -this request will result in a `403` status code. +this request results in a `403` status code. ```plaintext POST /vulnerabilities/:id/revert |