nyx-scan/action.yml aktualisiert
This commit is contained in:
parent
62d5af9d63
commit
7029581487
1 changed files with 2 additions and 1 deletions
|
|
@ -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','?'))
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue