forked from OISF/suricata-verify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25d1b08
commit 6637295
Showing
33 changed files
with
220 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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"GET"; sid:1;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- a.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"POST"; sid:2;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- b.rule |
Empty file.
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 @@ | ||
alert http any any -> any any (flowbits:set,c; http.method; content:"POST"; sid:3;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- c.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,d; http.method; content:"POST"; sid:4;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- d.rule |
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,39 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
multi-detect: | ||
enabled: yes | ||
selector: vlan | ||
loaders: 4 | ||
|
||
tenants: | ||
- tenant: | ||
id: 1 | ||
yaml: a.yaml | ||
- tenant: | ||
id: 2 | ||
yaml: b.yaml | ||
- tenant: | ||
id: 3 | ||
yaml: c.yaml | ||
- tenant: | ||
id: 4 | ||
yaml: d.yaml | ||
|
||
mappings: | ||
- vlan: | ||
vlan-id: 1000 | ||
tenant-id: 1 | ||
- vlan: | ||
vlan-id: 2000 | ||
tenant-id: 2 | ||
- vlan: | ||
vlan-id: 1112 | ||
tenant-id: 3 | ||
- vlan: | ||
vlan-id: 1111 | ||
tenant-id: 4 | ||
|
||
engine-analysis: | ||
rules-fast-pattern: yes | ||
rules: yes |
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,11 @@ | ||
requires: | ||
pcap: false | ||
|
||
args: | ||
- --set multi-detect.config-path=${TEST_DIR} | ||
- --set multi-detect.1.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.2.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.3.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.4.default-rule-path=${TEST_DIR} | ||
- --engine-analysis | ||
- -vv |
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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"GET"; sid:1;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- a.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"POST"; sid:2;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- b.rule |
Empty file.
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 @@ | ||
alert http any any -> any any (flowbits:set,c; http.method; content:"POST"; sid:3;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- c.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,d; http.method; content:"POST"; sid:4;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- d.rule |
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,39 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
multi-detect: | ||
enabled: yes | ||
selector: vlan | ||
loaders: 4 | ||
|
||
tenants: | ||
- tenant: | ||
id: 1 | ||
yaml: a.yaml | ||
- tenant: | ||
id: 2 | ||
yaml: b.yaml | ||
- tenant: | ||
id: 3 | ||
yaml: c.yaml | ||
- tenant: | ||
id: 4 | ||
yaml: d.yaml | ||
|
||
mappings: | ||
- vlan: | ||
vlan-id: 1000 | ||
tenant-id: 1 | ||
- vlan: | ||
vlan-id: 2000 | ||
tenant-id: 2 | ||
- vlan: | ||
vlan-id: 1112 | ||
tenant-id: 3 | ||
- vlan: | ||
vlan-id: 1111 | ||
tenant-id: 4 | ||
|
||
engine-analysis: | ||
rules-fast-pattern: yes | ||
rules: yes |
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,11 @@ | ||
requires: | ||
pcap: false | ||
|
||
args: | ||
- --set multi-detect.config-path=${TEST_DIR} | ||
- --set multi-detect.1.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.2.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.3.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.4.default-rule-path=${TEST_DIR} | ||
- -T | ||
- -vv |
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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"GET"; sid:1;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- a.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,a; http.method; content:"POST"; sid:2;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- b.rule |
Empty file.
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 @@ | ||
alert http any any -> any any (flowbits:set,c; http.method; content:"POST"; sid:3;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- c.rule |
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 @@ | ||
alert http any any -> any any (flowbits:set,d; http.method; content:"POST"; sid:4;) |
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,5 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
rule-files: | ||
- d.rule |
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,39 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
multi-detect: | ||
enabled: yes | ||
selector: vlan | ||
loaders: 4 | ||
|
||
tenants: | ||
- tenant: | ||
id: 1 | ||
yaml: a.yaml | ||
- tenant: | ||
id: 2 | ||
yaml: b.yaml | ||
- tenant: | ||
id: 3 | ||
yaml: c.yaml | ||
- tenant: | ||
id: 4 | ||
yaml: d.yaml | ||
|
||
mappings: | ||
- vlan: | ||
vlan-id: 1000 | ||
tenant-id: 1 | ||
- vlan: | ||
vlan-id: 2000 | ||
tenant-id: 2 | ||
- vlan: | ||
vlan-id: 1112 | ||
tenant-id: 3 | ||
- vlan: | ||
vlan-id: 1111 | ||
tenant-id: 4 | ||
|
||
engine-analysis: | ||
rules-fast-pattern: yes | ||
rules: yes |
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,9 @@ | ||
pcap: ../filestore-filecontainer-http/filecontainer-http.pcap | ||
|
||
args: | ||
- --set multi-detect.config-path=${TEST_DIR} | ||
- --set multi-detect.1.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.2.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.3.default-rule-path=${TEST_DIR} | ||
- --set multi-detect.4.default-rule-path=${TEST_DIR} | ||
- -vv |