Overview
Currently, CasWAF metrics and reporting features rely on specific SQL syntax for timestamp manipulation, which varies significantly between database providers (MySQL, PostgreSQL, MSSQL, and SQLite).
When a user visits the URL: http://localhost:17000/dashboard of the CasWAF instance running on a PostgreSQL database - will see errors:
pq: function unix_timestamp(character varying) does not exist
pq: function unix_timestamp(character varying) does not exist
pq: function date_format(character varying, unknown) does not exist
pq: function unix_timestamp(character varying) does not exist