Skip to content

Commit 226a19d

Browse files
authored
update scopes (#1922)
1 parent 23321c0 commit 226a19d

File tree

1 file changed

+6
-3
lines changed
  • docs/deployment/managed-scanning

1 file changed

+6
-3
lines changed

docs/deployment/managed-scanning/azure.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ Add Azure DevOps repositories to your Semgrep organization in bulk without addin
1919

2020
## Prerequisites and permissions
2121

22-
- Semgrep Managed Scanning requires repositories hosted by Azure DevOps Services. It currently doesn't support Azure DevOps Server.
22+
- Semgrep Managed Scanning requires repositories hosted by Azure DevOps Services. It doesn't support Azure DevOps Server.
2323
- Semgrep recommends setting up and configuring Semgrep Managed Scanning with an Azure DevOps service account, not a personal account. Regardless of whether you use a personal or service account, the account must be assigned the **Owner** or **Project Collection Administrator** role for the organization.
24-
- During setup and configuration, you must provide a personal access token generated by the account. This token must be granted the **Project and Team: Read & write** scope.
25-
- Once you have Managed Scanning fully configured, you can update the token to **Project and Team: Read**, a more limited scope.
24+
- During setup and configuration, you must provide a personal access token generated by the account. This token must be authorized with **Full access**.
25+
- Once you have Managed Scanning fully configured, you can update the token provided to Semgrep to one that's more restrictive. The scopes you must assign to the token include:
26+
- `Project and Team: Read & write`
27+
- `Code: Read`
28+
- `Pull Request Threads: Read & write`
2629

2730
## Enable Managed Scans and scan your first repository
2831

0 commit comments

Comments
 (0)