acpilot 2.3.0 → 2.3.1
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/cli.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -60641,7 +60641,7 @@ var init_scanner = __esm({
|
|
|
60641
60641
|
var readline = __toESM(require("readline"));
|
|
60642
60642
|
|
|
60643
60643
|
// package.json
|
|
60644
|
-
var version = "2.3.
|
|
60644
|
+
var version = "2.3.1";
|
|
60645
60645
|
|
|
60646
60646
|
// src/cli.ts
|
|
60647
60647
|
var PKG_VERSION = version;
|
|
@@ -61137,7 +61137,8 @@ async function runScanInner(args, isJson, puppeteerAvailable) {
|
|
|
61137
61137
|
console.log(`
|
|
61138
61138
|
${BOLD}${path}${RESET}`);
|
|
61139
61139
|
for (const f of r.dsgvoFindings) {
|
|
61140
|
-
|
|
61140
|
+
const severity = f.severity === "critical" ? `${RED}KRITISCH${RESET}` : f.severity === "serious" ? `${YELLOW}ERNST${RESET}` : `${CYAN}MODERAT${RESET}`;
|
|
61141
|
+
console.log(` ${YELLOW}\u25CF${RESET} [${severity}] ${f.description || f.title || f.message || JSON.stringify(f)}`);
|
|
61141
61142
|
}
|
|
61142
61143
|
}
|
|
61143
61144
|
}
|