-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runmodes: suricata hint missing runmode
Ticket: #5711
- Loading branch information
1 parent
f1d0e54
commit 5928d87
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Suricata Missing Runmode Issue | ||
|
||
This repository contains test files and documentation for addressing the "Missing runmode" issue 5711 in Suricata. | ||
|
||
## Issue Description | ||
|
||
The issue relates to Suricata not providing adequate feedback when the runmode is missing, leading to confusion for users. | ||
|
||
## Test Files | ||
|
||
- `test.yaml`: This file defines a verification test that checks for the "Missing runmode" error. | ||
- `runmode_test`: A directory where you can place any necessary configuration files or rules for the test. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
requires: | ||
min-version: 7.0.0 | ||
pcap: false | ||
|
||
checks: | ||
- shell: | ||
args: suricata | ||
expect: 1 # Expect an exit code of 1, indicating an error | ||
expect-output: "ERROR: Missing runmode" # Verify that the error message is present | ||
|