diff --git a/src/framework/ConfigurationValidator.cpp b/src/framework/ConfigurationValidator.cpp index 06cb469d..4391d879 100644 --- a/src/framework/ConfigurationValidator.cpp +++ b/src/framework/ConfigurationValidator.cpp @@ -376,18 +376,21 @@ static std::string DefaultAPSchema = R"foo( "properties": { "port-mirror": { "description": "Enable mirror of traffic from multiple minotor ports to a single analysis port.", - "type": "object", - "properties": { - "monitor-ports": { - "description": "The list of ports that we want to mirror.", - "type": "array", - "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "monitor-ports": { + "description": "The list of ports that we want to mirror.", + "type": "array", + "items": { + "type": "string" + } + }, + "analysis-port": { + "description": "The port that mirror'ed packets should be sent to.", "type": "string" } - }, - "analysis-port": { - "description": "The port that mirror'ed packets should be sent to.", - "type": "string" } } },