snyk-broker 4.172.5 → 4.173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-templates/github-server-app/.env.sample +41 -0
- package/dist/client-templates/github-server-app/accept.json.sample +1403 -0
- package/dist/lib/common/http/downstream-post-stream-to-server.js +16 -5
- package/dist/lib/common/http/downstream-post-stream-to-server.js.map +1 -1
- package/dist/lib/common/relay/forwardWebsocketRequest.js +1 -1
- package/dist/lib/common/relay/forwardWebsocketRequest.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
BROKER_DOWNSTREAM_TYPE_GITHUB_SERVER_APP=true
|
|
2
|
+
# your unique broker identifier
|
|
3
|
+
BROKER_TOKEN=<broker-token>
|
|
4
|
+
|
|
5
|
+
# the host for your GitHub Enterprise Server deployment, excluding scheme
|
|
6
|
+
GITHUB=ghe.yourdomain.com
|
|
7
|
+
|
|
8
|
+
# the GitHub Enterprise Server REST API url, excluding scheme
|
|
9
|
+
GITHUB_API=$GITHUB/api/v3
|
|
10
|
+
|
|
11
|
+
# the GitHub Enterprise Server GraphQL API url, excluding scheme
|
|
12
|
+
GITHUB_GRAPHQL=$GITHUB/api
|
|
13
|
+
|
|
14
|
+
# the url of your broker client (including scheme and port)
|
|
15
|
+
# BROKER_CLIENT_URL=
|
|
16
|
+
|
|
17
|
+
# GitHub Enterprise Server validation url, checked by broker client systemcheck endpoint
|
|
18
|
+
BROKER_CLIENT_VALIDATION_URL=https://$GITHUB_API/user
|
|
19
|
+
|
|
20
|
+
# GitHub Enterprise Server validation request Authorization header
|
|
21
|
+
BROKER_CLIENT_VALIDATION_AUTHORIZATION_HEADER="token $GITHUB_TOKEN"
|
|
22
|
+
|
|
23
|
+
# The URL of the Snyk broker server
|
|
24
|
+
BROKER_SERVER_URL=https://broker.snyk.io
|
|
25
|
+
|
|
26
|
+
# the fine detail accept rules that allow Snyk to make API requests to your
|
|
27
|
+
# github enterprise Server instance
|
|
28
|
+
ACCEPT=accept.json
|
|
29
|
+
|
|
30
|
+
# The path for the broker's internal healthcheck URL. Must start with a '/'.
|
|
31
|
+
BROKER_HEALTHCHECK_PATH=/healthcheck
|
|
32
|
+
|
|
33
|
+
# the host where the git server resides
|
|
34
|
+
GIT_URL=$GITHUB
|
|
35
|
+
|
|
36
|
+
# git credentials for cloning repos
|
|
37
|
+
GIT_USERNAME=x-access-token
|
|
38
|
+
GIT_PASSWORD=$GITHUB_TOKEN
|
|
39
|
+
|
|
40
|
+
# the url of your snyk git client (including scheme and port).
|
|
41
|
+
# GIT_CLIENT_URL=https://<snyk-git-client-host>:<snyk-git-client-port>
|