Commit 19b1424

Repositorybojemoi
Branchmain
Authorgrafana-watcher
Hash19b1424a58d97d247ad17c235130305cb59e8620

Description

Nuclei v3.x writes a single-line JSON array (not JSONL) to the export file. The previous JSONL parser appended the entire array as one item, causing ’list’ object has no attribute ‘get’ in push_to_defectdojo() and /results.

Fix: detect list vs dict in the per-line parser and extend/append accordingly. Applies to both the internal dojo import loop and the /results API endpoint.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

Msamsonov/nuclei_api/main.py

Diff Summary

s1amfsiolneovc/hnauncgleedi,_a1p0i/imnasienr.tpiyon|s(1+2),2deletions(-)