File tree Expand file tree Collapse file tree
appsec/src/helper/subscriber Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ class waf_builder {
6868 diagnostics = parameter::map ();
6969 for (const auto &added : cs.added ) {
7070 const remote_config::parsed_config_key &key = added.first ;
71- if (key. product () == remote_config::known_products::ASM_DD &&
72- using_default_rules_ ) {
71+ if (using_default_rules_ &&
72+ key. product () == remote_config::known_products::ASM_DD ) {
7373 remove_default_config ();
7474 }
7575
@@ -79,9 +79,9 @@ class waf_builder {
7979 &these_diags);
8080 diagnostics.merge (std::move (these_diags));
8181 if (res) {
82- SPDLOG_DEBUG (" Added config: {}" , key.full_key ());
82+ SPDLOG_DEBUG (" Added/updated config: {}" , key.full_key ());
8383 } else {
84- SPDLOG_WARN (" Failed to add config: {}" , key.full_key ());
84+ SPDLOG_WARN (" Failed to add/update config: {}" , key.full_key ());
8585 }
8686 }
8787
You can’t perform that action at this time.
0 commit comments