Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore warning of the latest gosec tool
This looks like a possible false positives, at least until we learn more at securego/gosec#714 Addressing: [/github/workspace/examples/falcon_sensor_download/main.go:104-108] - G307 (CWE-703): Deferring unsafe method "Close" on type "*os.File" (Confidence: HIGH, Severity: MEDIUM) 103: } > 104: defer func() { > 105: if err := file.Close(); err != nil { > 106: fmt.Fprintf(os.Stderr, "Error closing file: %s\n", err) > 107: } > 108: }() 109:
- Loading branch information