package testutils import "github.com/securego/gosec/v2" var ( // SampleCodeG504 - Blocklisted import CGI SampleCodeG504 = []CodeSample{ {[]string{` package main import ( "net/http/cgi" "net/http" ) func main() { cgi.Serve(http.FileServer(http.Dir("/usr/share/doc"))) } `}, 1, gosec.NewConfig()}, } )