Skip to content

hub-security ​

← All modules

2 endpoints.

GET /api/v1/hub-security ​

Overview

The estate report: every box, every finding, the per-area rollup and the score. Served from cache when one is warm — the response says which (cached / age_seconds) rather than presenting a ten-minute-old sweep as if it had just happened.

200 — Successful Response

json
{
  "additionalProperties": true,
  "type": "object",
  "title": "Response Overview Api V1 Hub Security Get"
}

POST /api/v1/hub-security/rescan ​

Rescan

Sweep the estate again and return the fresh report.

Synchronous, like the backup page's "Run now": the caller asked for a scan and the useful answer is what it found. It is five concurrent SSH sessions plus a walk of the site databases, so it takes tens of seconds and the request waits.

200 — Successful Response

json
{
  "additionalProperties": true,
  "type": "object",
  "title": "Response Rescan Api V1 Hub Security Rescan Post"
}

Lubb One Documentation