Description | This article describes how to add a Timestamp to the Attack Block Page. |
Scope | FortiWeb, FortiWeb-VM. |
Solution |
To add a timestamp in the Attack block page, it is necessary to modify the replacement page code.
To do that, create a new replacement message (cannot modify the predefined) and then add code to it so it can show the timestamp on the block page.
Navigate to System -> Config -> Replacement Message.
Select Create New, give a name to this message, and select OK.
After that, it will be possible to see the new Menu options below. Then Expand the Security Tab and select the Attack block page. Add the highlighted code in the HTML code of the Attack block page as shown below:
It is possible to Copy/Paste the Below code in the HTML script as well.
<div id="current_date"> <script> </script> </div>
Select Save. Call this replacement message in the Server Policy used for and select OK.
After making these changes, check the attack log page. It will have the Timestamp added to it.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.