Main Site HUB Security Scorecard API 5.3 Generate a Issues Report For A Scorecard

HUB

5.3 Generate a Issues Report For A Scorecard

Generate a Issues Report For A Scorecard

SecurityScorecard allows you to generate reports via an API. You can generate the same set of reports that are available from the platform via the API.This API endpoint allows you to generate a issues report for a scorecard. The CSV Report includes a list of all the issues on a scorecard. The PDF report is a multi-page PDF with the following information:

  • Scorecard overview
  • 30-day score history
  • Issues overview (\“Action Items\”)
  • Issue descriptions

You can check out the full specification for this endpoint here.

Resource URI

/reports/issues

Parameters:

Name Required Description
Domain Y The primary domain identifying a company in SecurityScorecard.
Format Y Either csv or pdf format.

Sample Code:


    curl -X POST \
        https://api.securityscorecard.io/reports/issues \
        -H 'Accept: application/json' \
        -H 'Authorization: Token <Your API Key>' \
        -H 'Content-Type: application/json' \
        -H 'cache-control: no-cache' \
        -d '{"domain": "ovofinance.com", "format": "csv"}'
        

Sample Response:


{
    "created_at": "2019-08-15T18:00:18.447Z",
    "format": "csv",
    "id": "aeb7569b-61c1-4714-9920-4e5fe060363c",
    "params": {
        "domain": "ovofinance.com"
    },
    "report_type": "issues-csv",
    "title": "OvoFinance - Issue List"
}