mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
changes to schema updater
This commit is contained in:
parent
bc3359a1c1
commit
331c24acb0
@ -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<BufferedParser<ParserJson>>(
|
||||
*this,
|
||||
NULL,
|
||||
should_collect_for_oa_schema_updater,
|
||||
parser_depth + 1
|
||||
));
|
||||
offset = 0;
|
||||
|
@ -256,6 +256,11 @@ void WaapConfigBase::loadOpenRedirectPolicy(cereal::JSONInputArchive& ar)
|
||||
|
||||
|
||||
|
||||
const list<shared_ptr<OpenApiParser>> WaapConfigBase::get_OpenAPIParsers() const
|
||||
{
|
||||
return m_openApiParsers;
|
||||
}
|
||||
|
||||
const std::vector<std::string> &
|
||||
WaapConfigBase::get_applicationUrls() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user