From dd8f2e3400f5cba4453bfbe73190ac29995fd58d Mon Sep 17 00:00:00 2001 From: bui Date: Tue, 2 Jan 2024 17:33:02 +0100 Subject: [PATCH] enable context sending when you enroll into the console --- cmd/crowdsec-cli/console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crowdsec-cli/console.go b/cmd/crowdsec-cli/console.go index adba5305a..e149fc383 100644 --- a/cmd/crowdsec-cli/console.go +++ b/cmd/crowdsec-cli/console.go @@ -100,7 +100,7 @@ After running this command your will need to validate the enrollment in the weba return nil } - if err := SetConsoleOpts([]string{csconfig.SEND_MANUAL_SCENARIOS, csconfig.SEND_TAINTED_SCENARIOS}, true); err != nil { + if err := SetConsoleOpts([]string{csconfig.SEND_MANUAL_SCENARIOS, csconfig.SEND_TAINTED_SCENARIOS, csconfig.SEND_CONTEXT}, true); err != nil { return err }