Find the top sources of WAF threats
List the countries, attack families, and IP addresses that send the most WAF threats to your applications, in Azion Console or with the GraphQL API.
You can find the countries, attack families, and IP addresses that send the most WAF threats in Azion Console or with the GraphQL API. For what each chart on the WAF dashboards measures, refer to Secure dashboards. For the log of each request WAF flagged, refer to Real-Time Events.
Real-Time Metrics reads these numbers from two datasets. The httpMetrics dataset groups the threats by country and by attack family. The httpBreakdownMetrics dataset groups them by the IP address that sent them. Every example on this page covers the last 7 days.
Prerequisites
Console
- An Azion account. To create one, refer to Create an account.
- An application served by a workload, with requests in the last 7 days.
- A firewall that runs a WAF rule set on the requests to your application, in Blocking or Logging mode. To set one up, refer to Create and apply a WAF rule set.
- Access to Azion Console. To sign in, refer to How to access Azion Console.
Find the countries
Real-Time Metrics counts the threats by the country each request came from. The WAF dashboard and the httpMetrics dataset both carry this count.
Console
To find the countries in Azion Console:
Access Azion Console > Real-Time Metrics.
The WAF tab opens on its only dashboard, Threats.
In the time-range picker, in the Quick tab, under Commonly used, select Last 7 days.
After the range changes, the Refresh button beside the picker reads Update.
Find the two Top WAF Threat Requests by Country charts.
The bar chart draws one bar per country, with the number of threats WAF blocked from it. The pie shows the share of each country. Both list the 20 countries with the most threats, and both leave out the threats WAF logged without blocking. When WAF blocked no threat in the range, each chart reads No data available.
Find the attack families
WAF assigns each threat to an attack family, such as SQL injection or cross-site scripting. Real-Time Metrics counts the threats in each family, on the WAF dashboard and in the httpMetrics dataset.
Console
To find the attack families in Azion Console:
Access Azion Console > Real-Time Metrics.
The WAF tab opens on its only dashboard, Threats.
In the time-range picker, in the Quick tab, under Commonly used, select Last 7 days.
Find the WAF Threat Requests by Family Attack chart.
The chart draws one bar per attack family, with the number of threats WAF blocked in it, for the 10 families with the most. When WAF blocked no threat in the range, the chart reads No data available. For what each family name means, refer to Secure dashboards.
To see which of your hosts received the blocked threats, read WAF Threat Requests by Host on the same dashboard. It draws one line per host, up to 16 hosts.
Find the IP addresses
The IP address of a threat is the remote address that sent the request. Only the Threats Breakdown dashboard and the httpBreakdownMetrics dataset carry it.
Console
To find the IP addresses in Azion Console:
Access Azion Console > Real-Time Metrics.
The tab opens on its only dashboard, also named Threats Breakdown.
In the time-range picker, in the Quick tab, under Commonly used, select Last 7 days.
Find the Top WAF Threat Requests by IP chart.
The chart draws one bar per IP address, with the number of requests from it that WAF identified as threats. It lists the 10 addresses with the most. When WAF identified no threat in the range, the chart reads No data available.
To act on the sources you found, block the addresses or countries with a network list, or adjust the WAF rule set against the top attack families.