Forum Discussion
Custom information in ASM block response pages
Hi, I've to insert some useful information in custom block pages in order to have evidences and build a redirect button (redirect to site's homepage) but I don't know if there are others variables like TS.request.ID().
In detail, reported below, all information that I should extract from the blocked request:
- Support ID (ok, there is TS.request.ID variable)
- Client IP Address
- ASM Block time
- Host requested
Thank you!
1 Reply
- Kimihito
Employee
Hi Eos 01
ASM does not support those variables. You can use iRule event 'ASM_REQUEST_DONE' and check ASM::status to see if there was a violation. And write what you want to sent.
ASM_REQUEST_DONE https://devcentral.f5.com/wiki/iRules.ASM_REQUEST_DONE.ashx
Regards, Kimi
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com