Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/detect-vlan-id/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PCAP
====

Pcap created with scapy
Binary file added tests/detect-vlan-id/input.pcap
Binary file not shown.
1 change: 1 addition & 0 deletions tests/detect-vlan-id/test.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert ip any any -> any any (msg:"Vlan ID is equal to 300"; vlan.id:300; sid:1;)
12 changes: 12 additions & 0 deletions tests/detect-vlan-id/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
requires:
min-version: 7

args:
- -k none

checks:
- filter:
count: 1
match:
event_type: alert
alert.signature_id: 1