Skip to content

Commit

Permalink
[http_endpoint] fix incorrect TLSConfig initialization (#32105)
Browse files Browse the repository at this point in the history
* [http_endpoint] fix incorrect TLSConfig initialization
* update Changelog
  • Loading branch information
r00tu53r authored and chrisberkhout committed Jun 1, 2023
1 parent 51c33fa commit 444d848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- If a file is ignored by `filestream` because of ignore_older settings, when it is updated, only the new lines are shipped to the output. {issue}31924[31924] {pull}31972[31972]
- Fix deduplication in Google workspace module by changing fingerprint processor target field from `@metadata.id` to `@metadata._id`. {pull}31898[31898]
- Fix handling and mapping of syslog priority, facility and severity values in Cisco module. {pull}32025[32025]
- Fix http_endpoint input TLS handshake failures. {pull}32105[32105]

*Heartbeat*

Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/http_endpoint/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func newHTTPEndpoint(config config) (*httpEndpoint, error) {
return nil, err
}
if tlsConfigBuilder != nil {
tlsConfig = tlsConfigBuilder.BuildModuleClientConfig(addr)
tlsConfig = tlsConfigBuilder.BuildServerConfig(addr)
}

return &httpEndpoint{
Expand Down

0 comments on commit 444d848

Please sign in to comment.