From 03a588d65db42f42e784a819ffb6c6f3ceaa38e1 Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Mon, 20 Feb 2023 11:24:12 -0300 Subject: [PATCH] Allow `tls_dump` in agent settings (#9916) This allows for configuring `tls_dump` in the agent settings under `options` and under `command_line_flags`: ![Screenshot 2023-02-17 at 17 01 33](https://user-images.githubusercontent.com/2073526/219781091-af3f8f90-5ed3-4e53-aa3e-edc66750b3d1.png) --- server/fleet/agent_options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/fleet/agent_options.go b/server/fleet/agent_options.go index caae588522..ee9f1c8691 100644 --- a/server/fleet/agent_options.go +++ b/server/fleet/agent_options.go @@ -500,6 +500,7 @@ type OsqueryCommandLineFlagsHidden struct { MinLogLevel int32 `json:"minloglevel"` StopLoggingIfFullDisk bool `json:"stop_logging_if_full_disk"` AllowUnsafe bool `json:"allow_unsafe"` + TLSDump bool `json:"tls_dump"` } // while ValidateJSONAgentOptions validates an entire Agent Options payload,