Configures the xdbc DBC instances used by the MultiCloud validation layer.
Two independent DBC instances control how violations are reported:
config — governs configuration contract checks (missing/malformed plugin options
and provider credentials). Registered at globalThis.MultiCloud.Validation.Config.
boundary — governs Zod schema checks on data returned by
provider APIs (picker results, Graph API responses, etc.). Registered at
globalThis.MultiCloud.Validation.Boundary.
Both layers default to throwing DBC.Infringement on violations. Call this function
to switch either or both layers to soft logging mode (log to console instead of throwing)
or to turn off their output entirely. Settings are applied independently — e.g. you can
silence config violations while keeping boundary checks strict.
Must be called before any plugin initialisation to take effect.
Configures the xdbc DBC instances used by the MultiCloud validation layer.
Two independent DBC instances control how violations are reported:
config— governs configuration contract checks (missing/malformed plugin options and provider credentials). Registered atglobalThis.MultiCloud.Validation.Config.boundary— governs Zod schema checks on data returned by provider APIs (picker results, Graph API responses, etc.). Registered atglobalThis.MultiCloud.Validation.Boundary.Both layers default to throwing
DBC.Infringementon violations. Call this function to switch either or both layers to soft logging mode (log to console instead of throwing) or to turn off their output entirely. Settings are applied independently — e.g. you can silence config violations while keeping boundary checks strict.Must be called before any plugin initialisation to take effect.