
automated-ropa-generation
Generates Records of Processing Activities automatically from IT system inventories including Active Directory, cloud service catalogs, API gateway logs, and database schemas. Covers automated field population, data flow discovery, and system-to-RoPA mapping. Activate for automated RoPA, system inventory, data discovery, auto-population, IT-driven records.
- Installs
- 44
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill automated-ropa-generation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads automated-ropa-generation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Automated RoPA Generation
Overview
Manual RoPA creation through interviews and questionnaires is time-consuming, subjective, and prone to omitting processing activities that stakeholders forget or are unaware of. Automated RoPA generation leverages existing IT system inventories, cloud service catalogs, API gateway logs, and database schemas to discover processing activities and pre-populate Art. 30(1) fields. This approach reduces the RoPA creation burden by 60-80% while improving coverage, as it captures processing activities that manual interviews routinely miss (shadow IT, automated data pipelines, third-party integrations).
Data Sources for Automated RoPA Population
Source 1: Active Directory / Azure AD
What it reveals:
- Organisational structure (departments, teams) for mapping processing owners
- Group memberships revealing who has access to what systems (recipient categories)
- Application registrations and service principals (processing system inventory)
- Conditional access policies (security measures documentation)
Art. 30 fields populated:
| Field | Data Extracted from AD |
|---|---|
| Art. 30(1)(a) — Controller identity | Organisation name, department hierarchy, DPO group membership |
| Art. 30(1)(d) — Recipients | Security group memberships reveal internal access patterns |
| Art. 30(1)(g) — Security measures | Conditional access policies, MFA enforcement status |
Discovery approach for Helix Biotech Solutions:
Azure AD Tenant: helix-biotech.onmicrosoft.com
├── Enterprise Applications (87 registered)
│ ├── SAP SuccessFactors → HR processing activities
│ ├── Veeva Vault CDMS → Clinical trial data management
│ ├── Salesforce → Customer relationship management
│ ├── Google Analytics → Website analytics
│ ├── ADP Workforce Now → Payroll processing
│ └── ... (82 more applications)
├── Security Groups (134 groups)
│ ├── SG-HR-Payroll (4 members) → Access to payroll data
│ ├── SG-Clinical-Data (12 members) → Access to clinical trial data
│ ├── SG-Finance-AP (6 members) → Access to accounts payable
│ └── ... (131 more groups)
└── Conditional Access Policies (23 policies)
├── Require MFA for all users
├── Block legacy authentication
├── Require compliant device for clinical systems
└── ... (20 more policies)
Source 2: Cloud Service Catalog
What it reveals:
- All cloud services (IaaS, PaaS, SaaS) in use
- Data residency (which regions/countries data is stored in)
- Service provider identity (processors and sub-processors)
- Data classification tags (if implemented)
AWS example for Helix Biotech Solutions:
| AWS Service | Region | Personal Data Indicator | Mapped Processing Activity |
|---|---|---|---|
| RDS (PostgreSQL) | eu-central-1 | Tagged: data-classification=confidential | Employee HR database |
| S3 Bucket: helix-clinical-data | eu-central-1 | Tagged: data-classification=restricted, contains-special-category=true | Clinical trial document storage |
| S3 Bucket: helix-marketing | eu-central-1 | Tagged: data-classification=internal | Marketing analytics data |
| Lambda: payroll-processor | eu-central-1 | Invoked by ADP integration | Payroll data transformation |
| CloudFront Distribution | Global (edge) | Logs contain IP addresses | Website content delivery |
| SES (Simple Email Service) | eu-west-1 | Sends to email addresses | Customer and employee email communications |
Azure example:
| Azure Service | Region | Data Classification | Mapped Processing Activity |
|---|---|---|---|
| Azure SQL | West Europe | Confidential | Finance and accounting database |
| Azure Blob Storage | West Europe | Restricted | Clinical trial imaging data |
| Azure AD | Global | Internal | Identity and access management |
| Azure Monitor | West Europe | Internal | System monitoring (may capture user activity) |
Source 3: API Gateway Logs
What it reveals:
- Which APIs handle personal data (based on request/response inspection)
- Data flow patterns between systems (upstream and downstream)
- Third-party API integrations (external recipients)
- Volume and frequency of data processing (helps assess whether processing is "occasional" for Art. 30(5))
API Gateway analysis for Helix Biotech Solutions:
| API Endpoint | Method | Personal Data Fields | Upstream System | Downstream System | Daily Volume |
|---|---|---|---|---|---|
| /api/v2/employees | GET/POST | employee_id, name, email, department | SAP SuccessFactors | Internal HR portal | 340 requests |
| /api/v2/patients/{id}/records | GET | patient_id, diagnosis, treatment | Veeva Vault CDMS | Clinical reporting dashboard | 1,200 requests |
| /api/v2/orders | POST | customer_name, email, billing_address | Salesforce | SAP ERP | 890 requests |
| /api/v1/analytics/events | POST | ip_address, user_agent, page_url | Website (JS tracker) | Google Analytics | 45,000 requests |
| /api/v2/vendor/payments | POST | vendor_name, bank_account, tax_id | SAP ERP | Banking API (Deutsche Bank) | 120 requests |
Source 4: Database Schemas
What it reveals:
- Exact data categories stored (column names and types)
- Table relationships revealing data flows
- Personal data identification through column name pattern matching
- Data volume and growth patterns
Schema analysis approach:
- Connect to each database identified in the cloud catalog.
- Extract table schemas (column names, data types, constraints).
- Apply personal data identification patterns to column names.
- Map identified personal data columns to Art. 30(1)(c) data categories.
Personal data column name patterns:
| Pattern | Data Category | Art. 9 Special Category |
|---|---|---|
*name*, *first_name*, *last_name*, *full_name* | Name | No |
*email*, *e_mail* | Email address | No |
*phone*, *mobile*, *telephone* | Phone number | No |
*address*, *street*, *city*, *postcode*, *zip* | Postal address | No |
*dob*, *date_of_birth*, *birth_date* | Date of birth | No |
*ssn*, *social_security*, *tax_id*, *national_id* | National identifier | No |
*salary*, *compensation*, *bank_account*, *iban* | Financial data | No |
*ip_address*, *ip_addr* | IP address | No |
*diagnosis*, *medical*, *health*, *condition* | Health data | Yes |
*genetic*, *dna*, *genome* | Genetic data | Yes |
*biometric*, *fingerprint*, *facial* | Biometric data | Yes |
*ethnicity*, *race*, *ethnic_origin* | Racial/ethnic origin | Yes |
*religion*, *religious*, *belief* | Religious beliefs | Yes |
*union*, *trade_union* | Trade union membership | Yes |
*political*, *party* | Political opinions | Yes |
*criminal*, *conviction*, *offence* | Criminal data (Art. 10) | Art. 10 |
Automated Field Population Logic
Art. 30(1)(a) — Controller Identity
Source: Azure AD tenant configuration + organisation management. Automation: Fully automated from AD tenant metadata.
Art. 30(1)(b) — Purposes
Source: Application descriptions in AD enterprise application registry + API documentation. Automation: Partially automated. The system name and description provide a starting point, but specific purpose articulation requires human refinement to meet Art. 5(1)(b) specificity requirements.
Approach: Generate a draft purpose from the application description, flag it as "DRAFT — requires DPO review," and assign to the processing owner for refinement.
Art. 30(1)(c) — Data Subject and Data Categories
Source: Database schema analysis + API request/response schemas. Automation: Highly automated for data categories (column name matching). Data subject categories require inference from table context.
Art. 30(1)(d) — Recipients
Source: AD security groups (internal recipients) + API gateway logs (external integrations) + cloud service catalog (processors). Automation: Highly automated. AD groups reveal internal access. API gateway reveals external data flows. Cloud catalog identifies processors.
Art. 30(1)(e) — International Transfers
Source: Cloud service region configuration + API gateway destination IPs + CDN configuration. Automation: Highly automated. If a cloud service is deployed in a non-EEA region, or API calls route to non-EEA endpoints, the system flags a potential international transfer.
Art. 30(1)(f) — Retention Periods
Source: Database table statistics (oldest records), backup retention policies, lifecycle management rules. Automation: Partially automated. Can detect actual retention (how long data exists) but not intended retention (how long it should exist). Flags discrepancies between actual and policy retention.
Art. 30(1)(g) — Security Measures
Source: Cloud security configuration (encryption settings, access policies), AD conditional access policies, WAF rules, certificate configuration. Automation: Highly automated for technical measures. Organisational measures require manual documentation.
Automation Coverage Summary
| Art. 30(1) Field | Automation Level | Human Review Required |
|---|---|---|
| (a) Controller identity | High (90%) | Verify legal entity name, DPO current |
| (b) Purposes | Low (30%) | Purpose must be articulated specifically |
| (c) Data subject categories | Medium (60%) | Verify inferred categories |
| (c) Personal data categories | High (85%) | Verify pattern-matched columns |
| (d) Recipients | High (80%) | Verify external recipients, add DPA references |
| (e) International transfers | High (85%) | Verify transfer mechanisms |
| (f) Retention periods | Low (25%) | Define policy retention, not just actual |
| (g) Security measures | Medium (70%) | Add organisational measures |
Implementation Architecture
┌─────────────────────┐ ┌──────────────────┐ ┌────────────────────┐
│ Azure AD / Okta │ │ Cloud Catalog │ │ API Gateway Logs │
│ (Org structure, │ │ (AWS/Azure/GCP │ │ (Data flows, │
│ app registrations,│ │ service list, │ │ external calls, │
│ security groups) │ │ regions, tags) │ │ volumes) │
└────────┬────────────┘ └────────┬─────────┘ └─────────┬──────────┘
│ │ │
▼ ▼ ▼
┌────────────────────────────────────────────────────────────────────┐
│ RoPA Auto-Generation Engine │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │
│ │ AD Parser │ │ Cloud Parser │ │ API Log Analyzer │ │
│ └──────┬───────┘ └──────┬───────┘ └──────────┬───────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌────────────────────────────────────────────────────────────┐ │
│ │ Field Mapping and Population Engine │ │
│ │ • Pattern matching for personal data columns │ │
│ │ • Data flow graph construction │ │
│ │ • Transfer detection (non-EEA region identification) │ │
│ │ • Security control extraction │ │
│ └────────────────────────┬───────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────────────┐ │
│ │ Draft RoPA Generator │ │
│ │ • Creates draft entries with populated fields │ │
│ │ • Flags fields requiring human review │ │
│ │ • Assigns to processing owners for validation │ │
│ └────────────────────────┬───────────────────────────────────┘ │
└───────────────────────────┼───────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────────────┐
│ Database Schema Scanner │
│ (Connects to identified databases, extracts schemas, │
│ applies PII detection patterns) │
└────────────────────────────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────────────┐
│ RoPA Management Platform │
│ (OneTrust / TrustArc / Collibra / Custom) │
│ Draft entries queued for DPO and processing owner review │
└────────────────────────────────────────────────────────────────────┘
Limitations and Risk Mitigation
-
False positives in PII detection: Column names like "company_address" may be flagged as personal data when they are business data. Mitigation: human review of all auto-detected PII columns.
-
Missing context for purposes: Automated systems cannot infer the business purpose of processing from technical metadata alone. Mitigation: purposes are always flagged as "DRAFT" and require human articulation.
-
Shadow IT blind spots: Systems not registered in AD or cloud catalogs will not be discovered. Mitigation: combine automated discovery with periodic manual questionnaires to capture unregistered processing.
-
Encrypted or tokenised data: If data is encrypted at the column level or tokenised, schema analysis may not detect personal data. Mitigation: maintain a manual register of encryption/tokenisation mappings.
-
Consent and lawful basis: Cannot be determined from technical metadata. Always requires legal/DPO input.
FAQ
What does the automated-ropa-generation skill do?
Generates Records of Processing Activities automatically from IT system inventories including Active Directory, cloud service catalogs, API gateway logs, and database schemas. Covers automated field population, data flow discovery, and system-to-RoPA mapping. Activate for automated RoPA, system inventory, data discovery, auto-population, IT-driven records.
How do I install automated-ropa-generation?
Run npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill automated-ropa-generation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/automated-ropa-generation/ (personal) or .claude/skills/automated-ropa-generation/ (project).
Which AI agents can use automated-ropa-generation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is automated-ropa-generation safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains automated-ropa-generation?
It is published by mukul975 in mukul975/privacy-data-protection-skills. It has 44 recorded installs.
More from mukul975/privacy-data-protection-skills
brazil-lgpd
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
analytics-cookie-consent
mukul975/privacy-data-protection-skills
Managing consent for analytics cookies and implementing privacy-preserving measurement. Covers GA4 privacy configuration, consent mode fallback behavior, aggregate reporting alternatives, and cookieless measurement approaches.
audit-report-writing
mukul975/privacy-data-protection-skills
Guides privacy audit report writing including executive summary drafting, findings classification (critical, high, medium, low), evidence referencing, root cause analysis documentation, recommendation formulation, management response tracking, and report distribution protocols. Covers report structure from scope definition through appendices and sign-off. Keywords: audit report, findings documentation, executive summary, recommendations, report structure, privacy audit deliverables.
gdpr-compliance-audit
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
conducting-gdpr-dpia
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
backup-retention-erasure
mukul975/privacy-data-protection-skills
Open the skill to read its SKILL.md instructions.
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.