Update jsf-detection.yaml

patch-1
Prince Chaddha 2022-01-29 10:31:15 +05:30 committed by GitHub
parent a7998e62e9
commit 46aa552e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 5 deletions

View File

@ -14,9 +14,23 @@ requests:
redirects: true
max-redirects: 2
matchers-condition: or
matchers:
- type: word
words:
- "javax.faces.resource"
- "javax.faces.ViewState"
condition: or
- type: dsl
name: javafaces
dsl:
- "(contains(tolower(body), 'javax.faces.resource') || contains(tolower(body), 'javax.faces.ViewState'))"
- type: dsl
name: primefaces
dsl:
- "contains(tolower(body), 'primefaces')"
- "contains(tolower(body), 'javax.faces.resource') || contains(tolower(body), 'javax.faces.ViewState')"
condition: and
- type: dsl
name: richfaces
dsl:
- "contains(tolower(body), 'richfaces')"
- "contains(tolower(body), 'javax.faces.resource') || contains(tolower(body), 'javax.faces.ViewState')"
condition: and