We have discovered, well, we always knew that some things are not perfect in the way that we develop our software. And in retrospect, you have the opportunity to take a step back and say, hey, I should really have prioritized that a year ago. Whenever I first discovered I have this scale issue or business logic issue. But you never want to be in the reactive mode. You don't want to cause burnout to your team members. You want to be to have mode. You don't want to cause burnout to your team members. You want to be to have an as predictable as possible deployment. My name is Barak Schoster, CTO and co-founder of BridgeCrew, now part of Palo Alto Networks.
This is Code Story, the podcast bringing you interviews with tech visionaries who who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart, and today, how Barak Schoster built a solid way to streamline cloud security and policy enforcement. All this and more on Code Story. Barak Schoster claims he's generally a boring guy. he does professionally he loves to do in his free time, which is coding. He contributes regularly to open source projects, but outside of this, he loves sea kayaking and equates the ups and downs of the sport to software engineering. He's married with two sons, both under five years old. They're into building puzzles together and playing ball as they are sporty kids. Barak and his wife like to visit restaurants, watch movies together, and thoroughly enjoy going to rock concerts. His favorite rock His favorite rock band is Guns N' Roses, but his favorite concerts have been U2 and Imagine Dragons. In February of 2019, Barak and his co-founders started their company's journey by asking the question, How do you secure your cloud environment? What they found was their experience with fixing these environments were similar to the market, and no solution had been created for streamlining this process, much less optimizing and automating it where possible. This is the creation story of BridgeCrew.
BridgeCrew is a productivity tool for DevOps engineers. It helps to secure any code that a DevOps or SRE platform engineering team would write, would produce. So we scan essentially infrastructure as code manifests, GitHub workflows, open source packages. anything that includes a commit from the DevOps engineer. And we scan it for a misconfig. For example, if you have defined in Terraform, which is one of the infrastructure's code frameworks, a misconfigured S3 bucket. For example, you created a bucket that is public or unencrypted, or you forgot to add logging, versioning, or any other parameters that are considered the best practice to this bucket. it, BridgeCrew will identify the issue in that code and will suggest a fix to fix that code. BridgeCrew acts as a bot on top of your pull requests at GitHub and it augments your capabilities to write code by suggesting you to add a few additional commits to have a compliant code with that best practices. The company was founded in February 2019 by myself, I was the CTO, Idan Tendler, who was the CEO, and Guy Eisenkot, who's the VP of Product. And we started our journey by talking with customers. At the beginning, CISOs, we asked CISOs, chief information security officers, how do you secure your cloud environment in, back then, the beginning of the cloud native era. And they told us, we have a bunch of scanners that scans the runtime environment, scans what configurations exist, and we open Jira tickets. As an SRE, I had the same experience of having a backlog full of Jira tickets that I had to remediate manually. I interviewed other SREs, which became customers and community members later on. how do they solve most of their JIRA tickets that are related to cloud configuration. And they told me that they're doing pull requests and code reviews through their teammates. And in comments, they're adding some context to whether this bucket should be public or not. And when they're reviewing code, they're actually asking people to do code changes to make the bucket private, public, encrypted. So our initial product was instead of scanning your cloud environment or only your cloud environment, let's alongside that also scan your code and automate that workflow of code review by creating a set of best practices within that bot that will replace some of the manual work of the other teammates that did code review for those infrastructure as code templates. place. We started with creating an open source project called Checkov, which was released at November 2019. And on the first month, it had only 50 rules and one supported infrastructure as code framework named Terraform, which is the most popular to date. On the first month, we got 60,000 downloads. And after two months, we had 300K downloads. And nowadays, we have and 11 supported infrastructure as code frameworks.
Tell me about the MVP. So that first product you built, how long did it take you to build and what sort of tools did you use to bring it to life?
The real MVP was a lot of manual work. Like a lot of startup founders, we started with asking people from our network, how do they do cloud security? And they told us in code. access to that code and we started manually reviewing their pull requests. And when we found a repetitive pattern where we can actually scan the code and give results that are good insights to our customers. At the beginning, we gave PDF reports, which was not that different from a Jira ticket. As time went, we developed a GitHub application that scans the code and knows to produce a comment with a suggestion of code fix. was the real MVP. It didn't support large-scale environments. It didn't support all infrastructure as code frameworks. It supported only one. And it had only 50 built-in rules. Nowadays, obviously, it's a more mature product with over 1,000 rules, 11 languages, and supports very large scale. But the MVP was very manual and simple. And in the MVP, we supported a daily scan. You could scan your code once a day. And over time, we understood that the developer workflow is changing on every commit. And we introduced more and more interfaces to interact with our bot. From VS Code extension, in a way that while you write code, our extension will tell you, hey, you should write the code a bit differently. Kind of a linter that can fix your code. We had an integration to CI systems like Jenkins, GitHub Actions, CircleCI. Then to see these systems like admission controllers and to the pull request with a bot that gives you automatic commits of code fixes and fail builds if they are not compliant with some best practices. And at the end of it, you have drift detection and the ability to understand if you have any drift between your code and cloud environment. And you have the ability to see your entire supply chain of code artifacts, infrastructures, code and workflows, and understand what are the security impact of every change that you've done. And more importantly, how to fix them using an algorithm that will identify what's the best code fix.
So with any MVP, you've got to make certain decisions and trade-offs. And you're alluding to kind of the high points of some of those trade-offs you made in the early days. But I want to give space for kind of some full thought there. So tell me about those decisions and trade-offs around feature limitation or technical debt or the manual process, as you talked about, and how you coped with those decisions.
I think our strategy at the beginning was not to design for scale. Even though a lot of CTOs would recommend you design for scale at the first place, we decided not to. We stick to serverless framework as our backbone. Most of the scale issues, of the compute scale issues, were resolved by design, by choosing that. And the main thing that we decided to invest in, in our core capabilities, was the ability to deploy fast to our production. So we started with a very mature CICD pipeline of our own that enables us to push the production environment 9, 10, 11 times a day. and even though the software was not mature, the software was not designed to support large scale, it was not designed to support multiple infrastructure as code frameworks or more than a daily scan. Since the delivery workflow of BridgeCrew was designed in a mature manner, we could say, hey, if a customer requirement comes in and this customer wants us to have a feature which says support a larger scale or support more than one IAC framework, It will take us no more than one day of work to deploy that feature. And it makes your decision process very, very clean because you don't have the burden of, hey, how much would it cost me to release it? The cost of release is zero. Now you only have the cost of development of a feature and it becomes a prioritization, a pure prioritization play. You're not taking into account the release mechanism. So I forgot to mention BridgeCrew is a fully SaaS platform. works in a self-serve model. So let's say that a customer have identified a bug or requested a feature. It's a matter of a simple decision whether to add it to the JIRA board, to the sprint and implement or not. If we received a PagerDuty alert of, hey, you're not supporting the scale that you anticipated, it was only a configuration change in serverless or Terraform for a backbone to support that scale. So two investments were made. One is having a very mature monitoring system and connected it to our PagerDuty schedule. And two was the ability to fix production and all dev environments quite fast.
So then from that point, you mentioned the prioritization. And I'm kind of curious, you know, how you progress the product from that point. And in the vein of prioritization, how did you build your roadmap and figure out, okay, this is the next most important thing to build?
We were lucky enough to own and maintain a very popular open source. So we had a lot of signal of feature requirements and bug discoveries. We had these signals both from the sales process, from prospects, from existing customers, and from open source community users. And we always prioritized, obviously, paying customers, but also prioritized repetitive asks from those different channels of asks. What we try to do always is to continuously map which channel, which community, open source community, prospects or customers will benefit from us adding a specific feature. And we didn't try to prioritize Fortune 100 companies over smaller startups. We tried to prioritize a repetitive use case over how big is the logo. The main reason for that is because large enterprises might have more mature enterprise features requirements. They might have more complicated use cases to scan their code. But companies who are cloud native, who were born in the cloud, have more of a common stack. Like it's mainly Kubernetes or it's mainly serverless and Terraform. As a product that delivers to developers, if you build a product that scans the common stack of a developer, you have much bigger addressable market. And if this market is early adopters, such as startups or cloud-native companies, you will have a higher adoption at the beginning.
Well, let's switch to team then. So how did you build your team? And what did you look for in those people to indicate that they were the winning horses to join you?
So when I was lucky enough to work with most of them on previous jobs, I got to know my co-founders on our previous startup named Fortscape. It was a user and entity behavior analytics startup in the security space that was acquired by RSA. Back then it was an employee and Idan was the founder. Guy Eisenkot, our VP product, was the main product at that startup. So I had years of experience working with them. As for the other team members, I was also very lucky to work with most of them. previously at my job prior to Fortscape, which was the Israeli Defense Force. We all worked in the IT department of the Israeli Defense Force. And what I looked in the team members was, I look for people who are very independent and they are also team players. So they can either make a good progress by their own, or they have high skills of communications with their team members people to work with, pleasant people that you like to work with when you come to your day-to-day job.
Well, let's flip to scalability then. So did you build this to scale efficiently from day one? And I kind of know where you're going to go given your mention of the manual processes, but did you scale it efficiently from day one or are you fighting this as you've grown? own.
So we were lucky enough to be a cloud native company by ourselves. So we had a very modern stack using mainly serverless functions. So AWS Lambda is our main backbone. And the scale of compute was really easy to resolve. It is just changing the auto scaling or concurrency configuration of Lambdas. The other scale challenges that we had was Lambda functions since they can almost infinitely scale, you get to the next bottleneck, which is not compute, it's your database. And back then, AWS did not have a good solution for working with both Lambdas and RDS or SQL servers. So we built our own RDS proxy to maintain a living connection to our database. And over time, we migrated to RDS proxy, the product that AWS have released. so we will have no scale issues between Lambda functions and database concurrency of connections. The short answer and the honest answer is we were not designed to scale at the beginning. We just were lucky enough to use a framework that is designed to scale. At the beginning, we supported only very small customers, and we had a lot of edge cases that we had to tune, and our monitoring framework really helped us to understand what are the bottlenecks, Where should we tune it? Where should we add resources to our cloud environment? And where should we invest in load balancing logic or distribution logic between the different tenants of the application?
Was there a tipping point where you decided, okay, now we need to move on making some of these, you know, scaling changes, which, you know, fortunately you were already using a framework and the tooling to be able to do that. Was there a tipping point?
I think it was a continuous change. Since we used Terraform and serverless, and we never used any manual steps to deploy to our production environment. Everything was described in infrastructure code. So an architecture change, which is something you do to support larger scale, for us was just like refactoring a bunch of classes. Those classes were Terraform modules. But it's just like the effortless refactoring of moving one class from one directory to another. It was similar to that, our journey to scale our application. It's just, let's add more Terraform code blocks and the scale issue will be resolved. I would say that every sprint, every two weeks, we had some change to our infrastructure to support larger scale by modifying our infrastructure code.
Well, as you step out on the balcony and you look across all that you've built, what are you most proud of?
I think that the thing that I'm most proud of is our open source solution that became the standard or the most popular tool for infrastructure as code security. It has millions of downloads and hundreds of open source contributors who are not company employees. I feel like we made a real impact on the infrastructure as code security space and the cloud security space. And I can judge it either by the willingness of people to contribute code back. It's under Apache 2 license, so it's easy to contribute and to adopt. And also by the popularity of usage of it. So that's what I'm most proud of. The second thing that I'm most proud of is how the team have matured and grown. And already some of the people who were the first employees are now managers in the company. And we somehow got to keep our amazing culture that we've built. Good people are still coming in and there is almost zero churn. So it's It's really fun to see all of the good people that are progressing in the organization and all of the good people who are joining.
Let's flip the script a little bit. So tell me about a mistake you made and how you and your team responded to it.
So like every startup, every SaaS company, we had a downtime. The thing that we were doing really good was reacting to it really fast and giving the system back up to our customers. it took us time to resolve was the retrospective part of it. We have discovered, well, we always knew that some things are not perfect in the way that we develop our software. And in retrospect, you have the opportunity to take a step back and say, hey, I should really have prioritized that a year ago. Whenever I first discovered I have this scale issue or business logic issue. but you never want to be in the reactive mode. You don't want to cause burnout to your team member. You want to have as predictable as possible deployment. And if not, you want to have a very easy and trustworthy process to roll back a change. So to make a long story short, we had a production issue that was really hard to roll back required people to stay up at night. But the resolution that we had later on for future updates is always to have the ability to roll back a production change.
Well, tell me what the future looks like for the product and for your team.
Team is growing. When we were acquired, we were 39 people. That was a year ago. 70 people and counting. And also the open source community members have more than doubled. And the open source usage is seven times higher than it was when we were acquired. So everything is growing in manners of good people in the team. And we are, by the way, all remote companies. So we have engineer in Germany, developer advocates team in UK, solution architects in UK and US, and engineers in US and Israel, and product managers in both US and Israel. So we're all abroad, all across. cross and our next steps in the product is one always be the leader in infrastructure as code security to start handling every other piece of the supply chain of your software so from scanning scanning only infrastructure as code, we have evolved to also scan open source vulnerabilities and also CI's, CD's, configuration. And essentially our goal is to map and secure and fix every part of your supply chain, knowing what's the best place to fix and what's the best fix out there for your code at any step of your pipeline from IDE to CICD, version control systems, admission controllers, and runtime.
Barak, I'm curious, how does BridgeCrew contribute to improving security around the supply chain? It's obviously an important topic nowadays with a lot of the supply chain issues going on and things out there that you read in the news. How does BridgeCrew really contribute to positively affecting supply chain security?
I think that first it's important to mention how do we define supply chain of software. Supply chain of software is all of the different building blocks that we lead you as a developer team leader to bring a product from inception, from the deck phase, to a production environment. And that supply chain includes the building blocks of open source packages, packages, infrastructure as code, DevOps pipeline, version control system configuration, Docker images and the list goes on. Our software today is built from so many pieces of puzzle that we really need to invest in every piece of that puzzle to have a complete picture of a product. and attackers today can utilize different parts of our supply chain to create a malfunction in our product. If our product was a car, some of our suppliers were suppliers of wheels, of engines, of electronics and each one of those suppliers could have created a very bad driving experience for me as a Could have been also a security about a security experience as a driver or a passenger and in software It's kind of similar. I can have misconfigured pipeline that Does not have a secret storage for example So my secrets to production environment who gave the pipeline admin access can actually actually leak into unwanted places to bad actors. And also, my pipelines can have bad defaults in the infrastructure as code or bad packages being used in the pipeline. And we actually have seen attacks like that in the past year. For example, CodeCov was a famous breach of 2020, where every code repository out there that used CodeCov, which is a popular tool for code coverage, and did not have a signed artifact of CodeCov, possibly had a malicious library injected into their pipeline and leaking some of the codes or secrets that exist in that pipeline. CodeCov have reacted fast and have resolved and patched this issue, but it made all of us security practitioners, DevOps practitioners ask if our pipelines architecture is defined correctly. Is the networking defined correctly? Is the packages defined correctly? And the pipeline configurations. And what BridgeCrew is introducing these days is a new way to explore every asset of your supply chain in a visualization that allows you to research what are the security risks and misconfiguration in every step of the way.
Let's switch to you, Barak. Who influences the way that you work? Name a CEO, a CTO, an architect, really any person that you look up to and why.
There are people who I've worked with. The first one was the first architect of Fortscape, the previous startup that I used to work with. His name is Gash Hazan, and he really taught me how to learn better. So I thought that I knew a lot about software engineering and he really taught me off if there is something that I don't know or Google doesn't know what's the best way to approach the research of a new capability that is not documented yet. How to test my code better and how to gradually deploy a software in small chunks that can be easily consumed by other team members. And I think that the second architect that most influenced my thought process is Martin Fowler. I've never met him in life, but he has an amazing blog and amazing set of webinars that I really recommend as a place to start reading about software architecture and different advantages of different types of architectures.
Well, we talked about a mistake, but a little bit different spin. If you could go back to the beginning, what would you do differently? Or where would you consider taking a different approach?
I think that what we didn't know at the beginning was how aggressive would be the open source adoption of the tool that we've developed. helped. And it grew really, really fast. And we haven't anticipated it. And we haven't, we could have done better work in leading those initial community users to contribute more code, we could have done better work in making some of the contribution workflows workflows more accessible than the documentation. And we also could have done better work in deciding what should be a commercial feature and what should be open source. And better work at communicating that to our community. community. So I think that having maybe having a public roadmap that, uh, would explain to our community users what we expect to be contributed and what we're working on ourselves and what is going to be a paid tier only um would have created a more transparent environment with our community. I think that we are doing that work today. It's important to say. But I think that in the beginning, we haven't done that good enough. And maybe we had an even bigger community if we've done it from the beginning.
Well, last question, Barak. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. Can't wait to show it off to you right there on the plane. advice do you give that person having gone down this road a bit?
Always ask your customers what to do first. One of the key things that helped us in our success was before we wrote the first lines of code of BridgeCrew, we interviewed 120 SREs, security practitioners, DevOps engineers. Maybe 120 is too much. My advice to a new new entrepreneur would be stopped at 30 to get a validation. But we really hammered down the validation process and we always have continuously done it even after we had an initial product, an MVP, and after we were also acquired. We really invest in our interview process, our customer interview process, to learn what are the pains that we're answering with our product, what are the other pains that we haven't resolved yet, and how's the day in the life of the persona that is our user looks like, and how can we make that day easier. So if you're building a developer tool, or a developer productivity tool, or security tool, you should really ask your persona what is the thing that you are going to solve really solving a real problem in their life it can be based on your own day-to-day activity but it's even better if it's also validated with your potential customers that's
Fantastic advice. Well, Barak, thank you for being on the show today. Thank you for telling the creation story of Bridgecrew.
Thank you for For having me, it was great being here, Noah.
And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to ten bucks a month. And when you get a chance, leave us a review. Both things help us out tremendously. and thanks again for listening.