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