added ssrf rule to rulelist.go

This commit is contained in:
Jovon Itwaru 2018-03-09 14:17:12 -05:00
parent ec1b1893e1
commit 687b2c8179

View file

@ -67,6 +67,7 @@ func Generate(filters ...RuleFilter) RuleList {
{"G104", "Audit errors not checked", NewNoErrorCheck},
{"G105", "Audit the use of big.Exp function", NewUsingBigExp},
{"G106", "Audit the use of ssh.InsecureIgnoreHostKey function", NewSSHHostKey},
{"G107", "Url provided to HTTP request as taint input", NewSSRFCheck},
// injection
{"G201", "SQL query construction using format string", NewSQLStrFormat},