From bbcaf74fa73a46f01d1d09a3d64cb790802caebc Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:54:50 -0800 Subject: [PATCH] added https as a default macro (#1680) * added https as a default macro * small syntax fix --- config/configStructs/tapConfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index 4e9fea74e..d58c37e3c 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -252,7 +252,7 @@ type TapConfig struct { Capabilities CapabilitiesConfig `yaml:"capabilities" json:"capabilities"` GlobalFilter string `yaml:"globalFilter" json:"globalFilter" default:""` EnabledDissectors []string `yaml:"enabledDissectors" json:"enabledDissectors"` - CustomMacros map[string]string `yaml:"customMacros" json:"customMacros"` + CustomMacros map[string]string `yaml:"customMacros" json:"customMacros" default:"{\"https\":\"tls and http\"}"` Metrics MetricsConfig `yaml:"metrics" json:"metrics"` Pprof PprofConfig `yaml:"pprof" json:"pprof"` Misc MiscConfig `yaml:"misc" json:"misc"`