Project

General

Profile

Actions

Bug #5477

open

Json schema doesn't support thread stats

Added by Juliana Fajardini Reichow over 2 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Currently, if we enable thread stats for eve.json, many SV tests will fail with messages like:

===> dcerpc-3109: FAILED: Invalid JSON schema
/home/jufajardini/Workspace/OISF/suricata-verify/tests/dcerpc/dce-logging/output/eve.json - INVALID. Errors:
1./stats Additional properties are not allowed ('threads' was unexpected)
===> dcerpc-smb-test-01: FAILED: Invalid JSON schema

We must add threads to etc/schema.json

Get started: do as for stats_applayer_error to avoid repeating the same pattern.

Actions

Also available in: Atom PDF