Skip to main content
QUICK REVIEW

[Paper Review] TIRA: An OpenAPI Extension and Toolbox for GDPR Transparency in RESTful Architectures

Elias Grünewald, Paul Wille|arXiv (Cornell University)|Jun 10, 2021
Semantic Web and OntologiesComputer Science37 references21 citations
TL;DR

TIRA introduces an OpenAPI 3 extension and a suite of CI/CD-integrated tools to automate GDPR-compliant transparency in RESTful microservice architectures. By enabling developers to annotate personal data processing per service and aggregating this data across interdependent services, TIRA generates precise, up-to-date transparency information that reflects actual implementations, reducing reliance on vague privacy policies.

ABSTRACT

Transparency - the provision of information about what personal data is collected for which purposes, how long it is stored, or to which parties it is transferred - is one of the core privacy principles underlying regulations such as the GDPR. Technical approaches for implementing transparency in practice are, however, only rarely considered. In this paper, we present a novel approach for doing so in current, RESTful application architectures and in line with prevailing agile and DevOps-driven practices. For this purpose, we introduce 1) a transparency-focused extension of OpenAPI specifications that allows individual service descriptions to be enriched with transparency-related annotations in a bottom-up fashion and 2) a set of higher-order tools for aggregating respective information across multiple, interdependent services and for coherently integrating our approach into automated CI/CD-pipelines. Together, these building blocks pave the way for providing transparency information that is more specific and at the same time better reflects the actual implementation givens within complex service architectures than current, overly broad privacy statements.

Motivation & Objective

  • To address the gap in technical tools that systematically capture transparency information about personal data processing in agile, DevOps-driven, RESTful microservice architectures.
  • To provide a practical, developer-friendly approach that aligns with existing software engineering practices and reduces manual effort in compliance.
  • To enable the automatic aggregation of transparency metadata across multiple, interdependent services for a unified, up-to-date view.
  • To support the integration of transparency metadata into CI/CD pipelines, ensuring it remains synchronized with code changes.

Proposed method

  • Extending OpenAPI 3 with a GDPR-aligned transparency vocabulary and schema to annotate individual services with data processing details such as purpose, retention, and legal basis.
  • Defining a structured metadata model to express personal data processing activities, including data categories, purposes, legal bases, and data transfer details.
  • Implementing a Git-based event-driven pipeline component that detects changes in OpenAPI specifications and triggers updates in a central TransparencyHub.
  • Building a TransparencyHub to aggregate and manage transparency metadata from multiple services, enabling cross-service data flow and processing visibility.
  • Designing the system to be extensible to other API description formats like RAML, API Blueprint, and GraphQL in future versions.
  • Integrating the toolchain into CI/CD pipelines via webhooks to ensure real-time synchronization of transparency metadata with service code changes.

Experimental results

Research questions

  • RQ1How can transparency information about personal data processing be systematically captured and expressed at the service level in modern, RESTful microservice architectures?
  • RQ2What technical mechanisms can enable the automatic aggregation of transparency metadata across interdependent services without disrupting agile and DevOps workflows?
  • RQ3How can transparency metadata be integrated into CI/CD pipelines to ensure it remains consistent with actual implementation changes?
  • RQ4To what extent can an annotation-based approach replace or complement static analysis or access control mechanisms in ensuring GDPR compliance?
  • RQ5How can the resulting transparency information be structured and exposed in a machine-readable, standardized format for downstream use?

Key findings

  • TIRA enables the bottom-up, developer-centric annotation of personal data processing details—such as purpose, retention, and legal basis—directly within OpenAPI specifications, ensuring alignment with actual implementation.
  • The system successfully aggregates transparency metadata from multiple, interdependent services into a coherent, unified view, reflecting real-time changes in the codebase.
  • By integrating with Git-based version control and CI/CD pipelines via webhooks, TIRA ensures that transparency information is continuously synchronized with service updates, minimizing manual overhead.
  • The approach supports the semi-automatic generation of comprehensive transparency disclosures spanning multiple services or even organizations, improving accuracy over traditional privacy policies.
  • TIRA’s design is extensible and supports future integration with alternative API description formats such as RAML, API Blueprint, and GraphQL schemas.
  • The toolchain demonstrates practical feasibility in real-world DevOps environments, offering a viable path toward fulfilling Article 25 GDPR’s 'privacy by design' requirements through technical implementation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.