Image ScanningGet Accounts Account_id Inventory_images Digest

GET /accounts/{account_id}/inventory_images/{digest}

Get inventory image

curl -X GET "https://api.prd.rad.security/accounts/example_string/inventory_images/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
{
  "baseline_id": "example_string",
  "clusters_count": 10,
  "containers_count": 10,
  "created_at": "example_string",
  "critical_count": 10,
  "digest": "example_string",
  "distro": "example_string",
  "distro_eol_date": "example_string",
  "distro_eol_status": "example_string",
  "distro_release": {
    "codename": "John Doe",
    "discontinuedFrom": "example_string",
    "eoasFrom": "example_string",
    "eoesFrom": "example_string",
    "eolFrom": "example_string",
    "isDiscontinued": true,
    "isEoas": true,
    "isEoes": true,
    "isEol": true,
    "isLts": true,
    "isMaintained": true,
    "label": "example_string",
    "latest": {
      "date": "example_string",
      "link": "example_string",
      "name": "John Doe"
    },
    "ltsFrom": "example_string",
    "name": "John Doe",
    "releaseDate": "example_string"
  },
  "has_chainguard_image": true,
  "high_count": 10,
  "highest_opportunity_score_change": 42,
  "low_count": 10,
  "medium_count": 10,
  "name": "John Doe",
  "negligible_count": 10,
  "packages_count": 25,
  "reachable_vulnerabilities_count": 10,
  "repo": "example_string",
  "scanned": true,
  "source": "example_string",
  "tags": [
    "example_string"
  ],
  "total_vulerabilities_count": 10,
  "unspecified_count": 10,
  "updated_at": "example_string",
  "upgrade_opportunities": [
    {
      "score": 42,
      "tag": "example_string",
      "total_count_changes": 10,
      "upgrade_type": "example_string",
      "vulnerability_count_changes": {
        "critical": 42,
        "high": 42,
        "low": 42,
        "medium": 42,
        "negligible": 42,
        "unspecified": 42
      }
    }
  ]
}
GET
/accounts/{account_id}/inventory_images/{digest}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Responses

baseline_idstring
clusters_countinteger
containers_countinteger
created_atstring
critical_countinteger
digeststring
distrostring
distro_eol_datestring
distro_eol_statusstring
distro_releaseobject
has_chainguard_imageboolean
high_countinteger
highest_opportunity_score_changeinteger
low_countinteger
medium_countinteger
namestring
negligible_countinteger
packages_countinteger
reachable_vulnerabilities_countinteger
repostring
scannedboolean
sourcestring
tagsstring[]
total_vulerabilities_countinteger
unspecified_countinteger
updated_atstring
upgrade_opportunitiesarray