Ensuring compliance with privacy regulations can be a challenging task, requiring continuous monitoring and the ongoing collection of consent for data usage. The Swiss Data Custodian is an open-source framework that provides the necessary tools to govern data access and processing and enables secure and compliant data usage through contractual agreements.