← Back to all products

Compliance Automation Suite

$89

Automated compliance for GDPR, SOC 2, ISO 27001, and NIS2. Evidence collection scripts, DPIA templates, and audit preparation guide.

📁 18 files🏷 v1.0.0
PythonSQLMarkdownJSONAzureDatabricksPySparkSparkDelta Lake

📁 File Structure 18 files

compliance-automation-suite/ ├── README.md ├── dashboards/ │ └── compliance_dashboard.sql ├── gdpr/ │ ├── consent_tracking.py │ ├── dpia_template.md │ ├── dsr_handler.py │ └── ropa_generator.py ├── mappings/ │ ├── gdpr_databricks_controls.md │ ├── iso27001_controls.md │ ├── nis2_checklist.md │ └── soc2_azure_controls.md ├── scripts/ │ ├── access_control_audit.py │ ├── audit_log_validation.py │ ├── data_retention_check.py │ ├── encryption_verification.py │ └── network_security_check.py └── templates/ ├── audit_preparation.md └── soc2_evidence_binder.md

📖 Documentation Preview README excerpt

Compliance Automation Suite

Product ID: compliance-automation-suite

Version: 1.0.0

Price: $89 USD

Author: [Datanest Digital](https://datanest.dev)

Category: Enterprise

---

Overview

The Compliance Automation Suite provides production-ready tooling for organizations operating

on Databricks and Azure that must satisfy GDPR, SOC 2 Type II, ISO 27001, and the EU NIS2

Directive. Instead of manually assembling evidence and cross-referencing spreadsheets before

every audit cycle, this suite automates the heavy lifting: continuous control verification,

evidence collection, gap analysis, and audit-readiness reporting.

Every script is designed as a Databricks notebook or standalone Python module so it slots

directly into existing lakehouse architectures. The control mappings translate regulatory

language into concrete technical controls you can verify programmatically.

What's Included

Control Mappings (`mappings/`)

| File | Description |

|------|-------------|

| gdpr_databricks_controls.md | GDPR articles mapped to Databricks technical controls |

| soc2_azure_controls.md | SOC 2 Trust Service Criteria mapped to Azure services |

| iso27001_controls.md | ISO 27001:2022 Annex A controls in spreadsheet format |

| nis2_checklist.md | NIS2 Directive (EU 2022/2555) compliance checklist |

Audit Scripts (`scripts/`)

| File | Description |

|------|-------------|

| access_control_audit.py | Audit workspace ACLs, group memberships, token lifetimes |

| encryption_verification.py | Verify encryption at rest, in transit, and key management |

| data_retention_check.py | Check data lifecycle against retention policies |

| audit_log_validation.py | Validate audit log completeness and integrity |

| network_security_check.py | Assess network security posture and segmentation |

GDPR Toolkit (`gdpr/`)

| File | Description |

|------|-------------|

| dsr_handler.py | Data Subject Request handler (access, portability, erasure) |

| consent_tracking.py | Consent lifecycle tracking integration pattern |

| dpia_template.md | Data Protection Impact Assessment template |

| ropa_generator.py | Records of Processing Activities generator |

Templates (`templates/`)

| File | Description |

|------|-------------|

| soc2_evidence_binder.md | SOC 2 evidence binder organized by TSC |

| audit_preparation.md | 30-day countdown audit preparation guide |

Dashboards (`dashboards/`)

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

gdpr/consent_tracking.py """ Consent Tracking Integration Pattern ====================================== Compliance Automation Suite — Datanest Digital (https://datanest.dev) Provides a consent lifecycle management pattern for Databricks lakehouse architectures. Tracks consent grants, withdrawals, and renewals with an immutable audit trail in Delta Lake. Frameworks: GDPR Art. 6/7, SOC 2 P1.2, ISO 27001 A.5.34 """ from __future__ import annotations import json import hashlib import logging from dataclasses import dataclass, field, asdict from datetime import datetime, timezone from enum import Enum from typing import Any, Optional import requests logger = logging.getLogger("datanest.compliance.consent_tracking") # --------------------------------------------------------------------------- # Enums and data classes # --------------------------------------------------------------------------- class ConsentAction(Enum): """Actions in the consent lifecycle.""" GRANT = "grant" WITHDRAW = "withdraw" RENEW = "renew" EXPIRE = "expire" UPDATE = "update" class ConsentPurpose(Enum): """Standard processing purposes for consent granularity.""" ANALYTICS = "analytics" MARKETING = "marketing" PROFILING = "profiling" THIRD_PARTY_SHARING = "third_party_sharing" PERSONALIZATION = "personalization" RESEARCH = "research" # ... 401 more lines ...