Skip to content

Render WAF statistics

Mark Florian requested to merge 14707-add-threat-monitoring-charts-ee into master

What does this MR do?

Part of WAF statistics reporting.

This adds a WAF statistics summary component and a chart for viewing the history of WAF traffic.

In addition, this:

  • Updates the expected response structure from the WAF statistics endpoint, according to the latest from !19789 (closed).
  • Removes the link from the popover per this discussion.
  • Removes pushing the threat_monitoring feature flag to the frontend, since it wasn't being read anyway, and the controller itself is guarded behind the flag, which is sufficient.

This work lives behind the disabled-by-default threat_monitoring feature flag.

Screenshots

These were created by applying this patch to mock the endpoint responses, and also enabling the threat_monitoring feature flag.

Context Before After
Page page_before page_updated
Popover popover_before popover

Loading/loaded states

Loading Loaded
loading_with_patch page_updated

Demo video

threat_monitoring_updated-clipped

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Rémy Coutable

Merge request reports