From 0b7c12951c2d42eec70bf38cbefea2da604167b7 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Fri, 17 Sep 2021 13:13:40 +0530 Subject: [PATCH] Update php-warning.yaml --- exposures/logs/php-warning.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exposures/logs/php-warning.yaml b/exposures/logs/php-warning.yaml index 3c452bdb59..51ee2cd270 100644 --- a/exposures/logs/php-warning.yaml +++ b/exposures/logs/php-warning.yaml @@ -12,11 +12,11 @@ requests: path: - '{{BaseURL}}' - matchers-condition: and + matchers-condition: or matchers: - - type: word - words: - - 'PHP warning' + - type: regex + regex: + - '(?m)^([a-z /A-Z.(0-9):]+)?PHP warning([a-z /A-Z.(0-9):]+)?<\/title>$' - type: status status: