if (unlikely(js == NULL))
return NULL;
+ json_object_set_new(js, "id", json_integer(sgh->id));
+
json_t *js_array = json_array();
const Signature *s;
sgh->mpm_uricontent_minlen = SigGroupHeadGetMinMpmSize(de_ctx, sgh, DETECT_SM_LIST_UMATCH);
SCLogDebug("http_uri content min mpm len: %u", sgh->mpm_uricontent_minlen);
+
+ sgh->id = idx;
cnt++;
}
SCLogInfo("Unique rule groups: %u", cnt);
* set. */
uint16_t filestore_cnt;
+ uint32_t id; /**< unique id used to index sgh_array for stats */
+
/* pattern matcher instances */
const MpmCtx *mpm_proto_other_ctx;