GET
/
{scan_id}
curl --request GET \
  --url https://api.altostrat.io/scans/cve/{scan_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "scan_schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "scan_id": "XYZ-123-RTY",
  "targets": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "started_at": "2023-11-07T05:31:56Z",
  "finished_at": "2023-11-07T05:31:56Z",
  "runtime": "2 hours 15 minutes",
  "running": true,
  "duration_cumulative": 123,
  "duration_absolute": 123,
  "average_score": 123,
  "highest_score": 123,
  "cve_count": 123,
  "cve_repeat_ratio": 123,
  "unique_cves": 123,
  "open_ports": 123,
  "percentage_done": 123,
  "percentage_failed": 123,
  "hosts_scanned": 123,
  "unique_ports": 123,
  "hosts_with_cves": 123,
  "sites_with_cves": 123,
  "json_url": "<string>",
  "log_url": "/logs?group=cve-scan-log&streams=...&start=...&end=...&filter=...",
  "pdf_url": "<string>"
}

Authorizations

Authorization
string
header
required

Authentication token obtained via Altostrat platform login.

Path Parameters

scan_id
string
required

The UUID (database ID / S3 key) of the specific scan instance.

Response

200
application/json

Scan result summary details.

Summary information about a completed or running scan instance. Data primarily derived from S3 object metadata.