diff options
| author | Lucas Charles <me@lucascharles.me> | 2019-08-02 00:10:34 +0000 |
|---|---|---|
| committer | Evan Read <eread@gitlab.com> | 2019-08-02 00:10:34 +0000 |
| commit | 0fadca7fa99a77159b57add58af5adfe1eb3fffb (patch) | |
| tree | e63e0e3bc2ef6c2b66d8949e00864d95ef92f49a /doc/user/application_security | |
| parent | 4a4b863b1ad1d3dbb8590b0a83f3f397fab2106a (diff) | |
| download | gitlab-ce-0fadca7fa99a77159b57add58af5adfe1eb3fffb.tar.gz | |
Add documentation for Security Approvals for MRs
Documents how to enable security approvals
Diffstat (limited to 'doc/user/application_security')
| -rw-r--r-- | doc/user/application_security/index.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/user/application_security/index.md b/doc/user/application_security/index.md index 31f0b5a050c..4dcb416c110 100644 --- a/doc/user/application_security/index.md +++ b/doc/user/application_security/index.md @@ -148,6 +148,38 @@ Clicking on this button will create a merge request to apply the solution onto t  +## Security approvals in merge requests **(ULTIMATE)** + +> [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/issues/9928) in [GitLab Ultimate](https://about.gitlab.com/pricing) 12.2. + +Merge Request Approvals can be configured to require approval from a member +of your security team when a vulnerability would be introduced by a merge request. + +This threshold is defined as `high`, `critical`, or `unknown` +severity. When any vulnerabilities are present within a merge request, an +approval will be required from the `Vulnerability-Check` approver group. + +### Enabling Security Approvals within a project + +To enable Security Approvals, a [project approval rule](../project/merge_requests/merge_request_approvals.md#multiple-approval-rules-premium) +must be created with the case-sensitive name `Vulnerability-Check`. This approval +group must be set with an "Approvals required" count greater than zero. + +Once this group has been added to your project, the approval rule will be enabled +for all Merge Requests. + +Any code changes made will cause the count of approvals required to reset. + +An approval will be required when a security report: + +- Contains a new vulnerability of `high`, `critical`, or `unknown` severity. +- Is not generated during pipeline execution. + +An approval will be optional when a security report: + +- Contains no new vulnerabilities. +- Contains only new vulnerabilities of `low` or `medium` severity. + <!-- ## Troubleshooting Include any troubleshooting steps that you can foresee. If you know beforehand what issues |
