implementing-cloud-dlp-for-data-protection

Implement cloud DLP with Amazon Macie, Google Cloud DLP, and Microsoft Purview to classify and protect sensitive data.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill implementing-cloud-dlp-for-data-protection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-cloud-dlp-for-data-protection
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/cloud-security/implementing-cloud-dlp-for-data-protection
Command: npx skills add https://github.com/xalgord/xalgorix --skill implementing-cloud-dlp-for-data-protection

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, google-cloud-dlp.

What problem does it solve?

Organizations storing data across AWS, GCP, and Azure often lack visibility into where sensitive data (PII, PHI, credentials) lives, leaving them exposed to compliance violations under GDPR, HIPAA, and PCI DSS. This Skill provides a complete workflow to discover, classify, de-identify, and monitor sensitive data across all three major cloud providers.

Core Features & Use Cases

  • Multi-Cloud Sensitive Data Discovery: Configure Amazon Macie classification jobs for S3, Google Cloud DLP inspection jobs for BigQuery and Cloud Storage, and Microsoft Purview auto-labeling policies.
  • Data De-identification: Apply masking, FPE tokenization with KMS-wrapped keys, and redaction transforms via the Cloud DLP API.
  • Pipeline DLP Gates: Block data pipeline promotion when Macie scans detect high-severity sensitive findings in output data.
  • Use Case: A compliance audit reveals unprotected PII in an S3 data lake. Use this Skill to run a Macie classification job, identify affected objects, apply de-identification for analytics use, and set up weekly scheduled scans with a pipeline gate.

Quick Start

Scan my S3 bucket 'customer-data-bucket' with Amazon Macie for SSNs, credit cards, and credentials, then show me the high-severity findings.

Frequently Asked Questions about implementing-cloud-dlp-for-data-protection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan S3 buckets for PII with Amazon Macie?

Enable Macie with aws macie2 enable-macie, then create a classification job targeting your buckets with managed data identifiers like SSN, CREDIT_CARD_NUMBER, and EMAIL_ADDRESS. Use scoping rules to limit scans to relevant object extensions such as csv, json, and parquet to control per-GB scan costs.

How to de-identify sensitive data with Google Cloud DLP API?

Call deidentifyContent with an inspect config listing info types and a deidentify config defining transformations per info type. Options include character masking for emails, format-preserving encryption with a KMS-wrapped key for credit cards, and redaction for SSNs.

Amazon Macie vs Google Cloud DLP for sensitive data discovery?

Macie is a managed AWS service focused on S3 discovery with ML-based classification and scheduled jobs. Cloud DLP is a programmable GCP API covering Cloud Storage, BigQuery, and arbitrary text, with built-in de-identification transforms that Macie does not provide.

Why does my DLP inspection find data but nothing gets masked?

Inspection and de-identification are separate operations. An inspectJob or Macie scan only finds sensitive data; masking, tokenization, or redaction requires a separate deidentifyContent call with InfoTypeTransformations configured. Verify your pipeline actually invokes the transform step.

When should I not use cloud DLP services?

Cloud DLP services do not cover endpoint devices, email, or network-level exfiltration. Use Microsoft Purview or Symantec agents for endpoint DLP, Microsoft 365 or Google Workspace DLP for email, and VPC endpoint policies with network firewalls for exfiltration prevention.