{"id":5194,"date":"2021-11-19T12:31:18","date_gmt":"2021-11-19T12:31:18","guid":{"rendered":"https:\/\/redmonk.com\/jgovernor\/?p=5194"},"modified":"2021-11-19T16:54:50","modified_gmt":"2021-11-19T16:54:50","slug":"notes-on-gitops-potential-role-in-compliance","status":"publish","type":"post","link":"https:\/\/redmonk.com\/jgovernor\/notes-on-gitops-potential-role-in-compliance\/","title":{"rendered":"Notes on GitOps potential role in compliance"},"content":{"rendered":"<p><a href=\"http:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-1024x683.jpeg\" alt=\"Macro photo of tooth wheels with COMPLIANCE, REGULATIONS, STANDARDS, POLICIES and RULES words imprinted on metal surface\" width=\"1024\" height=\"683\" class=\"aligncenter size-large wp-image-5195\" srcset=\"https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-1024x683.jpeg 1024w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-300x200.jpeg 300w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-768x512.jpeg 768w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-1536x1024.jpeg 1536w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-2048x1365.jpeg 2048w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-480x320.jpeg 480w, https:\/\/redmonk.com\/jgovernor\/files\/2021\/11\/compliance-and-regs-941x627.jpeg 941w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>The opportunity to use Git-based workflows for compliance purposes is currently underappreciated, but there is a growing understanding in the industry that it\u2019s a significant opportunity. One of the biggest challenges in any compliance project is understanding who did what, and when. With a GitOps-based approach you naturally track system changes, but also know who made them.<\/p>\n<p>A lot of the work in compliance &#8211; the job to be done &#8211; is being able to track changes to records or infrastructure. If you are providing information to auditors, or just trying to meet internally defined standards, historically you&#8217;re often running around after the fact with a spreadsheet trying to build a record or audit trail. Having a system of record in place can alleviate this overhead, and leave you doing productive work. Using GitHub or GitLab means identity and access management are effectively baked into how you work. With pull requests or merge requests, permissions are baked in. Who signed off on a change and when? That\u2019s baked into Git-based workflows.<\/p>\n<p>In systems today you often have people randomly making infrastructure changes, SSHing into servers, VMs or containers without controls in place. That\u2019s potentially a big problem in a regulated environment. GitOps can potentially be used to enforce guardrails. Meanwhile, the vast majority of system downtime is because of configuration changes. Yet we do a frankly horrific job of tracking these changes in IT.<\/p>\n<p>One of the current buzzwords making the rounds is the \u201csoftware supply chain.\u201d It&#8217;s perhaps worth thinking about actual supply chain software and the way that we&#8217;ve delivered on that. Before enterprise resource planning (ERP) systems became commonplace, data was all over the place: in spreadsheets, paper-based systems, and in separate warehousing, manufacturing, logistics, and financial systems. ERP was a packaging exercise intended to allow organizations to track everything that happened in a supply chain, with a system of record, a single source of the truth at its heart.<\/p>\n<p>Git is beginning to play a similar role in software. From planning or designing a system or application changes, through to the new code, and configurations. Our source code management system has become a key source of the truth, and can reveal a host of useful metrics about team and individual performance. That same metadata could be applied to compliance reporting.<\/p>\n<p>One of the things that helped drive and accelerate the ERP wave as it was embraced by enterprises around the world was business process re-engineering (BPR). The two went hand-in-hand: BPR and ERP software, provided by a consulting company and a software company respectively. Today, we&#8217;re really looking to package the best practices in modern software development, and the kind of approaches and opinionated methodologies that the most effective companies use. Git is a common denominator in pretty much all elite performing software development organizations.<\/p>\n<p>Talking of elite performers, Dr. Nicole Forsgren has helped the industry understand some of the practices common to elite and high performing software organisations through her DevOps Research Assessment Work (DORA) and book <a href=\"https:\/\/itrevolution.com\/book\/accelerate\/\">Accelerate<\/a> (with contributions from Jez Humble and Gene Kim). Nicole is now leading research into individual and organisational performance at GitHub now.<\/p>\n<p>We\u2019re frankly still trying to work out the best methodology that will help organisations modernise traditional IT processes, the equivalent of a BPR, though &#8211; to make the shift from Waterfall to Agile, DevOps and production excellence. There have been some successes: Continuous Delivery, Agile, Test Driven Development (TDD), etc. But organisations are still struggling to modernise at scale. Pivotal did a great job of packaging an opinionated methodology, the Pivotal Way, with opinionated software (Cloud Foundry), in some Fortune 500 organisations (AllState, Comcast, Staples, etc.) allowing some repeatability, but it never became industry redefining. With the rise of Kubernetes it became clear we\u2019d be looking at a different software stack, based on the Kubernetes.<\/p>\n<p>But Git is helping us move forward as an industry, as a common underlying platform, not just in the Kubernetes world, but in pretty much every community and platform in software.<\/p>\n<p>If we think of Martin Fowler\u2019s precepts for <a href=\"https:\/\/martinfowler.com\/articles\/continuousIntegration.html\">Continuous Integration<\/a>, some of the directives are increasingly commonplace:<\/p>\n<ul>\n<li>Maintain a Single Source Repository <\/li>\n<li>Automate the Build <\/li>\n<li>Make Your Build Self-Testing <\/li>\n<li>Everyone Commits To the Mainline Every Day<\/li>\n<li>Fix Broken Builds Immediately<\/li>\n<\/ul>\n<p>When we get to Fowler\u2019s &#8220;Everyone Can See What&#8217;s Happening,\u201d and \u201cAutomate Deployment,\u201d that\u2019s a sweet spot for GitOps. Visibility and declarative automation.<\/p>\n<p>Of course we shouldn\u2019t get carried away that GitOps is the only way to do this stuff. Fowler was writing before Git was even a thing. Some of these patterns are also common to Infrastructure as Code, and organisations already use tools like Ansible, Chef, Hashicorp and Puppet to define guardrails and support compliance initiatives in enterprise IT. Declarative configuration management, with feedback loops, is a well understood discipline.<\/p>\n<p>However, if we\u2019re talking about software for tracking changes in any set of files, Git is indeed the common industry standard, and as such has huge utility as a platform to build higher level services on.<\/p>\n<p>GitOps emerged from the ecosystem fostered by the Cloud Native Computing Foundation (CNCF). It was invented by engineers at a company called Weaveworks. CEO Alexis Richardson was smart enough to run with the idea and market the name. Now companies across the industry have adopted it. The term is nicely resonant: engineers, developers and platform people can all hear \u201cGitOps\u201d and kind of know what it means.<\/p>\n<p>I spoke to Richardson recently, and argued that if GitOps is truly to find its place as a compliance tool, it needs to be positioned accordingly. GitOps for HIPAA, GitOps for ISO\/IEC 27001, GitOps for FedRAMP etc. It potentially needs to be a conversation for auditors and those directly involved in compliance. Hashicorp does some of this, explicitly marketing its automation tooling alongside its Vault secrets management technology for compliance to specific standards- <a href=\"https:\/\/www.hashicorp.com\/resources\/automating-fedramp-security-compliance-with-terraform\">&#8220;Terraform can get you about 75-85%<\/a> to FedRAMP&#8221; and PCI. Security and incident management companies often lead with regulations. Of course automation software is not the same thing as logging software, but if we\u2019re talking about markets <a href=\"https:\/\/redmonk.com\/jgovernor\/2021\/11\/15\/the-great-smooshing-fragmentation-and-not-fragmentation-in-technology-infrastructure\/\">smooshing<\/a>, they are certainly adjacent and related.<\/p>\n<p>Richardson argues though that if we\u2019re shifting compliance left, into a developer concern, it should be more fluid and less constrained by trying to sell into security teams etc. He used the example of Snyk, which doesn\u2019t sell to security teams, but development organisations, as the kind of pattern that GitOps is likely to take, as it sees broader adoption for these kinds of challenges.<\/p>\n<p>Compliance to internal standards is particularly important in the Kubernetes space, because of the complexity of the core platform itself, the likelihood of infrastructure drift, and fragmentation within the wider ecosystem. One of the industry conversations directly aligned to compliance is policy. Hashicorp Sentinel is positioned for Policy as Code. Cloud native players are investing in and contributing to Open Policy Agent, while Kyverno (it\u2019s named after me, naturally) is another policy engine designed for Kubernetes. Red Hat acquired Stackrox to improve its container native security credentials.<\/p>\n<p>Kubernetes is also seeing increasing adoption in heavily regulated industries &#8211; such as telecoms, financial services, and public sector, which have formal requirements for the platforms they adopt. Industry regulations and security standards though are indeed market-making mechanisms. Whether bottom up or top down though, I would argue that GitOps and similar patterns will play an increasingly important role in supporting compliance initiatives.<\/p>\n<p><strong>Disclosure<\/strong>: Hashicorp, GitHub, GitLab, VMware (Pivotal), Red Hat and and Weaveworks are RedMonk clients<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The opportunity to use Git-based workflows for compliance purposes is currently underappreciated, but there is a growing understanding in the industry that it\u2019s a significant opportunity. One of the biggest challenges in any compliance project is understanding who did what, and when. With a GitOps-based approach you naturally track system changes, but also know who<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"class_list":["post-5194","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9wfjh-1lM","_links":{"self":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts\/5194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/comments?post=5194"}],"version-history":[{"count":0,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/posts\/5194\/revisions"}],"wp:attachment":[{"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/media?parent=5194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/categories?post=5194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redmonk.com\/jgovernor\/wp-json\/wp\/v2\/tags?post=5194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}