Vulnerabilities & ImagesGet Accounts Account_id Inventory_cves

GET /accounts/{account_id}/inventory_cves

List inventory CVEs

curl -X GET "https://api.rad.security/accounts/example_string/inventory_cves?sort=example_string&q=example_string&limit=42&offset=42&filters=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "entries": [
    {
      "affected_clusters_count": 10,
      "affected_images_count": 25,
      "affected_owner_uids": [
        "example_string"
      ],
      "affected_workloads_count": 10,
      "associated_images": [
        {
          "image_digest": "example_string",
          "image_name": "John Doe",
          "image_repo": "example_string",
          "image_tag": "example_string"
        }
      ],
      "cluster_id": "example_string",
      "cve_name": "John Doe",
      "data_source": "example_string",
      "epss_percentile": 3.14,
      "epss_score": 3.14,
      "first_seen_at": "example_string",
      "fixable": true,
      "fixed_in_version": "example_string",
      "in_use": true,
      "is_known_exploited": true,
      "last_seen_at": "example_string",
      "package_id": "example_string",
      "package_name": "John Doe",
      "package_version": "example_string",
      "severity": "example_string"
    }
  ],
  "has_more": true,
  "total_count": 10
}
GET
/accounts/{account_id}/inventory_cves
GET
Base URLstring

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

Bearer Token
Bearer Tokenstring
Required

Bearer token - just enter the token, "Bearer" prefix will be added automatically

query
sortstring

Sort details in format: field:asc|desc. Allowed fields: cve_name, package_name, package_version, severity, in_use, is_known_exploited, epss_score, epss_percentile, first_seen_at, last_seen_at, affected_workloads_count, affected_images_count, affected_clusters_count. Default: affected_workloads_count:desc

query
qstring

Search phrase

query
limitinteger

Maximum number of results to return. Default: 100

query
offsetinteger

Number of results to skip. Default: 0

query
filtersstring

Filters in format: key1:value1,key2:value2

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authentication token required.

Path Parameters

Query Parameters

sortstring

Sort details in format: field:asc|desc. Allowed fields: cve_name, package_name, package_version, severity, in_use, is_known_exploited, epss_score, epss_percentile, first_seen_at, last_seen_at, affected_workloads_count, affected_images_count, affected_clusters_count. Default: affected_workloads_count:desc

qstring

Search phrase

limitinteger

Maximum number of results to return. Default: 100

offsetinteger

Number of results to skip. Default: 0

filtersstring

Filters in format: key1:value1,key2:value2

Responses

entriesarray
has_moreboolean
total_countinteger