hosting
GET /v1/sites/{siteId}/wordpress/vulnerabilities
Published advisories against the plugin and theme versions installed here.
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл sites.view; ключ без нього відхиляється з кодом 403, а не 404.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/wordpress/vulnerabilities \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API
Деталі
Joins the site's installed component versions to a public vulnerability feed, so the answer is about the version this site runs rather than about the plugin in general. ⛔⛔ checked: false means we could not assess this component, not "nothing found". Every bespoke plugin, every premium plugin with no public listing and every advisory published in the last hour reads as unchecked. A client that renders an unchecked row as clean is making a safety claim the platform has no basis for — the one output this endpoint must never produce. unchecked counts them. ⛔ truncated is true when the site has more components than one request will look up. A bounded answer that does not say it is bounded reads as a complete one. ⛔ fixed_in is blank when the advisory is unfixed or names only an upper bound — "affected at or below X" does not mean "fixed in X", and reporting it as such would send a customer to a version that is still vulnerable. Available on both product lines: the inputs are the plugin and theme listings, which every WordPress surface answers. Requires sites.view.
Параметри
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
siteId (path) | Uuid | Так | Site ID (UUIDv7). |
Відповідь
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
data | WordPressComponentRisk[] | Так | — |
worst | string | Так | The worst severity found across the site, or "". |
unchecked | integer | Так | How many components could not be assessed. ⛔ The number that says how much of the estate this screen cannot speak for. |
checked_components | integer | Так | How many components were assessed. |
advisories | integer | Так | How many advisories were found in total. |
truncated | boolean | Так | True when the site has more components than one request will look up. |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404 · 429 · 503