template syntax fixes (#4711)
parent
4d6990ae82
commit
6f6909cb38
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -36,7 +36,6 @@ requests:
|
|||
matchers-condition: and
|
||||
matchers:
|
||||
- type: dsl
|
||||
part: body
|
||||
dsl:
|
||||
- compare_versions(buildnumber, '< 6121')
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -28,7 +28,6 @@ requests:
|
|||
condition: and
|
||||
|
||||
- type: dsl
|
||||
part: header
|
||||
dsl:
|
||||
- contains(tolower(content_type), 'application/xml')
|
||||
- contains(tolower(content_type), 'text/xml')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue