GCP-DLP-API

Redact Assets w/ Data Loss Prevention API

git clone https://github.com/googleapis/nodejs-dlp.git

Inspect Sensitive information

Using ìnspectString.js explicit your data.

Redact sensitive data from images

Hi From GCP Code Editor

node redactImage.js $GCLOUD_PROJECT ~/assets-for-real.png "" EMAIL_ADDRESS ~/yaya-redacted.png

We specified EMAIL_ADDRESS as the infotype to redact.

In the image, you should notice that the email address is no longer visible.

This is cool!

[Real-time Censoring](/assets/poc/hm-hmm.png)