Skip to content
All use cases
Use case · Governance and security

A second person for sensitive data

A pipeline that would read data hidden from the person publishing it waits for a second person before it goes into production.

For: Security and governance leads, and the engineers who publish pipelines over restricted tables.

The problem today

Masking protects what people see, but a pipeline runs with its own access. An engineer who cannot read a salary column can still write a pipeline that copies it somewhere they can. Often nothing stops that publish, nobody else is asked, and when someone later asks who let that data move, there is no decision to point to.

What changes on DataAstra

  1. Publish as usual

    When an engineer publishes a pipeline, the platform checks every catalogued table it reads, for that person: whether a column is masked for them, whether only some rows are visible to them, and whether the table is closed to them.

  2. Read through a view

    A view is no way round. When the pipeline reads a view in a PostgreSQL database, the same checks are made on every table under it, as if the pipeline named them itself.

  3. Wait for a second person

    If anything is hidden from the publisher, the publish becomes a proposal that waits for a second person to approve it, who is shown what the pipeline would read.

  4. Publish again once approved

    Once it is approved, the engineer publishes again and the pipeline deploys. A deployed run then reads as the pipeline's domain, never as whoever happened to start it.

  5. Quality rules follow the same rule

    A quality rule over a column masked for its author waits for a second person in the same way before it measures that column.

The capabilities it uses

See the whole platform

Where else this applies

  • A hospital group. An engineer who sees patient identifiers masked cannot put a pipeline over them into production alone.
  • A payroll or HR team. A pipeline reading salaries through a reporting view is held exactly as one that names the salary table.
  • A trading business. A desk that sees only its own rows cannot publish a pipeline that reads every desk's rows without a second person.

See it on your own data

See the demo scripts, or the platform page for every capability behind this use case.