Skip to content

apiheat/realcoverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

realCoverage

CLI tools which is used to generate PDF report for domains presence in Akamai property configurations and check if domain resolves to Akamai IP.

Under development Please forgive us for some error or issue.

Dependencies

Akamai Permissions

  • Read Akamai contract groups
  • List Akamai Properties
  • Read Akamai Properties
  • Use Akamai Diagnostic Tools

Usage

Setup edgerc credentials location

> export AKAMAI_EDGERC_SECTION="default"
> export AKAMAI_EDGERC_CONFIG="~/.edgerc"

Example input data structure

properties:
  - property_name: test.com
    property_records:
      - record_name: test.com.
        record_type: A
        record_value: 123.123.124.124
        record_value_is_akamai_ip: true
      - record_name: static-test.com.
        record_type: CNAME
        record_value: static-test.com.edgekey.net.
  - property_name: acc.test.com
    property_records:
      - record_name: acc.test.com.
        record_type: CNAME
        record_value: acc.test.com.edgekey.net.

Generate report

> ./realcoverage -f input.yml -l logo.png -o report.pdf -c "My Company" -t "+0 12345678" -s "mycompany.nl"

Usage of realcoverage
  -c string
      Company name.
  -f string
      YAML file to parse.
  -l string
      Company logo file.
  -o string
      Output file name.
  -s string
      Company web site.
  -t string
      Company phone.