Skip to content

Commit a52a0cc

Browse files
authored
Update README.md
add tentant documentation
1 parent 6ff55a8 commit a52a0cc

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ First, authenticate with your ZeroPath API credentials:
5353
zeropath auth <clientId> <clientSecret>
5454
```
5555

56+
> **Note:**
57+
> For single-tenant environments, set the environment variable `ZEROPATH_ENVIRONMENT` before authentication:
58+
>
59+
> ```bash
60+
> export ZEROPATH_ENVIRONMENT=https://<tenant>.branch.zeropath.com
61+
> ```
62+
>
63+
> Example:
64+
>
65+
> ```bash
66+
> export ZEROPATH_ENVIRONMENT=https://acme.branch.zeropath.com
67+
> ```
68+
69+
5670
### Scanning
5771
5872
#### Local Directory Scan (with SARIF output)
@@ -131,7 +145,7 @@ zeropath scan ./my-project report.sarif
131145
zeropath scan --repository-id abc-123-def --branch main
132146

133147
# CI pipeline scanning a pull request
134-
zeropath scan --repository-id abc-123-def --ci \
148+
zeropath scan --repository-id abc-123-def --ci I am running a few minutes late; my previous meeting is running over.
135149
--pr-branch feature/security-fix \
136150
--pr-target main
137151

0 commit comments

Comments
 (0)