dbt-labs / dbt-labs/dbt-adapters

[Feature] (Redshift) Support for masking policies in columns

Open
#1,353 0 comments 2 reactions 0 assignees View on GitHub
triage:product type:enhancement
Dominant language
Python
Stars
233
Forks
362
Avg merge
3d 22h
Merged PRs (30d)
9

Description

### Is this your first time submitting a feature request?

- [x] I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations)
- [x] I have searched the existing issues, and I could not find an existing issue for this feature
- [x] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

### Describe the feature

In BigQuery adapter we can apply a policy tag from within dbt, which makes it easier to manage PII data. In Redshift, they added Dynamic Data Masking a while ago but there's no automation between Redshift and dbt in terms of running the ATTACH POLICY command after a model is built.

https://repost.aws/articles/ARQF035QkoRz6nkkde6yXXmw/implement-dynamic-data-masking-with-amazon-redshift-data-sharing

### Describe alternatives you've considered

_No response_

### Who will this benefit?

_No response_

### Are you interested in contributing this feature?

yes

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.