Skip to content

Commit

Permalink
gosec - allow user to set tls min version
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Sirianni authored Aug 21, 2021
1 parent 5aaa858 commit cb04e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operator/builtin/input/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (t *TCPInput) configureListener() error {
return nil
}

// #nosec - User to specify tls minimum version
config := tls.Config{
Certificates: []tls.Certificate{t.tlsKeyPair},
MinVersion: t.tlsMinVersion,
Expand Down

0 comments on commit cb04e71

Please sign in to comment.