Skip to main content

Bridge: Collibra Business Glossary → ODGS Runtime Enforcement Schemas

Project description

ODGS Collibra Bridge

License ODGS

Transform your Collibra Business Glossary into active ODGS runtime enforcement schemas.

Collibra documents your data. ODGS enforces it.


What It Does

The ODGS Collibra Bridge connects to your Collibra Data Intelligence Platform and transforms passive business glossary assets (terms, metrics, data quality rules) into ODGS-compliant JSON schemas that the Universal Interceptor (ODGS Core Engine) can enforce at runtime.

Collibra REST API                 ODGS
┌──────────────┐     Bridge      ┌──────────────┐
│ Business     │ ──────────────→ │ JSON Schema  │
│ Glossary     │   reads terms,  │ + Interceptor│
│ + Data Dict. │   outputs ODGS  │ = Enforcement│
└──────────────┘                 └──────────────┘

Install

pip install odgs-collibra-bridge

🏢 Enterprise & Public Sector: EU AI Act Compliance

This open-source package connects your physical data infrastructure to the ODGS validation engine. However, if you are operating a High-Risk AI System and require strict liability indemnification under the EU AI Act (Articles 10 & 12), you need cryptographic provenance.

Metric Provenance offers the commercial Enterprise Infrastructure for ODGS:

  • Certified Sovereign Packs: Pre-compiled, cryptographically signed Ed25519 rule bundles for DORA, EU AI Act, and Basel.
  • The S-Cert Sovereign Registry: An air-gapped Enterprise Certificate Authority that mints immutable, JWS-sealed audit logs.

👉 Discover the Sovereign CA Enterprise Node & Packs

Quick Start

Python API

from odgs_collibra import CollibraBridge

bridge = CollibraBridge(
    base_url="https://your-org.collibra.com",
    api_token="your-api-token",
    organization="acme_corp",
)

# Sync Finance community → ODGS metric schemas
bridge.sync(
    community="Finance",
    output_dir="./schemas/custom/",
    output_type="metrics",
)

# Sync DQ rules → ODGS enforcement rules
bridge.sync(
    community="Data Quality",
    output_dir="./schemas/custom/",
    output_type="rules",
    severity="HARD_STOP",
)

CLI

# Sync using API token
odgs-collibra sync \
    --url https://your-org.collibra.com \
    --token YOUR_API_TOKEN \
    --org acme_corp \
    --community "Finance" \
    --output ./schemas/custom/ \
    --type metrics

# Or use environment variable
export COLLIBRA_API_TOKEN=your-token
odgs-collibra sync \
    --url https://your-org.collibra.com \
    --org acme_corp \
    --community "Finance"

Output

The bridge generates ODGS-compliant JSON schemas:

{
  "$schema": "https://metricprovenance.com/schemas/odgs/v4",
  "metadata": {
    "source": "collibra",
    "organization": "acme_corp",
    "bridge": "odgs-collibra-bridge",
    "asset_count": 42
  },
  "items": [
    {
      "metric_urn": "urn:odgs:custom:acme_corp:net_revenue",
      "name": "Net Revenue",
      "logic": { "formula": "gross_revenue - returns" },
      "content_hash": "a1b2c3..."
    }
  ]
}

These schemas can be loaded directly by the ODGS Interceptor for runtime enforcement.

🆕 v4.1.0: Bi-Directional Write-Backs

The ODGS Collibra bridge now supports Bi-Directional Sync (Plane 4). It can parse your secure sovereign_audit.log offline and push compliance results back directly into the respective Collibra Asset's activity stream/comments.

This creates a seamless feedback loop for Governance Officers without compromising the Air-Gapped nature of the core ODGS protocol.

odgs-collibra write-back \
    --log-path ./sovereign_audit.log \
    --url https://your-org.collibra.com \
    --token YOUR_API_TOKEN

Authentication

The bridge supports two authentication methods:

Method Flag Environment Variable
API Token (recommended) --token COLLIBRA_API_TOKEN
Basic Auth --username + --password

URN Namespace

All generated schemas use the urn:odgs:custom:<org>:* namespace, ensuring clean separation from Sovereign URNs (urn:odgs:sov:*) and other organizations.

Requirements

  • Python ≥ 3.9
  • odgs ≥ 4.0.0 (core protocol)
  • Collibra Data Intelligence Platform (any version with REST API v2)

Related


License

Apache 2.0 — Metric Provenance | The Hague, NL 🇳🇱

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odgs_collibra_bridge-0.3.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odgs_collibra_bridge-0.3.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file odgs_collibra_bridge-0.3.0.tar.gz.

File metadata

  • Download URL: odgs_collibra_bridge-0.3.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for odgs_collibra_bridge-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f79fc5798b3541089db8868e433cee047032c38a839ee6ed88b97ea192bd3ac8
MD5 ebb38d39374b6bfd6a0dff8e47d8b60a
BLAKE2b-256 b9dfd860d570ec6988d4fc2d23000a7e555f433291e6f109cd852bdcbe16f5de

See more details on using hashes here.

File details

Details for the file odgs_collibra_bridge-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odgs_collibra_bridge-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdf6a8918d839db134f5937299b3c7647da9335b6f0226c36b44df78a8b448b
MD5 84b637a96d8d12be9850093cc90e3b81
BLAKE2b-256 ddab07012c637c32679e5add9e91a097e8a5f262cb7950d611d2c70a24681acf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page