From 687b2c8179bf395a149fe0776701fcf69da22853 Mon Sep 17 00:00:00 2001 From: Jovon Itwaru Date: Fri, 9 Mar 2018 14:17:12 -0500 Subject: [PATCH] added ssrf rule to rulelist.go --- rules/rulelist.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/rulelist.go b/rules/rulelist.go index f6f21af..0c014c2 100644 --- a/rules/rulelist.go +++ b/rules/rulelist.go @@ -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},