SPB Git forge

spb/websensor

Public
33commits 1branches 0releases
3.4 MBsize
maindefault branch
10 days agolast push
TypeScript 55.4% Python 43.2% SQL 1.2%
1.1 KB · 13 lines markdown
Rendered Raw Blame History
1# Connector: JSON API list (`jsonlist`)2**Purpose**: keyed records from official JSON APIs. Used for CISA KEV, NVD CVE 2.0 (`{now-3h}` window),3Federal Register documents (rules, proposed rules, presidential documents), ClinicalTrials.gov v2, USGS4significant earthquakes (GeoJSON), Have I Been Pwned breaches, MSRC security updates, Google Cloud / Firebase /5Workspace incidents, NOAA SWPC alerts, Salesforce Trust incidents.6**Config**: `itemsPath` (dot path to the array, `""` for a root array), `keyField`, `titleField` or7`titleTemplate` (`{a.b}` placeholders), `urlField`/`urlTemplate` (`{key}`), `summaryField` (arrays and8`{lang,value}` description lists are flattened), `dateField`, `compareFields`, `maxItems`, `headers`,9`noConditional` (for windowed queries), `timeoutMs`. URL placeholders `{now}`, `{now-2h}`, `{now-30d}`.10**Rate limits**: NVD 5 req/30 s without key (sensor interval 15 min); Federal Register 1000/h; ClinicalTrials11none documented; KEV is a static file (~1.7 MB, ETag).12**Verified**: 2026-09-08 (14 sensors). **Tests**: `tests/fixtures/kev.json`.13