nyx-scan/action.yml aktualisiert
This commit is contained in:
parent
7029581487
commit
c5023e35d2
1 changed files with 5 additions and 2 deletions
|
|
@ -62,8 +62,11 @@ runs:
|
|||
import json, sys
|
||||
data = json.load(sys.stdin)
|
||||
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','?'))
|
||||
if findings:
|
||||
print('=== first finding keys ===')
|
||||
print(list(findings[0].keys()))
|
||||
print('=== first finding ===')
|
||||
print(json.dumps(findings[0], indent=2))
|
||||
"
|
||||
|
||||
- name: Run NYX scan
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue