Skip to content

--json flag still does not output as JSON standard #2164

@agad98

Description

@agad98

When run the wizard and ask it to scan a filesystem, the output to stdio is just aa stream of objects, with no delimination or encapsulation with square brackets.

This was claimed to have been fixed in the new version in this issue #169

But I am running the latest version and it is still not fixed. I tried both, the dev and the packaged release, both behave the same.

TruffleHog Version

Latest dev
trufflehog dev

Steps to Reproduce

run with --json flag, or set output to json true in the wizard

Environment

  • OS: Windows 11

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions