Skip to content

Commit 89bcece

Browse files
authored
Merge pull request #7 from EsadCetiner/master
chore: migrate to new test format
2 parents edd1340 + 7861ef6 commit 89bcece

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tests/regression/phpbb-plugin/9512100.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ meta:
33
author: "Felipe Zipitria, azurit"
44
description: "phpbb Plugin"
55
enabled: true
6-
name: 9512100.yaml
6+
rule_id: 9512100
77
tests:
8-
- test_title: 9512100-1
8+
- test_id: 1
99
desc: phpbb plugin login
1010
stages:
11-
- stage:
12-
input:
13-
dest_addr: 127.0.0.1
14-
headers:
15-
Host: localhost
16-
User-Agent: "OWASP CRS test agent"
17-
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
18-
port: 80
19-
method: POST
20-
version: HTTP/1.1
21-
uri: /post/ucp.php?mode=login
22-
data: |
23-
redirect=https://localhost
24-
output:
25-
no_log_contains: id "930100"
11+
- input:
12+
dest_addr: 127.0.0.1
13+
headers:
14+
Host: localhost
15+
User-Agent: "OWASP CRS test agent"
16+
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
17+
port: 80
18+
method: POST
19+
version: HTTP/1.1
20+
uri: /post/ucp.php?mode=login
21+
data: |
22+
redirect=https://localhost
23+
output:
24+
log:
25+
no_expect_ids: [930100]

0 commit comments

Comments
 (0)