Closed phires closed 5 months ago
[/go-guerrilla/log/hook.go:130] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM) 129: func (hook *LogrusHook) openCreate(dest string) (err error) { > 130: fd, err := os.OpenFile(dest, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644) 131: if err != nil {