mirror of
https://github.com/securego/gosec.git
synced 2024-12-27 21:15:52 +00:00
added ssrf rule to rulelist.go
This commit is contained in:
parent
ec1b1893e1
commit
687b2c8179
1 changed files with 1 additions and 0 deletions
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue