Skip to content

Commit

Permalink
remove 933210 wrong testcase (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-1998 authored and Pterosaur committed Nov 18, 2019
1 parent 0555079 commit 5a09392
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 40 deletions.
6 changes: 3 additions & 3 deletions util/regression-test/crs-v3.2/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Test cases CRS V3.2 for test)
# Test cases CRS V3.2 (for test)

## Test cases summary

Total test cases: 86
Total test cases: 85
Coverage: 3 supported rules

|rule_id|type|white-box count|black-box count|
|-------|----|------|------|
|933200|METHOD-ENFORCEMENT|40|40|
|933210|SCANNER-DETECTION|6|6|
|933210|SCANNER-DETECTION|5|5|
|941360|SCANNER-DETECTION|40|40|
22 changes: 3 additions & 19 deletions util/regression-test/crs-v3.2/black-box/933210.auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,6 @@ tests:
status:
- 403
test_title: 933210-2-auto
- stages:
- stage:
input:
dest_addr: 127.0.0.1
headers:
Cookie: a=1
Host: localhost
method: GET
port: 80
protocol: http
uri: /(/**/system)(ls/**/);
version: HTTP/1.1
output:
status:
- 403
test_title: 933210-3-auto
- stages:
- stage:
input:
Expand All @@ -67,7 +51,7 @@ tests:
output:
status:
- 403
test_title: 933210-4-auto
test_title: 933210-3-auto
- stages:
- stage:
input:
Expand All @@ -83,7 +67,7 @@ tests:
output:
status:
- 403
test_title: 933210-5-auto
test_title: 933210-4-auto
- stages:
- stage:
input:
Expand All @@ -101,5 +85,5 @@ tests:
output:
status:
- 403
test_title: 933210-6-auto
test_title: 933210-5-auto

21 changes: 3 additions & 18 deletions util/regression-test/crs-v3.2/white-box/933210.auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@ tests:
output:
log_contains: id "933210"
test_title: 933210-2-auto
- stages:
- stage:
input:
dest_addr: 127.0.0.1
headers:
Cookie: a=1
Host: localhost
method: GET
uri: /(/**/system)(ls/**/);
port: 80
protocol: http
version: HTTP/1.1
output:
log_contains: id "933210"
test_title: 933210-3-auto
- stages:
- stage:
input:
Expand All @@ -63,7 +48,7 @@ tests:
version: HTTP/1.1
output:
log_contains: id "933210"
test_title: 933210-4-auto
test_title: 933210-3-auto
- stages:
- stage:
input:
Expand All @@ -78,7 +63,7 @@ tests:
version: HTTP/1.1
output:
log_contains: id "933210"
test_title: 933210-5-auto
test_title: 933210-4-auto
- stages:
- stage:
input:
Expand All @@ -95,5 +80,5 @@ tests:
version: HTTP/1.1
output:
log_contains: id "933210"
test_title: 933210-6-auto
test_title: 933210-5-auto

0 comments on commit 5a09392

Please sign in to comment.