Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b832267
Create transparent-catalog-privacy-controls-posture.md
shrutibist Aug 20, 2026
81cbae1
Update README.md
shrutibist Aug 20, 2026
d7d4c4f
Update transparent-catalog-privacy-controls-posture.md
shrutibist Aug 20, 2026
e743dc5
Fixing some links in README
spier Aug 22, 2026
20d9933
Adding oreilly link to ignore list for link-checker
spier Aug 22, 2026
22f2d19
Apply suggestion from @amburi
shrutibist Sep 14, 2026
0570ed7
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
8506fd2
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
84353a1
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
e2d3fbe
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
630e988
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
62cd5de
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
2f8a7d6
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
93fa036
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
27db075
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
53bf119
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
ea25848
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
ea74382
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
2cc2fd4
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
6704cff
Update patterns/1-initial/transparent-catalog-privacy-controls-postur…
shrutibist Sep 14, 2026
4d929d6
Rework pattern per review: shorten patlet, reframe as InnerSource
shrutibist Nov 29, 2026
ee0d231
Fix markdownlint issues in Compliance Controls pattern
claude Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ https://www.linkedin.com/in
# from source-code-inventory.md / no longer reachable but we want to keep the link in the pattern in case we find it again.
https://github.com/trieshard/source-strategy-assessment/blob/master/framework.md
https://dl.acm.org/doi/10.5555/3158161.3158175
https://retromat.org/en/
https://retromat.org/en/
https://www.oreilly.com/pub/e/3884
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Check Links](https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/link-checker.yml/badge.svg)](https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/link-checker.yml)
[![Pattern Syntax Validation](https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/lint-patterns.yml/badge.svg)](https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/lint-patterns.yml)
[![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://innersourcecommons.org/slack)
[![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://innersourcecommons.org/slack/)

# InnerSource Patterns

Expand All @@ -15,7 +15,7 @@ Below you find [what a pattern is](#what-are-innersource-patterns), a [list of k

Are you already using InnerSource in your company? If you would like to share your experiences with the world, we would love to [welcome your contributions](#how-to-contribute)!

[isc-website]: http://innersourcecommons.org
[isc-website]: https://innersourcecommons.org

## Mission Statement

Expand Down Expand Up @@ -100,6 +100,7 @@ Our mission
* [Centralized InnerSource Repository Governance](patterns/1-initial/centralized-repository-governance.md) - *InnerSource repositories lose contributor readiness when project hygiene drifts across teams. A central governance repository defines readiness checks as policy-as-code and runs automated audits that help Trusted Committers and repository maintainers keep projects discoverable, understandable, and contribution-ready without removing local ownership.*
* [InnerSource as a Career Booster](patterns/1-initial/innersource-as-career-booster.md) - *Many employees wonder how contributing to InnerSource projects benefits their careers beyond their immediate team objectives. By engaging in InnerSource, individuals expand their skills, grow their network, increase visibility across the organization, and unlock new career opportunities.*
* [Migrating from InnerSource to Open Source](patterns/1-initial/migrating-from-innersource-to-open-source.md) - *When an InnerSource project succeeds internally and meets criteria for external release, organizations often lack a structured approach for the transition. Establish a process that addresses legal, security, governance, and community readiness to transition the project to open source while maintaining its internal value.*
* [Transparent Catalog of Privacy Controls and Posture](patterns/1-initial/transparent-catalog-privacy-controls-posture.md) - *Large organizations often have no standardized, discoverable set of privacy controls that engineering teams can implement against, and no reliable visibility into which teams actually comply with existing privacy requirements, so risk stays hidden until an audit or incident surfaces it. Publish a version-controlled Privacy Controls Catalog as the shared baseline, open to engineering-proposed refinements but authored by privacy/legal, and maintain a separate, access-tiered Privacy Posture Register through the same pull-request and trusted-committer workflow, so compliance becomes a continuously queryable property of the codebase instead of a periodic audit exercise.*

<!--
NOTE: The 'Initial' Patterns below don't have a Patlet yet, which is essential for readers to quickly browse our patterns.
Expand Down Expand Up @@ -134,10 +135,10 @@ Patterns are a way of describing a repeatable, proven solution to a problem with
Patterns can provide a way for the InnerSource Commons participants to concisely share information, improving the practice of InnerSource. Patterns are divided into Title, Problem Statement, Context, Forces, and Solutions as their main sections.

* [What are patterns?](https://bit.ly/innersource_patterns_videos) - Watch a set of 2-5 min videos explaining InnerSource Patterns
* [Pattern Discussion Webinar](https://youtu.be/i-0IVhfRVFU?t=1479) - We held a webinar 2017-03-16 to have a live discussion on a donut pattern (go to [24:40](https://youtu.be/i-0IVhfRVFU?t=1479) for the discussion). This is an illustration of the review process we follow. Also see the [June 1, 2017 O'Reilly Webinar on InnerSource Patterns](http://www.oreilly.com/pub/e/3884).
* [Pattern Discussion Webinar](https://youtu.be/i-0IVhfRVFU?t=1479) - We held a webinar 2017-03-16 to have a live discussion on a donut pattern (go to [24:40](https://youtu.be/i-0IVhfRVFU?t=1479) for the discussion). This is an illustration of the review process we follow. Also see the [June 1, 2017 O'Reilly Webinar on InnerSource Patterns](https://www.oreilly.com/pub/e/3884).
* [Pattern Template File](meta/pattern-template.md) - View a skeleton InnerSource pattern to get an idea on what goes into a new pattern!
* [Introduction to InnerSource Patterns (2016 Fall Summit)](https://drive.google.com/open?id=0B7_9iQb93uBQbnlkdHNuUGhpTXc) - *Tim Yao and Padma Sudarsan* (PDF). Detailed pattern background and examples -- Get a detailed understanding of why and how to interact with our patterns. Also see the [Introduction to InnerSource Patterns (2017 Fall Summit)](https://drive.google.com/open?id=0B7_9iQb93uBQWmYwMFpyaGh4OFU) *Tim Yao and Bob Hanmer* (PDF).
* A scientific look at how to write patterns: [A pattern language for pattern writing](http://hillside.net/index.php/a-pattern-language-for-pattern-writing), Meszaros and Doble
* A scientific look at how to write patterns: [A pattern language for pattern writing](https://hillside.net/index.php/a-pattern-language-for-pattern-writing), Meszaros and Doble

## How can you use InnerSource Patterns?

Expand All @@ -155,6 +156,6 @@ To learn more about how to contribute, refer to our [CONTRIBUTING.md](CONTRIBUTI

## Licensing

![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)
![Creative Commons License](https://licensebuttons.net/l/by-sa/4.0/88x31.png)

InnerSourcePatterns by [InnerSourceCommons.org](http://innersourcecommons.org) is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International](http://creativecommons.org/licenses/by-sa/4.0/) License.
InnerSourcePatterns by [InnerSourceCommons.org](https://innersourcecommons.org) is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International](http://creativecommons.org/licenses/by-sa/4.0/) License.
129 changes: 129 additions & 0 deletions patterns/1-initial/compliance-controls-as-innersource-project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
## Title

Compliance Controls as an InnerSource Project

## Patlet

Teams facing common compliance problems, such as privacy and security, each create their own assessments, standards, and controls, and nobody can find, reuse, or improve a shared answer. Publish them as an InnerSource project, a library of best practices and reference implementations that privacy/legal govern and any team can contribute to, and, optionally, keep adoption status in a separate, access-tiered register.

## Problem

Teams know they should implement compliance controls but not the best way to do it or what is needed. This pattern uses privacy as its worked example. Retention and deletion, encryption, data minimization, and obfuscation are only some of the many privacy controls, and security controls face the same problem. Requirements live in policy PDFs, wikis, and a small central team, so teams facing the same problem each create similar assessments, standards, and controls separately, and have no way to find the owner or contribute improvements. This is the usual InnerSource problem, a shared solution nobody can find, reuse, or improve, applied to compliance guidance instead of product code.

The central team also needs to know which services have implemented which controls. A record of who has not is a list of weak points, so it cannot be opened up the way the library can.

## Story

Three teams in a large organization each independently build a solution for redacting PII from application logs, over the same one-year period. None knows the others exist. One implementation misses a common data format and leaks partial PII into a logging pipeline for months. When the gap is found, there turns out to be no authoritative reference for redacting PII from logs at this company, only three unreviewed interpretations of the same requirement. A shared, tested reference implementation would have let the missed format be fixed once for every team.

## Context

* Many engineering teams build and operate services independently.
* A small central function (privacy, legal, compliance, or security) defines requirements.
* Code already lives in version control, and teams already use pull requests. The organization has some InnerSource practice, or wants a first project to practice it on.
* Requirements change over time.
* Information about unaddressed gaps is sensitive.

## Forces

* **Reuse vs. team autonomy:** a shared implementation saves effort and is easier to audit, but teams resist controls that ignore their context.
* **Open contribution vs. central authority:** engineers can improve how a control is implemented, but whether a legal obligation exists must be decided centrally.
* **Contribution incentive:** teams contribute back only if doing so is cheaper than keeping a private copy.
* **Review capacity:** a small central team cannot review every contribution without becoming a bottleneck.
* **Currency vs. effort:** guidance goes stale unless updating it is part of normal engineering work.
* **Openness vs. exposure:** a detailed record of "what's missing" is also a map of weak points, and teams record gaps honestly only if it does not feel like exposing themselves.

## Sketch

```text
┌─────────────────────────────┐ ┌───────────────────────────────┐
│ Compliance Controls │ │ Posture Register (optional) │
│ Library (broadly readable) │ │ (access-tiered) │
│ │ │ │
│ PC-001 Data retention │ used │ service-a.md: PC-001 ✓ PC-002 ✗│
│ PC-002 Encryption at rest │◄──by──►│ service-b.md: PC-001 ✓ PC-002 ✓│
│ PC-003 Data minimization │ teams │ service-c.md: PC-001 ✗ ... │
│ reference implementations │ │ │
└───────────────┬───────────────┘ └───────────────┬─────────────────┘
│ PR + review │ PR + review
▼ ▼
Trusted committers Trusted committers
(privacy / legal / security) (privacy champions + core team)
```

## Solution

Treat compliance controls, assessments, and standards as an InnerSource project: a shared library of documentation and reference code kept together in one repository. Add a restricted register only if the central team also needs to track adoption.

**1. Publish the controls as a shared library.**
Create a repository of individually identified controls (for example `PC-001-data-retention.md`) with best practices for implementing them. Each has a short definition, the regulatory clauses it maps to (several regimes where more than one applies, with mapping changes released as versions), a tier (mandatory / recommended / situational, assigned by privacy/legal), and, where possible, a reference implementation a team can import: a shared library, a Terraform module, or a config template. Assessment templates and standards can live in the same repository.

```text
PC-001 Data retention
Tier: mandatory
Maps to: GDPR Art. 5(1)(e), storage limitation
Definition: Personal data is deleted or anonymized once its retention period ends.
Reference: retention-lib v2.3 / terraform module "retention-policy"
```

The repository is broadly readable and carries a `README`, a `CONTRIBUTING` guide, and a `CODEOWNERS` file naming the trusted committers. Name at least two, so ownership survives someone leaving. Teams build from the reference implementation, consume it like a versioned dependency, and contribute back when they improve on it.

**2. Govern contributions at explicit levels.**
Contributions map onto [Explicit Governance Levels](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/2-structured/governance-levels.md):

| Change | Level | Approved by |
| --- | --- | --- |
| Fixing a description, adding a tech stack, improving an example | Contributions Welcome | Privacy champion |
| Changing what a reference implementation does (for example, which fields are redacted) | Contributions Welcome, with tests required | Trusted committer |
| New control, tier assignment, or exception | Originated by privacy/legal | Privacy/legal, with final merge authority |

Privacy champions in product teams can be given write access as trusted committers (*Shared Write Access*) for routine changes and escalate anything ambiguous. Engineers can raise the need for a new control, and drafting can happen openly, for example through an RFC.

**3. Keep it current through normal workflow.**
Add a short privacy section to the pull request template (data involved, purpose, shared controls reused as name@version, exceptions). Exceptions are approved by privacy/legal and recorded with an expiry date. Release controls with version numbers and a changelog, and give old versions a support window when a control or its legal mapping changes, so consumers know to upgrade. Where a control has a code-detectable signature (for example, "must use the approved PII redaction library"), add a CI check other repositories can import. A check counts as enforced only if it blocks merges, so tune it to keep false positives low enough that teams do not learn to ignore it.

**4. Optionally, add an access-tiered Posture Register.**
Create a separate, access-restricted repository (a restricted path in the same repository does not protect git history, forks, or CI logs) where each team records per control ID whether and how its service implements it.

```text
service-a
PC-001 implemented retention-lib v2.3
PC-002 gap target Q3, owner: payments-team
```

Teams update their entry in the pull request that changes their data model or controls. Name an owner for the register, grant access through a documented request, and flag entries not updated within an agreed period. Restrict read access to privacy champions, team leads, and the central team, and generate wider dashboards from aggregated status ("4 of 5 required controls implemented"), only for groups large enough that no single team's gaps can be inferred. See [Balancing Openness and Security](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/1-initial/balancing-openness-and-security.md) for sharing levels in general.

**Getting started.** Pick one control that many teams implement inconsistently, publish it with a reference implementation, name its trusted committers in `CODEOWNERS`, and invite two teams to adopt and refine it. Track a simple signal of success, such as how many teams reuse the control and how many duplicate implementations are retired.

## Resulting Context

Teams find which controls apply and how to implement them in one versioned place, which should lead to more unified implementations, and they contribute improvements back instead of building private copies. Audit and customer responses can draw on an evidence trail of review comments, merge timestamps, and diffs. Because that history can be discoverable, have legal review what is recorded. With a register, the central team can query posture instead of surveying teams before every audit. Using a shared control does not by itself make a service compliant, so assessments and legal review still apply.

New problems appear: trusted committers can become a bottleneck if contributions outpace review capacity, and register access needs ongoing administration as team structures change.

## Rationale

Reuse works when the shared asset is easy to find, has a clear owner, and accepts contributions. Documentation refinements carry little risk because they come from engineers who have tried to use the control, and changes to behavior are protected by tests and review, while new controls stay centralized because whether a legal obligation exists is not something breadth of contribution improves. The register is separate because a full account of "who is not compliant with what" is functionally an attack-surface map.

**Scope.** This pattern does not decide what a regulation requires or how to assess compliance. That stays privacy engineering and legal work. The pattern covers how the controls are found, owned, contributed to, reviewed, and kept current.

## Related Patterns

* [Balancing Openness and Security](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/1-initial/balancing-openness-and-security.md): sharing levels and separating sensitive material. The register applies this to a non-code record that must first be created.
* [Explicit Governance Levels](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/2-structured/governance-levels.md): the contribution model above maps onto these levels.
* [Trusted Committer](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/2-structured/trusted-committer.md): privacy/legal staff and champions hold merge authority.
* [Common Requirements](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/2-structured/common-requirements.md): a shared library must meet the needs of many consuming teams.
* [Transparent Cross-Team Decision Making using RFCs](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/2-structured/transparent-cross-team-decision-making-using-rfcs.md): a way to propose new controls openly before a committer merges them.
* [Good First Project](https://github.com/InnerSourceCommons/InnerSourcePatterns/blob/main/patterns/1-initial/good-first-project.md): a library with a clear owner and low-risk contributions can be a first InnerSource project.

## Known Instances

A large technology company publishes a version-controlled repository of security and compliance guidance, including a regulatory-compliance section, code samples, and contribution guidelines, openly on GitHub. It is curated centrally and aimed at customers, so it illustrates the library side of this pattern only. It has no internal contribution model and no posture register.

## Status

Initial

## Author(s)

Shruti Bist
Loading