Commit 128a697 1 parent c0ac0b3 commit 128a697 Copy full SHA for 128a697
File tree 4 files changed +11
-3
lines changed
4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,13 @@ import (
22
22
23
23
"github.com/elastic/apm-server/internal/beatcmd"
24
24
"github.com/elastic/apm-server/internal/beater"
25
+ "github.com/elastic/elastic-agent-libs/transport/tlscommon"
25
26
)
26
27
28
+ func init () {
29
+ tlscommon .SetInsecureDefaults ()
30
+ }
31
+
27
32
func main () {
28
33
rootCmd := beatcmd .NewRootCommand (beatcmd.BeatParams {
29
34
NewRunner : func (args beatcmd.RunnerParams ) (beatcmd.Runner , error ) {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
10
10
github.com/elastic/apm-data v1.14.3
11
11
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20241210105910-57966ef5606f
12
12
github.com/elastic/elastic-agent-client/v7 v7.17.0
13
- github.com/elastic/elastic-agent-libs v0.17.4
13
+ github.com/elastic/elastic-agent-libs v0.17.5
14
14
github.com/elastic/elastic-agent-system-metrics v0.11.5
15
15
github.com/elastic/gmux v0.3.2
16
16
github.com/elastic/go-docappender/v2 v2.3.2
Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ github.com/elastic/elastic-agent-autodiscover v0.9.0 h1:+iWIKh0u3e8I+CJa3FfWe9h0
144
144
github.com/elastic/elastic-agent-autodiscover v0.9.0 /go.mod h1:5iUxLHhVdaGSWYTveSwfJEY4RqPXTG13LPiFoxcpFd4 =
145
145
github.com/elastic/elastic-agent-client/v7 v7.17.0 h1:TPLrEHF4kJ3RkmQzZPffrniY4WeW4vriHZbOAzM1hFo =
146
146
github.com/elastic/elastic-agent-client/v7 v7.17.0 /go.mod h1:6h+f9QdIr3GO2ODC0Y8+aEXRwzbA5W4eV4dd/67z7nI =
147
- github.com/elastic/elastic-agent-libs v0.17.4 h1:kWK5Kn2EQjM97yHqbeXv+cFAIti4IiI9Qj8huM+lZzE =
148
- github.com/elastic/elastic-agent-libs v0.17.4 /go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M =
147
+ github.com/elastic/elastic-agent-libs v0.17.5 h1:oyv5BohMia+49tZnsOmTyRWp5LoZbH8iOmGa7c4TqTs =
148
+ github.com/elastic/elastic-agent-libs v0.17.5 /go.mod h1:5CR02awPrBr+tfmjBBK+JI+dMmHNQjpVY24J0wjbC7M =
149
149
github.com/elastic/elastic-agent-system-metrics v0.11.5 h1:JSjXFEn8uYZ9hoC/GxZNMgJ622UoP96sjYP/49/Uvuo =
150
150
github.com/elastic/elastic-agent-system-metrics v0.11.5 /go.mod h1:nzkrGajQA29YNcfP62gfzhxX9an3/xdQ3RmfQNw9YTI =
151
151
github.com/elastic/elastic-transport-go/v8 v8.6.0 h1:Y2S/FBjx1LlCv5m6pWAF2kDJAHoSjSRSJCApolgfthA =
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
"github.com/elastic/elastic-agent-libs/logp"
24
24
"github.com/elastic/elastic-agent-libs/monitoring"
25
25
"github.com/elastic/elastic-agent-libs/paths"
26
+ "github.com/elastic/elastic-agent-libs/transport/tlscommon"
26
27
27
28
"github.com/elastic/apm-data/model/modelpb"
28
29
"github.com/elastic/apm-data/model/modelprocessor"
54
55
)
55
56
56
57
func init () {
58
+ tlscommon .SetInsecureDefaults ()
59
+
57
60
management .ConfigTransform .SetTransform (
58
61
func (unit * proto.UnitExpectedConfig , agentInfo * client.AgentInfo ) ([]* reload.ConfigWithMeta , error ) {
59
62
// NOTE(axw) we intentionally do not log the entire config here,
You can’t perform that action at this time.
0 commit comments