diff --git a/etc/schema.json b/etc/schema.json index 76d88ec4c8fb..0756acd00800 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -4871,6 +4871,9 @@ }, "rules_failed": { "type": "integer" + }, + "rules_skipped": { + "type": "integer" } }, "additionalProperties": false diff --git a/src/output-json-stats.c b/src/output-json-stats.c index 7bfcfc58cad2..718298e48592 100644 --- a/src/output-json-stats.c +++ b/src/output-json-stats.c @@ -98,6 +98,7 @@ static json_t *EngineStats2Json(const DetectEngineCtx *de_ctx, json_integer(sig_stat->good_sigs_total)); json_object_set_new(jdata, "rules_failed", json_integer(sig_stat->bad_sigs_total)); + json_object_set_new(jdata, "rules_skipped", json_integer(sig_stat->skipped_sigs_total)); } return jdata;