template syntax fixes (#4711)

patch-1
Sandeep Singh 2022-06-30 16:49:17 +05:30 committed by GitHub
parent 4d6990ae82
commit 6f6909cb38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 13 deletions

View File

@ -31,7 +31,6 @@ requests:
- "IIS/6.0"
- type: dsl
part: header
dsl:
- regex("<DAV:sql>", dasl) # lowercase header name: DASL
- regex("[\d]+(,\s+[\d]+)?", dav) # lowercase header name: DAV
@ -42,4 +41,5 @@ requests:
- type: status
status:
- 200
# Enhanced by mp on 2022/05/11

View File

@ -27,13 +27,12 @@ requests:
matchers:
- type: dsl
dsl:
- "contains((body_1), 'Probe #1') && contains((body_2), '<span>Configuration Requests Sent</span>')"
part: body
- "contains(body_1, 'Probe #1') && contains(body_2, '<span>Configuration Requests Sent</span>')"
- type: word
part: body
words:
- "prtg_network_monitor"
part: body
- type: status
status:

View File

@ -36,7 +36,6 @@ requests:
matchers-condition: and
matchers:
- type: dsl
part: body
dsl:
- compare_versions(buildnumber, '< 6121')

View File

@ -25,7 +25,6 @@ requests:
- 200
- type: dsl
part: header
dsl:
- "contains(tolower(all_headers), 'content-type: application/javascript')"
@ -49,5 +48,5 @@ requests:
- "Bootstrap"
- "jQuery"
- "CSS TRANSITION SUPPORT"
negative: true
condition: or
negative: true

View File

@ -19,11 +19,9 @@ requests:
- contains(tolower(all_headers), 'x-amz-request')
- contains(tolower(all_headers), 'x-amz-id')
- contains(tolower(all_headers), 'amazons3')
part: header
condition: or
- type: dsl
dsl:
- contains(tolower(all_headers), 'x-guploader-uploadid')
part: header
negative: true

View File

@ -21,5 +21,4 @@ requests:
- contains(tolower(all_headers), 'x-goog-stored-content-encoding')
- contains(tolower(all_headers), 'x-goog-stored-content-length')
- contains(tolower(all_headers), 'x-guploader-uploadid')
part: header
condition: or

View File

@ -28,7 +28,6 @@ requests:
condition: and
- type: dsl
part: header
dsl:
- contains(tolower(content_type), 'application/xml')
- contains(tolower(content_type), 'text/xml')

View File

@ -24,14 +24,14 @@ requests:
matchers-condition: and
matchers:
- type: word
part: header
words:
- "filename=QH.aspx"
- "application/zip"
part: header
condition: and
- type: word
regex:
words:
- "QH.aspx.cs"
- "QiHang.Media.Web.QH"
condition: and