Project

General

Profile

Security #8978 » test.yaml

Suricata-Verify test definition - Jason Ish, 08/31/2026 03:14 PM

 
# Characterization test for the missing stream.reassembly.urgent.policy key.
#
# It documents CURRENT behavior and therefore PASSES on affected builds, so it can
# be merged without breaking CI.
#
# The pcap and rules are copied unmodified from the existing tcp-urgp-01-oob test.
# The ONLY difference is this test ships a suricata.yaml that does not set
# stream.reassembly.urgent.policy. Under tcp-urgp-01-oob, which sets oob explicitly,
# all three signatures fire. Here none fire.
#
# AFTER a fix that makes the missing-key fallback oob, change all three expected
# counts from 0 to 1 and this becomes the regression test.

requires:
min-version: 7

args:
- -k none

checks:
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 1000001
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 1000002
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 1000003
(4-4/6)