Get analytics for each of your organizations on Cloudflare, as well as all of the domains belonging to it.
You can see an example of the output in this CSV file.
Data is gathered and temporarily stored in a SQL database, which is then used to populate a CSV report.
Data included in the report is listed below.
- Organization Level Analytics
- Org Name
- Name Servers
- Top 5 Threat Locations
- Number of Zones*
- Bandwidth*
- Threat Count*
- Domain Level Analytics (Per Organization)
- Domain Name
- Top Threat Location
- Plan Type
- Bandwidth
- Threat Count
- WAF Status
- OWASP Status
- Firewall Status
*The Since and Until flags may alter the resolution at which you recieve your analytics results. More information can be found in the API documentation. If Since and Until flags are not provided, a default timeframe of the last 12 hours will be used.
After cloning the repository, navigate to its root directory with your command line.
Once there, you can run the file named CloudflareOultine.py like this:
python CloudflareOutline.py
Running CloudflareOutline without any flags will prompt you for your credentials and give you a report for any available results within the past 7 days.
You can also add flags to the command to better fit your needs:
python CloudflareOutline.py -email email@domain.com -key XXXXXXX -since 2017-07-01T00:00:00Z -until 2017-08-01T00:00:00Z -dbpersist
BSD 3-Clause licensed.
Please see the LICENSE file for details.

