Skip to main content
HackGATE’s managed proxy runs ModSecurity as its Web Application Firewall. These endpoints expose WAF telemetry so you can track which rules fired, which attack categories were detected, and how WAF activity changed over time. Use them to distinguish between genuine attack patterns and researcher noise during an engagement. All WAF analytics endpoints require a valid Bearer token in the Authorization header.

Common query parameters

url
string
required
The hackgatedName of the HackGATE site to query.
gte
string
required
Start of the time range as an ISO 8601 date-time string (for example, 2025-07-01T00:00:00Z).
lte
string
required
End of the time range as an ISO 8601 date-time string (for example, 2025-07-14T23:59:59Z).

GET /api/analytics/getWAFMessages

GET https://api-admin.hackgate.io/api/analytics/getWAFMessages
Returns the individual ModSecurity rule messages triggered on the site within the time range. Each record represents a rule match, including the rule ID, message, and the request that triggered it.
curl "https://api-admin.hackgate.io/api/analytics/getWAFMessages?url=my-site&gte=2025-07-01T00:00:00Z&lte=2025-07-14T23:59:59Z" \
  -H "Authorization: Bearer <token>"