diff --git a/technologies/jsf-detection.yaml b/technologies/jsf-detection.yaml index f6ce2943b5..dabca8aabe 100644 --- a/technologies/jsf-detection.yaml +++ b/technologies/jsf-detection.yaml @@ -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