snyk-broker 4.128.0 → 4.129.2

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/README.md CHANGED
@@ -261,6 +261,42 @@ ENV BROKER_TOKEN secret-broker-token
261
261
  ENV ARTIFACTORY_URL <yourdomain>.artifactory.com
262
262
  ```
263
263
 
264
+ ### Nexus 3
265
+
266
+ To use the Nexus 3 client with an Nexus 3 deployment, run `docker pull snyk/broker:nexus` tag. The following environment variables are needed to customize the Broker client:
267
+
268
+ - `BROKER_TOKEN` - the snyk broker token, obtained from your artifactory integration settings view.
269
+ - `BASE_NEXUS_URL` - the URL of your Nexus 3 deployment, such as `https://[<user>:<pass>@]<your.nexus.hostname>`.
270
+ - `BROKER_CLIENT_VALIDATION_URL` - Nexus validation url, checked by broker client systemcheck endpoint. If Nexus user requires auth, use `$BASE_NEXUS_URL/service/rest/v1/status/check` (e.g. `https://<user>:<pass>@<your.nexus.hostname>/service/rest/v1/status/check`) otherwise use `$BASE_NEXUS_URL/service/rest/v1/status` (e.g. `https://<your.nexus.hostname>/service/rest/v1/status`).
271
+ - (Optional) `RES_BODY_URL_SUB` - This URL substitution is required for NPM/Yarn integration and is the same as the URL of the Nexus without credentials appended with `/repository`, e.g. `https://<your.nexus.hostname>/repository`
272
+
273
+ #### Command-line arguments
274
+
275
+ You can run the docker container by providing the relevant configuration:
276
+
277
+ ```console
278
+ docker run --restart=always \
279
+ -p 7341:7341 \
280
+ -e BROKER_TOKEN=secret-broker-token \
281
+ -e BASE_NEXUS_URL=https://[<user>:<pass>@]<your.nexus.hostname> \
282
+ -e BROKER_CLIENT_VALIDATION_URL=https://<your.nexus.hostname>/service/rest/v1/status[/check] \
283
+ -e RES_BODY_URL_SUB=https://<your.nexus.hostname>/repository \
284
+ snyk/broker:nexus
285
+ ```
286
+
287
+ #### Derived docker image
288
+
289
+ Another option is to build your own docker image and override relevant environment variables:
290
+
291
+ ```dockerfile
292
+ FROM snyk/broker:nexus
293
+
294
+ ENV BROKER_TOKEN secret-broker-token
295
+ ENV BASE_NEXUS_URL https://[<user>:<pass>@]<your.nexus.hostname>
296
+ ENV BROKER_CLIENT_VALIDATION_URL https://<your.nexus.hostname>/service/rest/v1/status[/check]
297
+ ENV RES_BODY_URL_SUB https://<your.nexus.hostname>/repository
298
+ ```
299
+
264
300
  ### Jira
265
301
 
266
302
  To use the Broker client with a Jira deployment, run `docker pull snyk/broker:jira` tag. The following environment variables are mandatory to configure the Broker client:
@@ -22,6 +22,8 @@ BROKER_HEALTHCHECK_PATH=/healthcheck
22
22
  # This URL substitution is required for NPM integration
23
23
  # RES_BODY_URL_SUB=https://<your.nexus.hostname>/nexus/content
24
24
 
25
+ # Nexus validation url, checked by broker client systemcheck endpoint
26
+ # works with / without auth
25
27
  BROKER_CLIENT_VALIDATION_URL=$BASE_NEXUS_URL/nexus/service/local/status
26
28
 
27
29
  BROKER_CLIENT_VALIDATION_JSON_DISABLED=true
package/dist/package.json CHANGED
@@ -88,5 +88,5 @@
88
88
  },
89
89
  "homepage": "https://github.com/snyk/broker#readme",
90
90
  "snyk": true,
91
- "version": "4.128.0"
91
+ "version": "4.129.2"
92
92
  }
@@ -472,7 +472,7 @@
472
472
  "affectsGlobalScope": true
473
473
  },
474
474
  "../package.json": {
475
- "version": "893510d9bf5d178a425edbb6f7bb01e181cb7143795ae7f6a6f52f46bc565392",
475
+ "version": "17d1edc56dac0c5c4148d2b257db4bb82c788db27c8818134023b4367d2bab6a",
476
476
  "signature": "4b7aff601ec65d9674146cc6cb2de0e47e8d203c86a24ccb3d43fbf25afffb24",
477
477
  "affectsGlobalScope": true
478
478
  },
@@ -567,8 +567,8 @@
567
567
  "affectsGlobalScope": true
568
568
  },
569
569
  "../node_modules/@babel/types/lib/index.d.ts": {
570
- "version": "67633388f50fe010a7b4d892721437d0fac88a282ef46217137d263a8a6651ed",
571
- "signature": "67633388f50fe010a7b4d892721437d0fac88a282ef46217137d263a8a6651ed",
570
+ "version": "ef178bff7cb17db8a2f3535f947f54cf6c22de8f87f9727cb340754c56c212ec",
571
+ "signature": "ef178bff7cb17db8a2f3535f947f54cf6c22de8f87f9727cb340754c56c212ec",
572
572
  "affectsGlobalScope": false
573
573
  },
574
574
  "../node_modules/@types/babel__generator/index.d.ts": {
@@ -587,8 +587,8 @@
587
587
  "affectsGlobalScope": false
588
588
  },
589
589
  "../node_modules/@types/babel__traverse/ts4.1/index.d.ts": {
590
- "version": "7ec562d20173996ab057cd17eb0af2e5de5fee1b1024ef20373c105b18020346",
591
- "signature": "7ec562d20173996ab057cd17eb0af2e5de5fee1b1024ef20373c105b18020346",
590
+ "version": "4dd55fea4ad11246df875a5fd4663382ed4dd0002d0a0ea77901399e3b678065",
591
+ "signature": "4dd55fea4ad11246df875a5fd4663382ed4dd0002d0a0ea77901399e3b678065",
592
592
  "affectsGlobalScope": false
593
593
  },
594
594
  "../node_modules/@types/babel__core/index.d.ts": {
package/package.json CHANGED
@@ -88,5 +88,5 @@
88
88
  },
89
89
  "homepage": "https://github.com/snyk/broker#readme",
90
90
  "snyk": true,
91
- "version": "4.128.0"
91
+ "version": "4.129.2"
92
92
  }