daemon/splunk: ignore G402: TLS MinVersion too low for now
daemon/logger/splunk/splunk.go:173:16: G402: TLS MinVersion too low. (gosec)
tlsConfig := &tls.Config{}
^
@@ -170,7 +170,8 @@ func New(info logger.Info) (logger.Logger, error) {
return nil, fmt.Errorf("%s: %s is expected", driverName, splunkTokenKey)
}
- tlsConfig := &tls.Config{}
+ // FIXME set minimum TLS version for splunk (see https://github.com/moby/moby/issues/42443)
+ tlsConfig := &tls.Config{} //nolint: gosec // G402: TLS MinVersion too low.
// Splunk is using autogenerated certificates by default,
// allow users to trust them with skipping verification
