Get a server's security scan

Get the server's latest vulnerability scan. We scan daily while vulnerability_monitoring is on, and keep only the latest scan.

GET https://{availability_zone}.betterstackcloud.com/v1/servers/{id}/security-scan
id string required

The ID of the server.

Authorization string required

Bearer $TOKEN

200 OK
{
  "last_scan_at": "2026-07-01T12:00:00.000Z",
  "findings": [
    {
      "id": "example",
      "service": "example",
      "title": "example",
      "severity": "critical",
      "summary": "example",
      "cves": [
        "example"
      ],
      "description": "example"
    }
  ]
}

An empty findings list means the latest scan found nothing.

last_scan_at datetime

When the latest scan ran. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

findings array of objects

What the scan found, one entry per finding.

findings[].id string

The finding's ID, <service>-<issue>, which stays the same between scans.

findings[].service string

The service the finding is about.

findings[].title string

The service name, with its installed version when known.

findings[].severity string

How serious the finding is.
Valid values:
critical: A service that must not be reachable from the internet is reachable.
high: A service reachable from the internet runs a vulnerable version.

findings[].summary string or null

A short summary, or null.

findings[].cves array of strings

The CVE IDs named in description.

findings[].description string or null

More about the finding, or null.