misc update

patch-1
sandeep 2021-09-30 20:41:48 +05:30
parent 5ee5fb19a2
commit 68ab23eb62
1 changed files with 6 additions and 6 deletions

View File

@ -27,24 +27,24 @@ requests:
matchers-condition: or
matchers:
- type: word
name: "CSRFGuard version 3.x"
name: "CSRFGuard-v3.x"
words:
- "FETCH-CSRF-TOKEN"
- type: word
name: "CSRFGuard version 4.x"
name: "CSRFGuard-v4.x"
words:
- "masterTokenValue"
- type: dsl
name: "Token-per-page support is not enabled."
name: "Disabled-token-per-page"
condition: and
dsl:
- 'status_code_3==400'
- 'contains(body, "Token-Per-Page functionality is disabled")'
- type: dsl
name: "Token-per-page support is enabled."
name: "Enabled-token-per-page"
condition: and
dsl:
- 'status_code_3==200'
@ -61,11 +61,11 @@ requests:
- type: regex
group: 1
name: "Master Token"
name: "master-token"
regex:
- "(?:masterTokenValue\\s*=\\s*')([^']+)';"
- type: json
name: Page tokens
name: "page-token"
json:
- '.pageTokens'