From 97dcc72a8b407d08d20bc12d469f562f3de07fc1 Mon Sep 17 00:00:00 2001 From: Grant Murphy Date: Tue, 8 Nov 2016 08:48:45 -0800 Subject: [PATCH] Incorrect rule mapping in rulelist --- rulelist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulelist.go b/rulelist.go index c5f9670..9d39607 100644 --- a/rulelist.go +++ b/rulelist.go @@ -33,7 +33,7 @@ func GetFullRuleList() map[string]RuleInfo { "G101": RuleInfo{"Look for hardcoded credentials", rules.NewHardcodedCredentials}, "G102": RuleInfo{"Bind to all interfaces", rules.NewBindsToAllNetworkInterfaces}, "G103": RuleInfo{"Audit the use of unsafe block", rules.NewUsingUnsafe}, - "G104": RuleInfo{"Audit errors not checked", rules.NewTemplateCheck}, + "G104": RuleInfo{"Audit errors not checked", rules.NewNoErrorCheck}, // injection "G201": RuleInfo{"SQL query construction using format string", rules.NewSqlStrFormat},