SlideShare a Scribd company logo
1 of 11
Download to read offline
Continuous
Open Source
Compliance
A framework for a policy-driven
Open Source Programme Office
Simon Phipps, @webmink
simon@meshedinsights.com
SFSCon 2020
Overview
● Software usage is now underpinned by open source
○ Best practice for a medium-large enterprise will manage use of open source
○
○ A centralised Programme Office handles these issues optimally
● Starting point is a set of policies
○ Much to consider beyond merely licensing, much licensing beyond mere GPL
○ Clearly stated
○ Measurable compliance
○ Executive backed
● Integrate compliance into workflow
○ Crucial not to introduce approval steps unless essential. The fundamental benefit of open
source is innovation and collaboration without constant intervention
○ Use CI/CD and objective compliance rules to ensure all open source and inner source
usage respects licenses and upstream communities and protects business success.
○ Break the build to ensure compliance, rather than using management reporting or
meetings
Open Source Supply Chain
From “Continuous Open Source License Compliance”, Phipps & Zacchiroli, IEEE Computer, December 2020
Open Source Supply Chain
● Includes “Inner Source” approaches, which have all the
same management needs apart from those associated
with outbound software
● Even in those cases it is hygenic to ensure license terms
are respected
● Management needs relate especially to the maintainers
of inbound software and internal
developers/maintainers
Beyond Licensing
Compliance ≠ License Compliance
● GPL compliance is just another matter of supplier hygiene
● Licenses have more requirements than just CCS
● There is far more to effective open source than licensing
We will thus use the concepts of
● Open Source Policy
● Policy Compliance
Policy Framework
To manage use of open source software, an OSPO needs policies
including:
● The right of the organisation to use the software
○ License responsibilities
○ Responsibility to software users
○ Software Bill of Materials (SBOM) requirements
● How the software is sustained
○ Relationship with upstream communities
○ Support contracts
○ Internal staffing allocations
● Key metrics for ensuring policy compliance
(There will be other policies too!)
Sample Machine-Enforceable CI Policies
● Is a valid SBOM present?
○ This will also be a CD requirement
● Is each license in the project on the OSPO-approved list?
○ Forces licensing policy compliance and avoids prohibited licenses
○ Licenses with manual approval requirements should have signed exceptions in the
tree
● Are the licenses used in the project mutually compatible according to
OSPO policy?
○ Again, ensures policy compliance. Use a signed exception if “it’s complicated”
● Is a maintainer identified in file header?
○ Could be in-house, a service provider or a signed exception for an upstream
community
○ Ensures code is sustainable
Sample Machine-Enforceable CD Policies
● Is a signed OSPO review report in the project folder?
○ Ensures OSPO review is always sought by developers
● Are all changes connected with an upstream pull-request?
○ Makes sure a responsible upstream contribution policy is followed
● Is the person taking responsibility for the deployment
identified?
○ So if there are any hacks to circumvent COSC you know who did it!
● Is a valid OpenChain SBOM available?
○ Or other supply chain documentation requirements
● Do any dependencies have active CVEs?
Continuous Open Source Compliance
From “Continuous Open Source License Compliance”, Phipps & Zacchiroli, IEEE Computer, December 2020
Continuous Open Source Compliance
● Policy-driven OSPO work brings demonstrable value to the enterprise.
● Metrics and proofs matter!
○ Those which are an artefact of the development workflow will be up-to-date.
○ Those which require additional work that does not result in earlier delivery will not!
● Compliance which operates within the development workflow follows
the same rules!
● So to ensure open source policy compliance, build it in to the
CI/CD/workflow
● Policy-based overall governance that is automatically enforced within
the workflow is “Continuous Open Source Compliance”
○ There is no greater motivation to compliance than breaking the build or the
deployment on non-compliance!
Much, much more can be said!
simon@meshedinsights.com
Many thanks to my co-author Stefano Zacchiroli
Our supporting paper due December in IEEE Computer journal.
https://dirkriehle.com/open-books/open-source-expanded-column/
Thanks for watching!
© 2020 Simon Phipps & Meshed Insights Ltd. Licensed CC-BY-SA 4.0 (Unported)

More Related Content

Similar to SFScon 2020 - Simon Phipps - Continuous Open Source Compliance

The Internet of Things & Open Data: New forms of business?
The Internet of Things & Open Data: New forms of business?The Internet of Things & Open Data: New forms of business?
The Internet of Things & Open Data: New forms of business?
Paris Open Source Summit
 

Similar to SFScon 2020 - Simon Phipps - Continuous Open Source Compliance (20)

Martin von Willebrand - Collaborative Open Source Compliance - Mindtrek 2016
Martin von Willebrand - Collaborative Open Source Compliance - Mindtrek 2016Martin von Willebrand - Collaborative Open Source Compliance - Mindtrek 2016
Martin von Willebrand - Collaborative Open Source Compliance - Mindtrek 2016
 
The Role of In-House & External Counsel in Managing Open Source Software
The Role of In-House & External Counsel in Managing Open Source SoftwareThe Role of In-House & External Counsel in Managing Open Source Software
The Role of In-House & External Counsel in Managing Open Source Software
 
Managing the Software Supply Chain: Policies that Promote Innovation While Op...
Managing the Software Supply Chain: Policies that Promote Innovation While Op...Managing the Software Supply Chain: Policies that Promote Innovation While Op...
Managing the Software Supply Chain: Policies that Promote Innovation While Op...
 
OpenChain Continual Improvement Case Studies
OpenChain Continual Improvement Case StudiesOpenChain Continual Improvement Case Studies
OpenChain Continual Improvement Case Studies
 
Giving Everyone Access To Open Source Best Practices: The OpenChain Curriculum
Giving Everyone Access To Open Source Best Practices: The OpenChain CurriculumGiving Everyone Access To Open Source Best Practices: The OpenChain Curriculum
Giving Everyone Access To Open Source Best Practices: The OpenChain Curriculum
 
FrOSCon: The business value of open source
FrOSCon: The business value of open sourceFrOSCon: The business value of open source
FrOSCon: The business value of open source
 
The Internet of Things & Open Data: New forms of business?
The Internet of Things & Open Data: New forms of business?The Internet of Things & Open Data: New forms of business?
The Internet of Things & Open Data: New forms of business?
 
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
 
SFScon22 - Simon Phipps - Open Source and Open Standards The Unseen Conflict.pdf
SFScon22 - Simon Phipps - Open Source and Open Standards The Unseen Conflict.pdfSFScon22 - Simon Phipps - Open Source and Open Standards The Unseen Conflict.pdf
SFScon22 - Simon Phipps - Open Source and Open Standards The Unseen Conflict.pdf
 
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
 
Why is Open Source Important to Samsung and What Are We Doing About It?
Why is Open Source Important to Samsung and What Are We Doing About It?Why is Open Source Important to Samsung and What Are We Doing About It?
Why is Open Source Important to Samsung and What Are We Doing About It?
 
Open Source in Government / Graham Taylor
Open Source in Government / Graham TaylorOpen Source in Government / Graham Taylor
Open Source in Government / Graham Taylor
 
Open Source Governance v2.5
Open Source Governance v2.5Open Source Governance v2.5
Open Source Governance v2.5
 
Methods about Open Source Governance v2.5
Methods about Open Source Governance v2.5Methods about Open Source Governance v2.5
Methods about Open Source Governance v2.5
 
Open Source & Open Standards: Navigating the Intricacies of a Symbiotic Partn...
Open Source & Open Standards: Navigating the Intricacies of a Symbiotic Partn...Open Source & Open Standards: Navigating the Intricacies of a Symbiotic Partn...
Open Source & Open Standards: Navigating the Intricacies of a Symbiotic Partn...
 
Free and Open Source Software - Challenges for the Automotive Supply Chain
Free and Open Source Software - Challenges for the Automotive Supply ChainFree and Open Source Software - Challenges for the Automotive Supply Chain
Free and Open Source Software - Challenges for the Automotive Supply Chain
 
OSTS_White_Paper
OSTS_White_PaperOSTS_White_Paper
OSTS_White_Paper
 
From catalogues to models: transitioning from existing requirements technique...
From catalogues to models: transitioning from existing requirements technique...From catalogues to models: transitioning from existing requirements technique...
From catalogues to models: transitioning from existing requirements technique...
 
Buyer and Seller Perspectives on Open Source in Tech Contracts
Buyer and Seller Perspectives on Open Source in Tech ContractsBuyer and Seller Perspectives on Open Source in Tech Contracts
Buyer and Seller Perspectives on Open Source in Tech Contracts
 
OpenChain North America and Europe Meeting - 2023-04-04
OpenChain North America and Europe Meeting - 2023-04-04OpenChain North America and Europe Meeting - 2023-04-04
OpenChain North America and Europe Meeting - 2023-04-04
 

More from South Tyrol Free Software Conference

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
South Tyrol Free Software Conference
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
South Tyrol Free Software Conference
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
South Tyrol Free Software Conference
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
South Tyrol Free Software Conference
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
South Tyrol Free Software Conference
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
South Tyrol Free Software Conference
 

More from South Tyrol Free Software Conference (20)

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
 
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
 
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data HubSFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
 
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
 
SFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open ScienceSFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open Science
 
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure mattersSFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
 
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portalSFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
 
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
 
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke MeranSFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
 
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
 
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free softwareSFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
 
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
 
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changerSFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
 
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation InternetSFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
 
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
Wonjun Hwang
 

Recently uploaded (20)

Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
الأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهالأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهله
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 

SFScon 2020 - Simon Phipps - Continuous Open Source Compliance

  • 1. Continuous Open Source Compliance A framework for a policy-driven Open Source Programme Office Simon Phipps, @webmink simon@meshedinsights.com SFSCon 2020
  • 2. Overview ● Software usage is now underpinned by open source ○ Best practice for a medium-large enterprise will manage use of open source ○ ○ A centralised Programme Office handles these issues optimally ● Starting point is a set of policies ○ Much to consider beyond merely licensing, much licensing beyond mere GPL ○ Clearly stated ○ Measurable compliance ○ Executive backed ● Integrate compliance into workflow ○ Crucial not to introduce approval steps unless essential. The fundamental benefit of open source is innovation and collaboration without constant intervention ○ Use CI/CD and objective compliance rules to ensure all open source and inner source usage respects licenses and upstream communities and protects business success. ○ Break the build to ensure compliance, rather than using management reporting or meetings
  • 3. Open Source Supply Chain From “Continuous Open Source License Compliance”, Phipps & Zacchiroli, IEEE Computer, December 2020
  • 4. Open Source Supply Chain ● Includes “Inner Source” approaches, which have all the same management needs apart from those associated with outbound software ● Even in those cases it is hygenic to ensure license terms are respected ● Management needs relate especially to the maintainers of inbound software and internal developers/maintainers
  • 5. Beyond Licensing Compliance ≠ License Compliance ● GPL compliance is just another matter of supplier hygiene ● Licenses have more requirements than just CCS ● There is far more to effective open source than licensing We will thus use the concepts of ● Open Source Policy ● Policy Compliance
  • 6. Policy Framework To manage use of open source software, an OSPO needs policies including: ● The right of the organisation to use the software ○ License responsibilities ○ Responsibility to software users ○ Software Bill of Materials (SBOM) requirements ● How the software is sustained ○ Relationship with upstream communities ○ Support contracts ○ Internal staffing allocations ● Key metrics for ensuring policy compliance (There will be other policies too!)
  • 7. Sample Machine-Enforceable CI Policies ● Is a valid SBOM present? ○ This will also be a CD requirement ● Is each license in the project on the OSPO-approved list? ○ Forces licensing policy compliance and avoids prohibited licenses ○ Licenses with manual approval requirements should have signed exceptions in the tree ● Are the licenses used in the project mutually compatible according to OSPO policy? ○ Again, ensures policy compliance. Use a signed exception if “it’s complicated” ● Is a maintainer identified in file header? ○ Could be in-house, a service provider or a signed exception for an upstream community ○ Ensures code is sustainable
  • 8. Sample Machine-Enforceable CD Policies ● Is a signed OSPO review report in the project folder? ○ Ensures OSPO review is always sought by developers ● Are all changes connected with an upstream pull-request? ○ Makes sure a responsible upstream contribution policy is followed ● Is the person taking responsibility for the deployment identified? ○ So if there are any hacks to circumvent COSC you know who did it! ● Is a valid OpenChain SBOM available? ○ Or other supply chain documentation requirements ● Do any dependencies have active CVEs?
  • 9. Continuous Open Source Compliance From “Continuous Open Source License Compliance”, Phipps & Zacchiroli, IEEE Computer, December 2020
  • 10. Continuous Open Source Compliance ● Policy-driven OSPO work brings demonstrable value to the enterprise. ● Metrics and proofs matter! ○ Those which are an artefact of the development workflow will be up-to-date. ○ Those which require additional work that does not result in earlier delivery will not! ● Compliance which operates within the development workflow follows the same rules! ● So to ensure open source policy compliance, build it in to the CI/CD/workflow ● Policy-based overall governance that is automatically enforced within the workflow is “Continuous Open Source Compliance” ○ There is no greater motivation to compliance than breaking the build or the deployment on non-compliance!
  • 11. Much, much more can be said! simon@meshedinsights.com Many thanks to my co-author Stefano Zacchiroli Our supporting paper due December in IEEE Computer journal. https://dirkriehle.com/open-books/open-source-expanded-column/ Thanks for watching! © 2020 Simon Phipps & Meshed Insights Ltd. Licensed CC-BY-SA 4.0 (Unported)