本文へ移動
cccskills
無料GitHub で公開

auto-data-discovery

Implements automated PII discovery and classification using tools like Microsoft Purview, BigID, OneTrust DataDiscovery, and AWS Macie. Covers scanning schedules, accuracy tuning, false positive management, and integration patterns. Keywords: data discovery, PII scanning, Purview, BigID, Macie, OneTrust, automated classification, data cataloging.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md14.1 KB
  • assets/template.md6.8 KB
  • references/standards.md4.2 KB
  • references/workflows.md6.6 KB
  • scripts/process.py15.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Automated PII Discovery and Classification

Overview

Automated data discovery tools scan structured and unstructured data repositories to identify, classify, and catalogue personal data across the enterprise. Manual data inventories cannot keep pace with the volume, velocity, and variety of modern data processing. Automated discovery provides continuous visibility into where personal data resides, how it flows, and whether it is classified and protected according to policy. This skill covers implementation patterns for four leading platforms — Microsoft Purview, BigID, OneTrust DataDiscovery, and AWS Macie — with focus on scanning configuration, accuracy optimisation, and integration with privacy compliance workflows.

Platform Comparison

CapabilityMicrosoft PurviewBigIDOneTrust DataDiscoveryAWS Macie
Structured data scanningSQL Server, Azure SQL, Synapse, Cosmos DB, Oracle, PostgreSQL, MySQL, Teradata100+ connectors including all major RDBMS, NoSQL, data warehouses200+ connectors, pre-built integrations with SaaS applicationsS3, DynamoDB, RDS (via Lambda)
Unstructured data scanningSharePoint, OneDrive, Exchange, Azure Blob, Azure Files, AWS S3, GCP StorageFile shares, email, SharePoint, cloud storage, Slack, Teams, ConfluenceFile shares, email, cloud storage, collaboration platformsS3 buckets (primary focus)
Classification method300+ built-in sensitive information types (SITs), trainable classifiers, exact data match (EDM), custom regexML-based NER, correlation analysis, pattern matching, custom classifiersPattern matching, NER, contextual analysis, custom rulesML-based pattern matching, custom data identifiers, managed data identifiers
GDPR-specific classifiersEU national ID formats, EU passport numbers, EU debit/credit card numbers, EU tax ID numbers per Member StateGDPR personal data taxonomy, Art. 9 special category detection, cross-regulation mappingPre-built GDPR data subject types, purpose mapping, lawful basis taggingEU personal data identifiers (limited — primarily financial and identity patterns)
Accuracy tuningConfidence levels (low/medium/high), custom keyword dictionaries, EDM for exact matching, document fingerprintingML model retraining, feedback loop, confidence thresholds, correlation rulesConfidence scoring, validation rules, exception managementCustom data identifiers with regex and keyword proximity, severity scoring
Deployment modelSaaS (Microsoft 365/Azure), hybrid with Purview governanceSaaS, on-premises, hybridSaaS, on-premises agentAWS-native SaaS
Pricing modelPer information protection unit (Azure), per Microsoft 365 licence tier (E5 includes advanced)Per data source connector, per TB scannedPer data source module, per connectorPer S3 bucket evaluated, per GB scanned

Implementation Pattern — Microsoft Purview

Architecture

Data Sources                    Microsoft Purview
┌─────────────┐                ┌───────────────────────────┐
│ Azure SQL   │──────scanner──►│ Data Map (metadata store)  │
│ SharePoint  │──────scanner──►│ Data Catalog (search/tag)  │
│ AWS S3      │──────scanner──►│ Data Estate Insights       │
│ On-prem SQL │──self-hosted──►│ Information Protection     │
│ Power BI    │──────scanner──►│ Data Loss Prevention (DLP) │
└─────────────┘                └───────────────────────────┘

Configuration Steps for Vanguard Financial Services

Step 1: Register Data Sources

  • Register all Azure SQL databases, SharePoint sites, Azure Blob Storage accounts
  • Install self-hosted integration runtime for on-premises SQL Server and file shares
  • Register AWS S3 buckets via cross-cloud connector
  • Register Power BI workspaces for report-level sensitivity scanning

Step 2: Configure Scanning Rules

  • Enable built-in sensitive information types (SITs) for all EU jurisdictions:
    • UK National Insurance Number (pattern: [A-CEGHJ-PR-TW-Z]{2}\d{6}[A-D])
    • EU Passport Numbers (per Member State format)
    • International Banking Account Number (IBAN)
    • EU Tax Identification Numbers
    • EU Health Insurance Card Number
  • Create custom SITs for Vanguard-specific identifiers:
    • Customer account number format: VFS-\d{10}
    • Employee ID format: EMP-[A-Z]{2}\d{6}
    • Investment portfolio reference: PF-\d{8}-[A-Z]{2}
  • Configure confidence levels: HIGH for direct identifiers, MEDIUM for indirect, LOW for contextual matches
  • Enable exact data match (EDM) for customer name verification against CRM database

Step 3: Set Scanning Schedule

  • Full scan: Monthly (first Saturday of each month, 02:00 UTC)
  • Incremental scan: Weekly (every Saturday, 02:00 UTC)
  • On-demand scan: Triggered by new data source registration or incident response
  • Estimated scan duration: 8 hours for full scan across 15 TB of data

Step 4: Configure Sensitivity Labels

  • Map Purview sensitivity labels to Vanguard classification tiers:
    • Public → Purview label: Public
    • Internal → Purview label: General
    • Confidential → Purview label: Confidential
    • Restricted → Purview label: Highly Confidential (auto-applied to Art. 9/Art. 10 data)
  • Enable auto-labelling policies: Apply labels based on detected SITs
  • Configure label inheritance: Child items inherit parent container label unless higher

Step 5: DLP Policy Integration

  • Create DLP policies triggered by sensitivity labels:
    • Restricted data: Block external sharing, require encryption, notify DPO
    • Confidential data: Warn on external sharing, audit log, require justification
    • Internal data: Audit log only
  • Configure endpoint DLP for Windows devices (prevent copy to USB, print, screenshot for Restricted content)

Accuracy Tuning for Purview

IssueTuning Approach
False positive: UK phone numbers flagged as National Insurance numbersIncrease minimum confidence to HIGH for NINO SIT; add negative keyword list ("phone", "tel", "fax", "mobile")
False positive: Internal reference numbers flagged as account numbersCreate EDM schema for actual customer accounts; custom SIT with proximity to customer-related keywords
False negative: Health data in free-text email bodiesEnable trainable classifier for health content; train on sample of 50+ positive examples from occupational health correspondence
False negative: Genetic identifiers in research datasetsCreate custom SIT for rs-number pattern (rs\d{4,12}), ICD-10 codes, and HUGO gene names

Implementation Pattern — BigID

Architecture

BigID uses a distributed scanning architecture with correlation-based discovery:

Data Sources              BigID Platform
┌─────────────┐          ┌──────────────────────────┐
│ Databases   │──scan───►│ Discovery Engine          │
│ File Shares │──scan───►│ Correlation Engine (ML)   │
│ Cloud       │──scan───►│ Classification Engine     │
│ SaaS Apps   │──API────►│ Catalog & Inventory       │
│ Email       │──scan───►│ Privacy Rights Automation │
└─────────────┘          └──────────────────────────┘

Key Differentiator: Correlation-Based Identity Resolution

BigID's ML-based correlation engine identifies personal data by correlating data elements across sources to build identity profiles. This approach detects personal data that pattern matching alone would miss — for example, a customer ID in one system linked to a name in another.

Configuration for Vanguard

  • Data source connections: Configure connectors for Salesforce CRM, Workday HR, ADP Payroll, SharePoint, Azure SQL, AWS S3, on-premises Oracle Data Warehouse
  • Correlation rules: Enable identity correlation across CRM customer ID, HR employee ID, and payroll employee number
  • Classification policies: Map BigID classifiers to GDPR categories (personal data, special category, criminal data, pseudonymised, anonymised)
  • Scanning schedule: Incremental scans daily at 01:00 UTC; full correlation rebuild weekly

Implementation Pattern — OneTrust DataDiscovery

Architecture

OneTrust integrates discovery with its broader privacy management platform:

Data Sources              OneTrust Platform
┌─────────────┐          ┌──────────────────────────┐
│ Cloud/SaaS  │──API────►│ DataDiscovery Module      │
│ Databases   │──agent──►│ Data Mapping (Art. 30)    │
│ File Shares │──agent──►│ Assessment Automation     │
│ Endpoints   │──agent──►│ Consent Management        │
└─────────────┘          │ DSAR Automation           │
                         └──────────────────────────┘

Key Differentiator: Privacy Program Integration

OneTrust's value proposition is tight integration between discovery results and privacy program management — discovered personal data feeds directly into Art. 30 records, DPIA assessments, and DSAR fulfilment workflows.

Configuration for Vanguard

  • Data source inventory: Use OneTrust's data mapping questionnaires to establish baseline, then deploy automated scanning to validate and enrich
  • Integration with RoPA: Map discovered data categories to Art. 30 processing activity records
  • DSAR integration: Configure discovery results to support automated data subject access request fulfilment (locate all data for a given identity across systems)
  • Vendor discovery: Scan for personal data shared with third-party processors; reconcile with vendor management records

Implementation Pattern — AWS Macie

Architecture

Macie is purpose-built for S3 data discovery within AWS:

AWS Environment
┌─────────────────────────────────────┐
│  S3 Buckets    ──scan──►  Macie     │
│                          │          │
│  EventBridge  ◄──alerts──┘          │
│  Security Hub ◄──findings──┘        │
│  CloudWatch   ◄──metrics──┘         │
└─────────────────────────────────────┘

Configuration for Vanguard

  • Bucket selection: Enable Macie for all S3 buckets in eu-west-1 (London) and eu-west-2 (Ireland) regions
  • Custom data identifiers: Create identifiers for Vanguard-specific patterns (customer account numbers, employee IDs, portfolio references)
  • Managed identifiers: Enable all EU-region managed data identifiers (UK NINO, IBAN, EU passport)
  • Job scheduling: Scheduled classification jobs weekly; event-driven scan on new object upload for high-sensitivity buckets
  • Findings integration: Route findings to AWS Security Hub for centralised monitoring; trigger Lambda function for automated label application

Scanning Schedule Best Practices

Scan TypeFrequencyDuration WindowTrigger
Full discovery scanMonthlyWeekend maintenance window (8-12 hours)Scheduled
Incremental scanWeeklyOff-peak hours (2-4 hours)Scheduled
New source onboarding scanOn registrationWithin 48 hours of source registrationEvent-driven
Post-incident scanAs neededImmediate (targeted scope)Incident response
Pre-DPIA scanBefore DPIA commencement1-2 weeks before DPIA startProject-triggered

Accuracy Metrics and Tuning

Key Performance Indicators

MetricTargetMeasurement Method
Precision (true positive rate)> 90%Sample 100 classified items monthly; verify classification accuracy
Recall (detection rate)> 85%Plant known PII test data in scan scope; measure detection rate
False positive rate< 10%Count items classified as personal data that are not
False negative rate< 15%Count personal data items missed by the scanner
Classification consistency> 95%Same data element classified consistently across repeat scans

Continuous Improvement Cycle

Month 1: Baseline scan → establish initial accuracy metrics
Month 2: Review false positives/negatives → tune rules and thresholds
Month 3: Re-scan → measure improvement
Month 4: Expand scope (new data sources) → re-baseline
Month 5: Review edge cases → create custom classifiers
Month 6: Accuracy audit by DPO → formal accuracy report
[Repeat cycle]

Integration Points

  • data-inventory-mapping: Automated discovery feeds Art. 30 data inventory
  • pii-in-unstructured: Specialized techniques for unstructured data augment platform capabilities
  • data-labeling-system: Discovery results drive automated label application
  • classification-policy: Discovery validates compliance with classification policy tiers
  • data-lineage-tracking: Discovery combined with lineage provides complete data visibility

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Evaluates and implements age estimation and verification technologies for online services. Covers facial age estimation, digital ID verification, self-declaration with risk assessment, AI-based age estimation, and the accuracy versus privacy tradeoff. Includes ICO guidance and euCONSENT framework. Keywords: age verification, age estimation, facial analysis, digital ID, children, online safety.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Preparing EU AI Act compliance documentation for high-risk AI systems. Covers Annex III classification, technical documentation under Art. 11, conformity assessment, risk management systems, and CE marking requirements. Keywords: EU AI Act, high-risk AI, Annex III, conformity assessment, CE marking.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements GDPR Art. 22 automated decision-making and AI Act Art. 14 human oversight requirements for AI systems. Covers identification of solely automated decisions, meaningful human intervention design, logic explanation mechanisms, and contestation procedures. Keywords: Art. 22, automated decision, human oversight, AI Act, profiling, contestation.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

mukul975 のスキルをすべて見る

このスキルの問題を報告する