-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] JSONL exporter adds trailing comma #5860
Comments
@kchason was it intentional change here https://github.com/projectdiscovery/nuclei/pull/5705/files#diff-3318b3220dac210ed7ff197dab8d5dca1820c39754f9b4ba37ad6a1a209fcd56R90? looks like it broke |
No, definitely not intentional to break the format. I'll take a look |
Sorry about that! I've got a patch in to remove the trailing commas at: #5864 |
Is there an existing issue for this?
Current Behavior
JSONL format is to be newline delimited: https://jsonlines.org/.
PR #5705 introduced a comma into the
-jsonl-output parameter
:line 90
This makes the output file not jsonline compliant and throws errors when parsing:
Expected Behavior
-jsonl-export
flag should produce a jsonl file that is newline delimited without a trailing comma.Steps To Reproduce
Run a nuclei scan with the
-jsonl-export
flagobserve the trailing comma in the results.jsonl file.
Relevant log output
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: