File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
modules-config/validations Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package config
33import (
44 "context"
55 "fmt"
6- "log"
76 "strings"
87 sync "sync"
98 "time"
@@ -133,7 +132,7 @@ func StartConfigurationSystem() {
133132
134133 switch message := in .Payload .(type ) {
135134 case * BiDirectionalMessage_Config :
136- log . Printf ("Received configuration update: %v " , message .Config )
135+ catcher . Info ("Received configuration update" , map [ string ] any { "config" : message .Config } )
137136 cnf = message .Config
138137 }
139138 }
Original file line number Diff line number Diff line change @@ -109,13 +109,13 @@ func getCrowdStrikeProcessor(group *config.ModuleGroup) CrowdStrikeProcessor {
109109
110110 for _ , cnf := range group .ModuleGroupConfigurations {
111111 switch cnf .ConfKey {
112- case "client_id " :
112+ case "crowdstrike_client_id " :
113113 processor .ClientID = cnf .ConfValue
114- case "client_secret " :
114+ case "crowdstrike_client_secret " :
115115 processor .ClientSecret = cnf .ConfValue
116- case "cloud " :
116+ case "crowdstrike_cloud_region_url " :
117117 processor .Cloud = cnf .ConfValue
118- case "app_name " :
118+ case "crowdstrike_app_name " :
119119 processor .AppName = cnf .ConfValue
120120 }
121121 }
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ func ValidateCrowdstrikeConfig(config *config.ModuleGroup) error {
1919
2020 for _ , cnf := range config .ModuleGroupConfigurations {
2121 switch cnf .ConfKey {
22- case "client_id " :
22+ case "crowdstrike_client_id " :
2323 clientID = cnf .ConfValue
24- case "client_secret " :
24+ case "crowdstrike_client_secret " :
2525 clientSecret = cnf .ConfValue
26- case "cloud " :
26+ case "crowdstrike_cloud_region_url " :
2727 cloud = cnf .ConfValue
28- case "app_name " :
28+ case "crowdstrike_app_name " :
2929 appName = cnf .ConfValue
3030 }
3131 }
You can’t perform that action at this time.
0 commit comments