The only two predicates available to create WAF Rules based on response is headers and status code:

I don't think you are able to do it based on specific message in response code, I would advise opening a support case to confirm that.
Regards,
------------------------------
Sarvesh Lad
Tech Lead @ On-Prem Managed Services (WAF, DAM, DRA & Sonar)
------------------------------
Original Message:
Sent: 05-12-2023 13:33
From: Jose Yero
Subject: Create rule based on response.
Hi Sarvesh.
The mode is Reverse Proxy.
I have mobile apps that have specific response messages and I want to map the events based on that response that comes out in the "Response" tab.

Original Message:
Sent: 05-12-2023 12:03
From: Sarvesh Lad
Subject: Create rule based on response.
What is the deployment mode of the WAF?
------------------------------
Sarvesh Lad
Tech Lead @ On-Prem Managed Services (WAF, DAM, DRA & Sonar)
Original Message:
Sent: 05-12-2023 01:55
From: Jose Yero
Subject: Create rule based on response.
Hi team.
I want to create rules based on the messages that appear in the "Response" tab.
For example rules that detect "Servicio no disponible", does anyone have any idea how to do it?

#On-PremisesWAF(formerlySecuresphere)