From 70295814878b389f88b7e6a2863f90939bcfd7a9 Mon Sep 17 00:00:00 2001 From: alpha-nerd Date: Wed, 13 May 2026 18:36:45 +0200 Subject: [PATCH] nyx-scan/action.yml aktualisiert --- nyx-scan/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nyx-scan/action.yml b/nyx-scan/action.yml index f04af0b..3340299 100644 --- a/nyx-scan/action.yml +++ b/nyx-scan/action.yml @@ -61,7 +61,8 @@ runs: .nyx-src/target/release/nyx scan --format json --index off 2>/dev/null | python3 -c " import json, sys data = json.load(sys.stdin) - for f in data.get('findings', []): + findings = data if isinstance(data, list) else data.get('findings', []) + for f in findings: print(f.get('fingerprint','?'), '|', f.get('rule_id','?'), '|', f.get('path','?'), '|', f.get('line','?')) "