diff --git a/components/security_apps/waap/waap_clib/DeepParser.cc b/components/security_apps/waap/waap_clib/DeepParser.cc index 0ab840f..d331cfa 100755 --- a/components/security_apps/waap/waap_clib/DeepParser.cc +++ b/components/security_apps/waap/waap_clib/DeepParser.cc @@ -1121,11 +1121,12 @@ DeepParser::createInternalParser( dbgTrace(D_WAAP_DEEP_PARSER) << "Starting to parse a JSON file"; // Send openApiReceiver as secondary receiver, // but only if the JSON is passed in body and on the top level. + bool should_collect_for_oa_schema_updater = false; m_parsersDeque.push_back( std::make_shared>( *this, - NULL, + should_collect_for_oa_schema_updater, parser_depth + 1 )); offset = 0; diff --git a/components/security_apps/waap/waap_clib/WaapConfigBase.cc b/components/security_apps/waap/waap_clib/WaapConfigBase.cc index 7cf80e7..b410b2c 100755 --- a/components/security_apps/waap/waap_clib/WaapConfigBase.cc +++ b/components/security_apps/waap/waap_clib/WaapConfigBase.cc @@ -256,6 +256,11 @@ void WaapConfigBase::loadOpenRedirectPolicy(cereal::JSONInputArchive& ar) +const list> WaapConfigBase::get_OpenAPIParsers() const +{ + return m_openApiParsers; +} + const std::vector & WaapConfigBase::get_applicationUrls() const {