updated matchers
parent
8d58be1b87
commit
5bebea33d4
|
@ -9,17 +9,25 @@ info:
|
||||||
- https://www.ibm.com/products/api-connect/developer-portal
|
- https://www.ibm.com/products/api-connect/developer-portal
|
||||||
metadata:
|
metadata:
|
||||||
max-request: 1
|
max-request: 1
|
||||||
tags: panel,ibm,detect,login
|
tags: panel,ibm,api,detect,login
|
||||||
|
|
||||||
http:
|
http:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- '{{BaseURL}}/auth/manager/sign-in/'
|
- '{{BaseURL}}/auth/manager/sign-in/'
|
||||||
|
- '{{BaseURL}}'
|
||||||
|
|
||||||
|
stop-at-first-match: true
|
||||||
|
host-redirects: true
|
||||||
|
max-redirects: 2
|
||||||
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: dsl
|
- type: dsl
|
||||||
dsl:
|
dsl:
|
||||||
- 'status_code == 200'
|
- 'status_code == 200 || status_code == 404'
|
||||||
- 'contains(to_lower(body), "ibm api connect")'
|
|
||||||
- 'contains(to_lower(body), "window.apiconnectcfg")'
|
- type: dsl
|
||||||
condition: and
|
dsl:
|
||||||
|
- 'contains_any(to_lower(body), "content=\"ibm api connect", "ibm api connect</title>")'
|
||||||
|
- 'contains_all(to_lower(body), "window.apiConnectCfg", "ibm-cloud", "<title>api connect")'
|
||||||
|
condition: or
|
||||||
|
|
Loading…
Reference in New Issue