Project

General

Profile

Actions

Bug #5477

open

Json schema doesn't support thread stats

Added by Juliana Fajardini Reichow over 2 years ago. Updated 10 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 #1

Updated by Juliana Fajardini Reichow about 2 years ago

to remember: schema file is under etc/schema.json

Actions #2

Updated by Victor Julien 10 months ago

  • Assignee changed from Juliana Fajardini Reichow to OISF Dev
Actions

Also available in: Atom PDF