Skip to content

Commit

Permalink
Update 9504120.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
azurit authored Jan 17, 2025
1 parent f10983d commit 579809e
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions tests/regression/fake-bot-plugin/9504120.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,7 @@ tests:
uri: /get
output:
log_contains: id "9504120"
# - test_title: 9504120-3
# desc: Check for blocking of fake Facebookbot
# stages:
# - stage:
# input:
# dest_addr: 127.0.0.1
# headers:
# Host: localhost
# User-Agent: "OWASP CRS test agent: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
# Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
# port: 80
# method: GET
# version: HTTP/1.1
# uri: /get
# output:
# log_contains: id "9504120"
- test_title: 9504120-4
- test_title: 9504120-3
desc: Check for blocking of fake Bingbot
stages:
- stage:
Expand All @@ -69,7 +53,7 @@ tests:
uri: /get
output:
log_contains: id "9504120"
- test_title: 9504120-5
- test_title: 9504120-4
desc: Check for blocking of fake Twitterbot
stages:
- stage:
Expand All @@ -85,7 +69,7 @@ tests:
uri: /get
output:
log_contains: id "9504120"
- test_title: 9504120-6
- test_title: 9504120-5
desc: Check for blocking of fake Applebot
stages:
- stage:
Expand All @@ -101,7 +85,7 @@ tests:
uri: /get
output:
log_contains: id "9504120"
- test_title: 9504120-7
- test_title: 9504120-6
desc: Check for blocking of fake LinkedInBot
stages:
- stage:
Expand All @@ -117,7 +101,7 @@ tests:
uri: /get
output:
log_contains: id "9504120"
- test_title: 9504120-8
- test_title: 9504120-7
desc: Check for blocking of fake Amazonbot
stages:
- stage:
Expand Down

0 comments on commit 579809e

Please sign in to comment.