@eurekadevsecops/radar 1.3.1 → 1.3.3
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 +5 -0
- package/package.json +1 -1
- package/src/telemetry/index.js +6 -1
- package/depscan-universal.vdr.txt +0 -1
- package/scan.sarif +0 -1
package/README.md
CHANGED
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
radarctl is a command-line interface for Radar, an open-source orchestrator of security scanners. Radar is part of the Eureka DevSecOps platform.
|
|
12
12
|
|
|
13
|
+
## Requirements
|
|
14
|
+
|
|
15
|
+
- Node.js version 22.17.0 or higher
|
|
16
|
+
- Docker
|
|
17
|
+
|
|
13
18
|
## Installation
|
|
14
19
|
|
|
15
20
|
Install the Radar CLI on the command-line using [NPM](https://npmjs.com):
|
package/package.json
CHANGED
package/src/telemetry/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const package = require('../../package.json')
|
|
2
2
|
const { DateTime } = require("luxon")
|
|
3
3
|
|
|
4
|
-
const EWA_URL = process.env.EWA_URL ?? 'https://
|
|
4
|
+
const EWA_URL = process.env.EWA_URL ?? 'https://bff.eurekadevsecops.com'
|
|
5
5
|
const VDBE_URL = process.env.VDBE_URL ?? 'https://vulns.eurekadevsecops.com'
|
|
6
6
|
|
|
7
7
|
const USER_AGENT = `Radar/${package.version} (${package.pkgname}@${package.version}; ${process?.platform}-${process?.arch}; ${process?.release?.name}-${process?.version})`
|
|
@@ -22,6 +22,11 @@ const send = async (path, params, body, token) => {
|
|
|
22
22
|
},
|
|
23
23
|
body: toBody(path, body)
|
|
24
24
|
})
|
|
25
|
+
.then(async (res) => {
|
|
26
|
+
// TODO: Display this on stdout only if --debug option is selected on the cmd line.
|
|
27
|
+
// if (!res.ok) console.log(`POST ${toURL(path, params)} [${res.status}] ${res.statusText}: ${await res.text()}`)
|
|
28
|
+
return res
|
|
29
|
+
})
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
const sendSensitive = async (path, params, body) => {
|