Skip to content

[Heartbeat] TLS metadata no longer present with max_redirects > 0 #48335

Description

@emilioalvap

Summary

Heartbeat no longer includes tls.* fields for http monitors with redirects enabled. The root cause is that the following condition is no longer met and TLS metadata is not appended to the events:

// Enrich event with TLS information when available. This is useful when connecting to an HTTPS server through
// a proxy.
if resp.TLS != nil {
	tlsFields := mapstr.M{}
	tlsmeta.AddTLSMetadata(tlsFields, *resp.TLS, tlsmeta.UnknownTLSHandshakeDuration)
	eventext.MergeEventFields(event, tlsFields)
}

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions