Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 2a6361d

Browse files
authored
Merge pull request #1559 from airween/v3.2/cleartrails
Remove all trailing spaces from ftw yaml test files
2 parents 128c264 + 8c624f9 commit 2a6361d

File tree

133 files changed

+2393
-2394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+2393
-2394
lines changed

util/docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ services:
7474
- ./RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf:/etc/modsecurity.d/owasp-crs/rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf
7575

7676
#######################################################
77-
# Add TLS server certificate and key
77+
# Add TLS server certificate and key
7878
# (only available if SETPROXY was enabled during the
7979
# parent ModSecurity image)
8080
#######################################################
Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
---
2-
meta:
2+
meta:
33
author: "csanders-git"
44
enabled: true
55
name: "911100.yaml"
66
description: "Description"
7-
tests:
8-
-
7+
tests:
8+
-
99
test_title: 911100-1
10-
stages:
11-
-
12-
stage:
10+
stages:
11+
-
12+
stage:
1313
input:
1414
dest_addr: "127.0.0.1"
1515
port: 80
1616
headers:
1717
User-Agent: "ModSecurity CRS 3 Tests"
1818
Host: "localhost"
19-
output:
19+
output:
2020
no_log_contains: "id \"911100\""
21-
-
21+
-
2222
test_title: 911100-2
23-
stages:
24-
-
25-
stage:
23+
stages:
24+
-
25+
stage:
2626
input:
2727
dest_addr: "127.0.0.1"
2828
port: 80
2929
method: "OPTIONS"
3030
headers:
3131
User-Agent: "ModSecurity CRS 3 Tests"
3232
Host: "localhost"
33-
output:
33+
output:
3434
no_log_contains: "id \"911100\""
35-
-
35+
-
3636
test_title: 911100-3
37-
stages:
38-
-
39-
stage:
37+
stages:
38+
-
39+
stage:
4040
input:
4141
dest_addr: "127.0.0.1"
4242
method: "HEAD"
4343
port: 80
4444
headers:
4545
User-Agent: "ModSecurity CRS 3 Tests"
4646
Host: "localhost"
47-
output:
48-
no_log_contains: "id \"911100\""
49-
-
47+
output:
48+
no_log_contains: "id \"911100\""
49+
-
5050
test_title: 911100-4
51-
stages:
52-
-
53-
stage:
51+
stages:
52+
-
53+
stage:
5454
input:
5555
dest_addr: "127.0.0.1"
5656
method: "POST"
@@ -60,27 +60,27 @@
6060
Host: "localhost"
6161
Content-Type: "application/x-www-form-urlencoded"
6262
data: "test=value"
63-
output:
64-
no_log_contains: "id \"911100\""
65-
-
63+
output:
64+
no_log_contains: "id \"911100\""
65+
-
6666
test_title: 911100-5
67-
stages:
68-
-
69-
stage:
67+
stages:
68+
-
69+
stage:
7070
input:
7171
dest_addr: "127.0.0.1"
7272
method: "TEST"
7373
port: 80
7474
headers:
7575
User-Agent: "ModSecurity CRS 3 Tests"
7676
Host: "localhost"
77-
output:
78-
log_contains: "id \"911100\""
79-
-
77+
output:
78+
log_contains: "id \"911100\""
79+
-
8080
test_title: 911100-6
8181
desc: Method is not allowed by policy (911100) from old modsec regressions
8282
stages:
83-
-
83+
-
8484
stage:
8585
input:
8686
dest_addr: 127.0.0.1
@@ -100,11 +100,11 @@
100100
output:
101101
log_contains: id "911100"
102102

103-
-
103+
-
104104
test_title: 911100-7
105105
desc: Method is not allowed by policy (911100) from old modsec regressions
106106
stages:
107-
-
107+
-
108108
stage:
109109
input:
110110
dest_addr: 127.0.0.1
@@ -124,11 +124,11 @@
124124
output:
125125
log_contains: id "911100"
126126

127-
-
127+
-
128128
test_title: 911100-8
129129
desc: Method is not allowed by policy (911100) from old modsec regressions
130130
stages:
131-
-
131+
-
132132
stage:
133133
input:
134134
dest_addr: 127.0.0.1
@@ -146,4 +146,4 @@
146146
uri: /
147147
version: HTTP/1.0
148148
output:
149-
log_contains: id "911100"
149+
log_contains: id "911100"

util/regression-tests/tests/REQUEST-913-SCANNER-DETECTION/913100.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
enabled: true
66
name: 913100.yaml
77
tests:
8-
-
8+
-
99
test_title: 913100-1
1010
desc: Request Indicates a Security Scanner Scanned the Site (913100) from old modsec regressions
1111
stages:
12-
-
12+
-
1313
stage:
1414
input:
1515
dest_addr: 127.0.0.1
@@ -29,11 +29,11 @@
2929
version: HTTP/1.0
3030
output:
3131
log_contains: id "913100"
32-
-
32+
-
3333
test_title: 913100-2
3434
desc: Request Indicates a Security Scanner Scanned the Site (913100) from old modsec regressions
3535
stages:
36-
-
36+
-
3737
stage:
3838
input:
3939
dest_addr: 127.0.0.1
@@ -53,11 +53,11 @@
5353
output:
5454
log_contains: id "913100"
5555

56-
-
56+
-
5757
test_title: 913100-3
5858
desc: Request Indicates a Security Scanner Scanned the Site (913100) from old modsec regressions
5959
stages:
60-
-
60+
-
6161
stage:
6262
input:
6363
dest_addr: 127.0.0.1

util/regression-tests/tests/REQUEST-913-SCANNER-DETECTION/913110.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
enabled: true
66
name: 913110.yaml
77
tests:
8-
-
8+
-
99
test_title: 913110-1
1010
desc: Request Indicates a Security Scanner Scanned the Site (913110) from old modsec
1111
regressions
1212
stages:
13-
-
13+
-
1414
stage:
1515
input:
1616
dest_addr: 127.0.0.1

util/regression-tests/tests/REQUEST-913-SCANNER-DETECTION/913120.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
enabled: true
66
name: 913120.yaml
77
tests:
8-
-
8+
-
99
test_title: 913120-1
1010
desc: Request Indicates a Security Scanner Scanned the Site (913120) from old modsec
1111
regressions
1212
stages:
13-
-
13+
-
1414
stage:
1515
input:
1616
dest_addr: 127.0.0.1
@@ -44,7 +44,7 @@
4444
uri: /AppScan_fingerprint/MAC_ADDRESS_01234567890.html?9ABCDG1
4545
version: HTTP/1.0
4646
output:
47-
log_contains: id "913120"
47+
log_contains: id "913120"
4848
-
4949
test_title: 913120-3
5050
desc: "Scanner identification based on uri"

0 commit comments

Comments
 (0)