Automate Your Auditing Settings

  • Offload Summary
    This audit gathers the data collected from the total offload for each CPcode (grouped by extension or URL), the perc (percentage) of traffic that each CPcode represents to the total hits of all CPcodes reviewed, total bytes served and offloaded, and an extension offload summary for each of the CPcodes. You can view the output in ‘xlsx’ format.

Account Summary

Offload Summary

There are two types of offload summaries that we offer: Account offload and CPcode by extension. Below, you’ll see an example of each.

Account offload summary

CPcode summary by extension

  • Add the API credentials with access to the Property Manager API (PAPI) In your ~/.edgerc file under a section called ‘papi’ (or indicate the ‘ — section’ parameter followed by the section name if you use something else than ‘papi’).
  • Ensure you have python 3.x.
  • As a pre-installation step, please add the libraries that are required.

Requirements

pip install -r requirements.txt

Usage

python3 akamai-audit.py [parameters]
Options

Account audit example

python3 akamai-audit.py --type as

Offload summary example

python3 akamai-audit.py --type os --start {YYYY-MM-DD} --end {YYYY-MM-DD} --cpcodes {CPCODE_1} {CPCODE_2} {CPCODE_3}

You might also like

Here are great resources for you if you’d like to learn more:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Roy Martinez Blanco

Roy Martinez Blanco

I’m a photography enthusiast but in business hours I am Computer Science analyst. More about me here: https://roymartinez.dev/