diff --git a/build b/build index 9d60796..3cacc0b 100644 --- a/build +++ b/build @@ -1 +1 @@ -11 \ No newline at end of file +12 \ No newline at end of file diff --git a/src/framework/ConfigurationValidator.cpp b/src/framework/ConfigurationValidator.cpp index 85ba6b3..42f0831 100644 --- a/src/framework/ConfigurationValidator.cpp +++ b/src/framework/ConfigurationValidator.cpp @@ -3092,6 +3092,20 @@ static std::string DefaultUCentralSchema = R"foo( } } }, + "metrics.wifi-scan": { + "type": "object", + "properties": { + "interval": { + "type": "integer" + }, + "verbose": { + "type": "boolean" + }, + "information-elements": { + "type": "boolean" + } + } + }, "metrics.telemetry": { "type": "object", "properties": { @@ -3101,7 +3115,22 @@ static std::string DefaultUCentralSchema = R"foo( "types": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "ssh", + "health", + "health.dns", + "health.dhcp", + "health.radius", + "health.memory", + "client", + "client.join", + "client.leave", + "client.key-mismatch", + "wifi", + "wifi.start", + "wifi.stop" + ] } } } @@ -3112,7 +3141,22 @@ static std::string DefaultUCentralSchema = R"foo( "types": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "ssh", + "health", + "health.dns", + "health.dhcp", + "health.radius", + "health.memory", + "client", + "client.join", + "client.leave", + "client.key-mismatch", + "wifi", + "wifi.start", + "wifi.stop" + ] } } } @@ -3132,6 +3176,9 @@ static std::string DefaultUCentralSchema = R"foo( "dhcp-snooping": { "$ref": "#/$defs/metrics.dhcp-snooping" }, + "wifi-scan": { + "$ref": "#/$defs/metrics.wifi-scan" + }, "telemetry": { "$ref": "#/$defs/metrics.telemetry" },