gosec/rules
Martin Vrachev 62b5195dd9 Report for Golang errors (#284)
* Report for Golang errors

Right now if you use Gosec to scan invalid go file and if you report the result in a text, JSON, CSV or another file format you will always receive 0 issues.
The reason for that is that Gosec can't parse the AST of invalid go files and thus will not report anything.

The real problem here is that the user will never know about the issue if he generates the output in a file.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2019-02-27 08:24:06 +10:00
..
archive.go Allow quoted strings to be used to format SQL queries (#240) 2018-09-25 10:40:05 +03:00
big.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
bind.go Extend the bind rule to handle the case when the net.Listen address in provided from a const 2018-12-04 09:22:06 +01:00
blacklist.go Add sha1 to weak crypto primitives 2018-08-08 16:38:57 +02:00
errors.go Detect the unhandled errors even though they are explicitly ignored if the 'audit: enabled' setting is defined in the global configuration (#274) 2019-01-14 21:37:40 +10:00
fileperms.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
hardcoded_credentials.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
rand.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
readfile.go Fix typos in comments and rulelist (#256) 2018-10-11 14:45:31 +02:00
rsa.go Allow quoted strings to be used to format SQL queries (#240) 2018-09-25 10:40:05 +03:00
rulelist.go Fix typos in comments and rulelist (#256) 2018-10-11 14:45:31 +02:00
rules_suite_test.go Major rework of codebase 2017-07-19 15:17:00 -06:00
rules_test.go Report for Golang errors (#284) 2019-02-27 08:24:06 +10:00
sql.go Make G201 ignore CallExpr with no args (#262) 2018-11-05 09:28:47 +01:00
ssh.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
ssrf.go Allow quoted strings to be used to format SQL queries (#240) 2018-09-25 10:40:05 +03:00
subproc.go Allow quoted strings to be used to format SQL queries (#240) 2018-09-25 10:40:05 +03:00
tempfiles.go Allow quoted strings to be used to format SQL queries (#240) 2018-09-25 10:40:05 +03:00
templates.go Fix typos in comments and rulelist (#256) 2018-10-11 14:45:31 +02:00
tls.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
tls_config.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
unsafe.go Replace gas with gosec everywhere in the project 2018-07-19 18:42:25 +02:00
weakcrypto.go Add sha1 to weak crypto primitives 2018-08-08 16:38:57 +02:00