Using project command analysis, no results can be output
gosec -fmt=json -out=report-gosec-all2.4.2.json -concurrency=4 -exclude-generated ./...
After using -exclude=G602 for correct analysis, results are output
gosec -fmt=json -out=report-gosec-all2.4.2.json -concurrency=4 -exclude-generated exclude=G602 ./...