Closed jplanckeel closed 1 year ago
To improve security, we ran the gosec lint to check for potential security holes in the project.
gosec : https://securego.io/docs/rules/rule-intro
[x] G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW) [x] G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM) [x] G112 (CWE-400): Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (Confidence: LOW, Severity: MEDIUM)
Hello, why this MR is close ?
Context
To improve security, we ran the gosec lint to check for potential security holes in the project.
gosec : https://securego.io/docs/rules/rule-intro
Fix
[x] G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW) [x] G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM) [x] G112 (CWE-400): Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (Confidence: LOW, Severity: MEDIUM)
Change