After you add your website to Web Application Firewall (WAF), Alibaba Cloud Dynamic Route for CDN (DCDN) can collect and store the security logs of WAF. You can query the security logs and view the information about attacks on a specific domain name and the protection results in security reports. This topic describes how to view the security reports of WAF.

View WAF reports

After you add your website to WAF, you can query the protection history of the website over the last 30 days on the Reports page. Protection history includes information about vulnerabilities, website traffic, and threat events. This helps you understand the security status of your website.

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, choose Edge Security > WAF > Security Reports.
    For more information about the reports, see View Protection History on the WAF Overview Page.

Query WAF logs

After you enable the log collection feature for the domain names that you added to WAF, you can use the log query feature to query and analyze the logs that are collected in real time. You can create charts and configure alert rules based on the query and analysis results.

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, choose Logs > Real-time Logs.
  3. On the Real-time Logs page, click Analytics and Alerting in the Actions column of the domain name whose Log Type is WAF Interception Log to view the detailed log.
    For more information about the reports, see Query logs.