Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions telemetry/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ type Client struct {
func New(functionName string, licenseKey string, telemetryEndpointOverride string, logEndpointOverride string, batch *Batch, collectTraceID bool, clientTimeout time.Duration) *Client {
httpClient := &http.Client{
Timeout: httpClientTimeout,
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please Add
TLSClientConfig: &tls.Config{
MinVersion: tls.VersionTLS12,
},
So, it will prevents the use of older, vulnerable TLS versions (TLS 1.0, TLS 1.1)

},
}

// Create random seed for timeout to avoid instances created at the same time
Expand Down
2 changes: 1 addition & 1 deletion util/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package util

const (
Name = "newrelic-lambda-extension"
Version = "2.3.23"
Version = "2.3.24"
Id = Name + ":" + Version
)
Loading