Update CVE-2020-26214.yaml

patch-1
Prince Chaddha 2022-07-13 23:08:07 +05:30 committed by GitHub
parent e4c575cdc4
commit 328b63837f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 16 deletions

View File

@ -22,24 +22,8 @@ requests:
path: path:
- '{{BaseURL}}/api/config' - '{{BaseURL}}/api/config'
extractors:
- type: regex
name: version
internal: true
group: 1
regex:
- '"name": "Alerta ([0-9.]+)"'
- type: regex
group: 1
regex:
- '"name": "Alerta ([0-9.]+)"'
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: status
status:
- 200
- type: word - type: word
part: body part: body
@ -53,4 +37,16 @@ requests:
dsl: dsl:
- compare_versions(version, '< 8.1.0') - compare_versions(version, '< 8.1.0')
- type: status
status:
- 200
extractors:
- type: regex
name: version
internal: true
group: 1
regex:
- '"name": "Alerta ([0-9.]+)"'
# Enhanced by mp on 2022/04/22 # Enhanced by mp on 2022/04/22