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{}
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4004a39d53
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
2de90ebbe4
commit
9e88f8435a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue