summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-26 21:11:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-26 21:11:13 +0000
commita0315d9d6c2715f087af8119de4c75a63d0dea11 (patch)
treed4646ec3b5c296d72411604f3f6354f2d875f01a
parent2dd743014e205233b13dfff29fda20243bc1fbc5 (diff)
downloadgitlab-ce-a0315d9d6c2715f087af8119de4c75a63d0dea11.tar.gz
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--doc/user/application_security/policies/scan-result-policies.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/user/application_security/policies/scan-result-policies.md b/doc/user/application_security/policies/scan-result-policies.md
index 104462529c1..17e602ab17f 100644
--- a/doc/user/application_security/policies/scan-result-policies.md
+++ b/doc/user/application_security/policies/scan-result-policies.md
@@ -116,6 +116,7 @@ the defined policy.
| `user_approvers_ids` | `array` of `integer` | ID of one of more users | The IDs of users to consider as approvers. Users must have access to the project to be eligible to approve. |
| `group_approvers` | `array` of `string` | Path of one of more groups | The groups to consider as approvers. Users with [direct membership in the group](../../project/merge_requests/approvals/rules.md#group-approvers) are eligible to approve. |
| `group_approvers_ids` | `array` of `integer` | ID of one of more groups | The IDs of groups to consider as approvers. Users with [direct membership in the group](../../project/merge_requests/approvals/rules.md#group-approvers) are eligible to approve. |
+| `role_approvers` | `array` of `string` | One or more [roles](../../../user/permissions.md#roles) (for example: `owner`, `maintainer`) | The roles to consider as approvers. |
Requirements and limitations:
@@ -171,6 +172,8 @@ scan_result_policy:
approvals_required: 1
user_approvers:
- sam.white
+ role_approvers:
+ - owner
```
In this example: