Skip to main content

Sentin8:DB — SQL Execution & Data Service

The SQL execution service: apps and third-party code run queries through an authorized, tenant-scoped data API instead of direct database connections. The database itself is reachable only by enrolled services holding certificate identities.

Use cases​

  • Authorized app queries — a third-party app store application queries tenant data through the BFF with downscoped tokens, never a raw DSN.
  • Schema introspection — clients discover table shape through the same authorized surface.
  • Row-level visibility — every query rides the RLS context the authorization pipeline stamps; a compromised app sees only its tenant's rows.

API surface​

EndpointMethodGate
/v1/healthGETnone
/v1/queryPOSTShield sentin8:db:query — statement execute
/v1/schemaGETShield sentin8:db:schema — introspection
/v1/tables/{name}GETShield sentin8:db:query — describe

Full documentation​

The complete detail lives in this product's sub-pages:

  • Architecture (DDD) — the full document, harvested from the unit's repository at build time.
  • Business rules (BRD) — the full document, harvested from the unit's repository at build time.
  • Security — the full document, harvested from the unit's repository at build time.
  • Overview (repo README) — the maintainer's README in the consolidated reference section.