Skip to content

dbt package for detecting sensitive data based on a configurable set of rules

Notifications You must be signed in to change notification settings

wellcometrust/wt-data-siren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siren

Description

dbt project, consisting mostly of useful functions, for detecting sensitive data based on a configurable set of rules.

Sensors

A sensor is a dbt model whose primary purpose is to detect sensitive data within the database. In DataSiren, a sensor is intended to have the following columns and types (at least in postgres) in order:

    sensor_name VARCHAR,
    table_catalog VARCHAR,
    table_schema VARCHAR,
    column_name VARCHAR,
    other_identifier VARIANT,
    time_detected TIMESTAMP,

Use

Included are many possibly useful macros that can be used to define sensors. To use the project, simply include the package in the packages.yml file. Then, to take advantage of the datasiren_audit_results table, specify datasiren::schema_name variable value. The value of this variable shold be the name of the schema that has the sensors that should be unioned together to form the audit results. Relations in this schema beginning with datasiren_ will be included.

About

dbt package for detecting sensitive data based on a configurable set of rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published