gosec ./...
[gosec] 2020/10/27 14:47:47 Including rules: default
[gosec] 2020/10/27 14:47:47 Excluding rules: default
[gosec] 2020/10/27 14:47:47 Import directory: /openshift-router/pkg/version
[gosec] 2020/10/27 14:47:47 Checking package: version
[gosec] 2020/10/27 14:47:47 Checking file: /openshift-router/pkg/version/version.go
[gosec] 2020/10/27 14:47:47 Import directory: /openshift-router/pkg/cmd/infra/router
[gosec] 2020/10/27 14:48:00 Checking package: router
[gosec] 2020/10/27 14:48:00 Checking file: /openshift-router/pkg/cmd/infra/router/clientcmd.go
[gosec] 2020/10/27 14:48:00 Checking file: /openshift-router/pkg/cmd/infra/router/router.go
[gosec] 2020/10/27 14:48:00 Checking file: /openshift-router/pkg/cmd/infra/router/template.go
[gosec] 2020/10/27 14:48:00 Import directory: /openshift-router/pkg/router/controller/factory
[gosec] 2020/10/27 14:48:05 Checking package: factory
[gosec] 2020/10/27 14:48:05 Checking file: /openshift-router/pkg/router/controller/factory/doc.go
[gosec] 2020/10/27 14:48:05 Checking file: /openshift-router/pkg/router/controller/factory/factory.go
[gosec] 2020/10/27 14:48:05 Import directory: /openshift-router/pkg/router/metrics
[gosec] 2020/10/27 14:48:06 Checking package: metrics
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/metrics/health.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/metrics/metrics.go
[gosec] 2020/10/27 14:48:06 Import directory: /openshift-router/pkg/router/template/configmanager/haproxy
[gosec] 2020/10/27 14:48:06 Checking package: haproxy
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/backend.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/blueprint_plugin.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/client.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/converter.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/manager.go
[gosec] 2020/10/27 14:48:06 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/map.go
[gosec] 2020/10/27 14:48:06 Import directory: /openshift-router/pkg/router/writerlease
[gosec] 2020/10/27 14:48:07 Checking package: writerlease
[gosec] 2020/10/27 14:48:07 Checking file: /openshift-router/pkg/router/writerlease/writerlease.go
[gosec] 2020/10/27 14:48:07 Import directory: /openshift-router/pkg/router/metrics/probehttp
[gosec] 2020/10/27 14:48:07 Checking package: probehttp
[gosec] 2020/10/27 14:48:07 Checking file: /openshift-router/pkg/router/metrics/probehttp/probehttp.go
[gosec] 2020/10/27 14:48:07 Import directory: /openshift-router/pkg/router/routeapihelpers
[gosec] 2020/10/27 14:48:07 Checking package: routeapihelpers
[gosec] 2020/10/27 14:48:07 Checking file: /openshift-router/pkg/router/routeapihelpers/helper.go
[gosec] 2020/10/27 14:48:07 Checking file: /openshift-router/pkg/router/routeapihelpers/validation.go
[gosec] 2020/10/27 14:48:07 Import directory: /openshift-router/pkg/router/template/configmanager/haproxy/testing
[gosec] 2020/10/27 14:48:07 Checking package: testing
[gosec] 2020/10/27 14:48:07 Checking file: /openshift-router/pkg/router/template/configmanager/haproxy/testing/haproxy.go
[gosec] 2020/10/27 14:48:07 Import directory: /openshift-router/pkg/router/controller/hostindex
[gosec] 2020/10/27 14:48:08 Checking package: hostindex
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/controller/hostindex/activation.go
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/controller/hostindex/hostindex.go
[gosec] 2020/10/27 14:48:08 Import directory: /openshift-router/pkg/router/template/util/haproxy
[gosec] 2020/10/27 14:48:08 Checking package: haproxy
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/template/util/haproxy/map_entry.go
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/template/util/haproxy/types.go
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/template/util/haproxy/whitelist.go
[gosec] 2020/10/27 14:48:08 Import directory: /openshift-router/pkg/router/template/util
[gosec] 2020/10/27 14:48:08 Checking package: util
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/template/util/map_paths.go
[gosec] 2020/10/27 14:48:08 Checking file: /openshift-router/pkg/router/template/util/util.go
[gosec] 2020/10/27 14:48:08 Import directory: /openshift-router/pkg/router/template
[gosec] 2020/10/27 14:48:09 Checking package: templaterouter
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/certmanager.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/fake.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/plugin.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/router.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/service_lookup.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/template_helper.go
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/types.go
[gosec] 2020/10/27 14:48:09 Import directory: /openshift-router/pkg/router/template/limiter
[gosec] 2020/10/27 14:48:09 Checking package: limiter
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/template/limiter/limiter.go
[gosec] 2020/10/27 14:48:09 Import directory: /openshift-router/pkg/router/unidling
[gosec] 2020/10/27 14:48:09 Checking package: unidling
[gosec] 2020/10/27 14:48:09 Checking file: /openshift-router/pkg/router/unidling/types.go
[gosec] 2020/10/27 14:48:09 Import directory: /openshift-router/cmd/openshift-router
[gosec] 2020/10/27 14:48:10 Checking package: main
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/cmd/openshift-router/main.go
[gosec] 2020/10/27 14:48:10 Import directory: /openshift-router/log
[gosec] 2020/10/27 14:48:10 Checking package: log
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/log/log.go
[gosec] 2020/10/27 14:48:10 Import directory: /openshift-router/pkg/router/controller
[gosec] 2020/10/27 14:48:10 Checking package: controller
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/contention.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/doc.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/extended_validator.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/host_admitter.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/router_controller.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/status.go
[gosec] 2020/10/27 14:48:10 Checking file: /openshift-router/pkg/router/controller/unique_host.go
[gosec] 2020/10/27 14:48:10 Import directory: /openshift-router/pkg/router
[gosec] 2020/10/27 14:48:11 Checking package: router
[gosec] 2020/10/27 14:48:11 Checking file: /openshift-router/pkg/router/doc.go
[gosec] 2020/10/27 14:48:11 Checking file: /openshift-router/pkg/router/interfaces.go
[gosec] 2020/10/27 14:48:11 Import directory: /openshift-router/pkg/router/metrics/haproxy
[gosec] 2020/10/27 14:48:11 Checking package: haproxy
[gosec] 2020/10/27 14:48:11 Checking file: /openshift-router/pkg/router/metrics/haproxy/haproxy.go
Results:
Golang errors in file: [/openshift-router/cmd/openshift-router/main.go]:
> [line 19 : column 2] - could not import github.com/openshift/router/pkg/cmd/infra/router (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/cmd/infra/router/router.go]:
> [line 24 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
> [line 25 : column 2] - could not import github.com/openshift/router/pkg/router/controller (invalid package name: "")
> [line 26 : column 20] - could not import github.com/openshift/router/pkg/router/controller/factory (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/cmd/infra/router/template.go]:
> [line 39 : column 2] - could not import github.com/openshift/router/pkg/router (invalid package name: "")
> [line 41 : column 2] - could not import github.com/openshift/router/pkg/router/metrics (invalid package name: "")
> [line 42 : column 2] - could not import github.com/openshift/router/pkg/router/metrics/haproxy (invalid package name: "")
> [line 43 : column 17] - could not import github.com/openshift/router/pkg/router/template (invalid package name: "")
> [line 44 : column 23] - could not import github.com/openshift/router/pkg/router/template/configmanager/haproxy (invalid package name: "")
> [line 45 : column 2] - could not import github.com/openshift/router/pkg/router/writerlease (invalid package name: "")
> [line 46 : column 2] - could not import github.com/openshift/router/pkg/version (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/extended_validator.go]:
> [line 12 : column 2] - could not import github.com/openshift/router/pkg/router (invalid package name: "")
> [line 13 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/factory/factory.go]:
> [line 25 : column 2] - could not import github.com/openshift/router/pkg/router (invalid package name: "")
> [line 26 : column 19] - could not import github.com/openshift/router/pkg/router/controller (invalid package name: "")
> [line 27 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
> [line 29 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/hostindex/activation.go]:
> [line 7 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/router_controller.go]:
> [line 18 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/status.go]:
> [line 19 : column 2] - could not import github.com/openshift/router/pkg/router/writerlease (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/controller/unique_host.go]:
> [line 17 : column 2] - could not import github.com/openshift/router/pkg/router/controller/hostindex (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/metrics/haproxy/haproxy.go]:
> [line 24 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/metrics/health.go]:
> [line 15 : column 2] - could not import github.com/openshift/router/pkg/router/metrics/probehttp (invalid package name: "")
> [line 16 : column 17] - could not import github.com/openshift/router/pkg/router/template (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/metrics/metrics.go]:
> [line 21 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/metrics/probehttp/probehttp.go]:
> [line 32 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/configmanager/haproxy/backend.go]:
> [line 10 : column 17] - could not import github.com/openshift/router/pkg/router/template (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/configmanager/haproxy/manager.go]:
> [line 18 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
> [line 20 : column 15] - could not import github.com/openshift/router/pkg/router/template/util (invalid package name: "")
> [line 22 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/limiter/limiter.go]:
> [line 9 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/plugin.go]:
> [line 18 : column 14] - could not import github.com/openshift/router/pkg/router/unidling (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/router.go]:
> [line 27 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
> [line 28 : column 2] - could not import github.com/openshift/router/pkg/router/template/limiter (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/template_helper.go]:
> [line 17 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
> [line 18 : column 15] - could not import github.com/openshift/router/pkg/router/template/util (invalid package name: "")
> [line 19 : column 14] - could not import github.com/openshift/router/pkg/router/template/util/haproxy (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/util/haproxy/map_entry.go]:
> [line 7 : column 15] - could not import github.com/openshift/router/pkg/router/template/util (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/template/util/util.go]:
> [line 10 : column 2] - could not import github.com/openshift/router/pkg/router/routeapihelpers (invalid package name: "")
> [line 12 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
Golang errors in file: [/openshift-router/pkg/router/writerlease/writerlease.go]:
> [line 13 : column 7] - could not import github.com/openshift/router/log (invalid package name: "")
[/openshift-router/cmd/openshift-router/main.go:7] - G108 (CWE-): Profiling endpoint is automatically exposed on /debug/pprof (Confidence: HIGH, Severity: HIGH)
> _ "net/http/pprof"
[/openshift-router/pkg/router/metrics/haproxy/haproxy.go:12] - G108 (CWE-): Profiling endpoint is automatically exposed on /debug/pprof (Confidence: HIGH, Severity: HIGH)
> _ "net/http/pprof"
[/openshift-router/pkg/router/metrics/probehttp/probehttp.go:46] - G402 (CWE-295): TLS InsecureSkipVerify set true. (Confidence: HIGH, Severity: HIGH)
> InsecureSkipVerify: true
[/openshift-router/pkg/router/template/certmanager.go:185] - G306 (CWE-): Expect WriteFile permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)
> ioutil.WriteFile(fileName, cert, 0644)
[/openshift-router/pkg/router/controller/contention.go:269] - G601 (CWE-): Implicit memory aliasing in for loop. (Confidence: MEDIUM, Severity: MEDIUM)
> &old
[/openshift-router/pkg/cmd/infra/router/template.go:581] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(certFile)
[/openshift-router/pkg/cmd/infra/router/template.go:585] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(keyFile)
[/openshift-router/pkg/cmd/infra/router/template.go:601] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(certFile)
[/openshift-router/pkg/cmd/infra/router/template.go:606] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(keyFile)
[/openshift-router/pkg/router/template/template_helper.go:197] - G306 (CWE-): Expect WriteFile permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)
> ioutil.WriteFile(name, data, 0644)
[/openshift-router/pkg/router/template/router.go:862] - G401 (CWE-326): Use of weak cryptographic primitive (Confidence: HIGH, Severity: MEDIUM)
> md5.Sum([]byte(key))
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:183] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(certPath)
[/openshift-router/pkg/router/template/router.go:476] - G601 (CWE-): Implicit memory aliasing in for loop. (Confidence: MEDIUM, Severity: MEDIUM)
> &cfg
[/openshift-router/pkg/router/template/router.go:465] - G306 (CWE-): Expect WriteFile permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)
> ioutil.WriteFile(filepath.Join(r.dir, routeFile), data, 0644)
[/openshift-router/pkg/router/template/router.go:259] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(fileKeyName)
[/openshift-router/pkg/router/template/router.go:249] - G304 (CWE-22): Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> ioutil.ReadFile(fileCrtName)
[/openshift-router/pkg/router/template/router.go:5] - G501 (CWE-327): Blacklisted import crypto/md5: weak cryptographic primitive (Confidence: HIGH, Severity: MEDIUM)
> "crypto/md5"
[/openshift-router/pkg/router/template/plugin.go:309] - G401 (CWE-326): Use of weak cryptographic primitive (Confidence: HIGH, Severity: MEDIUM)
> md5.Sum([]byte(s))
[/openshift-router/pkg/router/controller/status.go:238] - G601 (CWE-): Implicit memory aliasing in for loop. (Confidence: MEDIUM, Severity: MEDIUM)
> &ingress
[/openshift-router/pkg/router/template/plugin.go:4] - G501 (CWE-327): Blacklisted import crypto/md5: weak cryptographic primitive (Confidence: HIGH, Severity: MEDIUM)
> "crypto/md5"
[/openshift-router/pkg/router/template/router.go:543] - G204 (CWE-78): Subprocess launched with function call as argument or cmd arguments (Confidence: HIGH, Severity: MEDIUM)
> exec.Command(r.reloadScriptPath)
[/openshift-router/pkg/router/template/configmanager/haproxy/testing/haproxy.go:134] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> os.Remove(sockFile)
[/openshift-router/pkg/router/template/configmanager/haproxy/testing/haproxy.go:396] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> conn.Write([]byte(response))
[/openshift-router/pkg/router/template/configmanager/haproxy/testing/haproxy.go:132] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> net.DialTimeout("unix", sockFile, timeout)
[/openshift-router/pkg/router/template/configmanager/haproxy/testing/haproxy.go:47] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> os.Remove(name)
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:605] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.DisableServer(name)
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:548] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.EnableServer(name)
[/openshift-router/pkg/router/template/router.go:226] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> router.commitAndReload()
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:547] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.UpdateServerInfo(name, ep.IP, ep.Port, weight, weightIsRelative)
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:521] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.EnableServer(s.Name)
[/openshift-router/pkg/router/template/router.go:321] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> os.Remove(outName)
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:520] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.UpdateServerInfo(s.Name, ep.IP, ep.Port, weight, weightIsRelative)
[/openshift-router/pkg/router/template/configmanager/haproxy/manager.go:509] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> backend.DisableServer(s.Name)
[/openshift-router/pkg/router/template/router.go:523] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> file.Close()
[/openshift-router/pkg/router/template/router.go:526] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> file.Close()
[/openshift-router/pkg/router/metrics/haproxy/haproxy.go:377] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> f.Close()
[/openshift-router/pkg/router/template/configmanager/haproxy/client.go:177-191] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> utilwait.ExponentialBackoff(cmdWaitBackoff, func() (bool, error) {
n++
client := &haproxy.HAProxyClient{
Addr: c.socketAddress,
Timeout: c.timeout,
}
buffer, cmdErr = client.RunCommand(cmd)
if cmdErr == nil {
return true, nil
}
if !isRetriable(cmdErr, cmd) {
return false, cmdErr
}
return false, nil
})
[/openshift-router/pkg/router/metrics/health.go:73] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> conn.SetDeadline(time.Now().Add(2 * time.Second))
[/openshift-router/pkg/cmd/infra/router/router.go:93] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> flag.MarkDeprecated("enable-ingress", "Ingress resources are now synchronized to routes automatically.")
[/openshift-router/pkg/cmd/infra/router/clientcmd.go:83] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> cobra.MarkFlagFilename(flags, overrideFlags.ClusterOverrideFlags.CertificateAuthority.LongName)
[/openshift-router/pkg/cmd/infra/router/clientcmd.go:82] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> cobra.MarkFlagFilename(flags, overrideFlags.AuthOverrideFlags.ClientKey.LongName)
[/openshift-router/pkg/cmd/infra/router/clientcmd.go:81] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> cobra.MarkFlagFilename(flags, overrideFlags.AuthOverrideFlags.ClientCertificate.LongName)
[/openshift-router/pkg/router/metrics/haproxy/haproxy.go:353] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> resp.Body.Close()
[/openshift-router/pkg/router/metrics/haproxy/haproxy.go:367] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> f.Close()
[/openshift-router/pkg/router/metrics/haproxy/haproxy.go:373] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> f.Close()
[/openshift-router/pkg/cmd/infra/router/clientcmd.go:69] - G104 (CWE-703): Errors unhandled. (Confidence: HIGH, Severity: LOW)
> cobra.MarkFlagFilename(flags, "config")
Summary:
Files: 47
Lines: 10864
Nosec: 0
Issues: 46