WEBVTT

NOTE S6 Bonus: The $156M DevSecOps Blueprint: From Open-Source Checkov to Acquisition with Barak Schoster of Bridgecrew

1
00:00:01.020 --> 00:00:07.200
<v Barak Schoster>We have discovered, well, we always knew that some things are not perfect in the way

2
00:00:07.200 --> 00:00:12.780
<v Barak Schoster>that we develop our software. And in retrospect, you have the opportunity to take a step back

3
00:00:13.220 --> 00:00:19.240
<v Barak Schoster>and say, hey, I should really have prioritized that a year ago. Whenever I first discovered

4
00:00:19.240 --> 00:00:25.980
<v Barak Schoster>I have this scale issue or business logic issue. But you never want to be in the reactive

5
00:00:25.980 --> 00:00:31.580
<v Barak Schoster>mode. You don't want to cause burnout to your team members. You want to be to have

6
00:00:31.580 --> 00:00:39.280
<v Barak Schoster>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

7
00:00:39.280 --> 00:00:42.680
<v Barak Schoster>co-founder of BridgeCrew, now part of Palo Alto Networks.

8
00:00:47.440 --> 00:00:53.420
<v Noah Labhart>This is Code Story, the podcast bringing you interviews with tech visionaries who

9
00:00:53.420 --> 00:00:57.100
<v Noah Labhart>who share in the critical moments of what it takes to change an industry

10
00:00:57.100 --> 00:01:00.820
<v Noah Labhart>and build and lead a team that has your back.

11
00:01:02.240 --> 00:01:03.900
<v Noah Labhart>I'm your host, Noah Labhart,

12
00:01:04.060 --> 00:01:08.160
<v Noah Labhart>and today, how Barak Schoster built a solid way to streamline

13
00:01:08.160 --> 00:01:11.660
<v Noah Labhart>cloud security and policy enforcement.

14
00:01:13.320 --> 00:01:15.820
<v Noah Labhart>All this and more on Code Story.

15
00:01:19.400 --> 00:01:22.420
<v Noah Labhart>Barak Schoster claims he's generally a boring guy.

16
00:01:23.420 --> 00:01:29.040
<v Noah Labhart>he does professionally he loves to do in his free time, which is coding. He contributes regularly to

17
00:01:29.040 --> 00:01:34.440
<v Noah Labhart>open source projects, but outside of this, he loves sea kayaking and equates the ups and downs of the

18
00:01:34.440 --> 00:01:40.100
<v Noah Labhart>sport to software engineering. He's married with two sons, both under five years old. They're into

19
00:01:40.100 --> 00:01:45.780
<v Noah Labhart>building puzzles together and playing ball as they are sporty kids. Barak and his wife like to visit

20
00:01:45.780 --> 00:01:50.980
<v Noah Labhart>restaurants, watch movies together, and thoroughly enjoy going to rock concerts. His favorite rock

21
00:01:50.980 --> 00:01:54.940
<v Noah Labhart>His favorite rock band is Guns N' Roses, but his favorite concerts have been U2 and Imagine Dragons.

22
00:01:56.400 --> 00:02:02.120
<v Noah Labhart>In February of 2019, Barak and his co-founders started their company's journey by asking the question,

23
00:02:03.020 --> 00:02:05.040
<v Noah Labhart>How do you secure your cloud environment?

24
00:02:05.720 --> 00:02:10.460
<v Noah Labhart>What they found was their experience with fixing these environments were similar to the market,

25
00:02:10.580 --> 00:02:17.240
<v Noah Labhart>and no solution had been created for streamlining this process, much less optimizing and automating it where possible.

26
00:02:20.200 --> 00:02:23.360
<v Noah Labhart>This is the creation story of BridgeCrew.

27
00:02:27.640 --> 00:02:28.360
<v Barak Schoster>BridgeCrew

28
00:02:28.360 --> 00:02:30.940
<v Barak Schoster>is a productivity tool for DevOps engineers.

29
00:02:31.520 --> 00:02:38.480
<v Barak Schoster>It helps to secure any code that a DevOps or SRE platform engineering team would write, would produce.

30
00:02:39.020 --> 00:02:46.160
<v Barak Schoster>So we scan essentially infrastructure as code manifests, GitHub workflows, open source packages.

31
00:02:47.240 --> 00:02:50.780
<v Barak Schoster>anything that includes a commit from the DevOps engineer.

32
00:02:51.020 --> 00:02:52.480
<v Barak Schoster>And we scan it for a misconfig.

33
00:02:52.880 --> 00:02:56.280
<v Barak Schoster>For example, if you have defined in Terraform,

34
00:02:56.480 --> 00:02:59.080
<v Barak Schoster>which is one of the infrastructure's code frameworks,

35
00:02:59.340 --> 00:03:00.820
<v Barak Schoster>a misconfigured S3 bucket.

36
00:03:01.040 --> 00:03:04.860
<v Barak Schoster>For example, you created a bucket that is public or unencrypted,

37
00:03:04.920 --> 00:03:07.140
<v Barak Schoster>or you forgot to add logging, versioning,

38
00:03:07.140 --> 00:03:11.140
<v Barak Schoster>or any other parameters that are considered the best practice to this bucket.

39
00:03:11.140 --> 00:03:20.040
<v Barak Schoster>it, BridgeCrew will identify the issue in that code and will suggest a fix to fix that code.

40
00:03:21.020 --> 00:03:28.040
<v Barak Schoster>BridgeCrew acts as a bot on top of your pull requests at GitHub and it augments your capabilities

41
00:03:28.040 --> 00:03:33.600
<v Barak Schoster>to write code by suggesting you to add a few additional commits to have a compliant code with

42
00:03:33.600 --> 00:03:41.300
<v Barak Schoster>that best practices. The company was founded in February 2019 by myself, I was the CTO,

43
00:03:42.120 --> 00:03:47.400
<v Barak Schoster>Idan Tendler, who was the CEO, and Guy Eisenkot, who's the VP of Product.

44
00:03:48.140 --> 00:03:53.620
<v Barak Schoster>And we started our journey by talking with customers. At the beginning, CISOs, we asked

45
00:03:53.620 --> 00:03:58.500
<v Barak Schoster>CISOs, chief information security officers, how do you secure your cloud environment in,

46
00:03:58.500 --> 00:04:01.500
<v Barak Schoster>back then, the beginning of the cloud native era.

47
00:04:02.340 --> 00:04:04.980
<v Barak Schoster>And they told us, we have a bunch of scanners

48
00:04:04.980 --> 00:04:06.740
<v Barak Schoster>that scans the runtime environment,

49
00:04:07.140 --> 00:04:08.860
<v Barak Schoster>scans what configurations exist,

50
00:04:09.040 --> 00:04:10.140
<v Barak Schoster>and we open Jira tickets.

51
00:04:11.160 --> 00:04:14.140
<v Barak Schoster>As an SRE, I had the same experience

52
00:04:14.140 --> 00:04:17.280
<v Barak Schoster>of having a backlog full of Jira tickets

53
00:04:17.280 --> 00:04:19.580
<v Barak Schoster>that I had to remediate manually.

54
00:04:19.920 --> 00:04:21.960
<v Barak Schoster>I interviewed other SREs,

55
00:04:21.960 --> 00:04:24.820
<v Barak Schoster>which became customers and community members later on.

56
00:04:24.820 --> 00:04:30.820
<v Barak Schoster>how do they solve most of their JIRA tickets that are related to cloud configuration.

57
00:04:31.300 --> 00:04:36.680
<v Barak Schoster>And they told me that they're doing pull requests and code reviews through their teammates.

58
00:04:37.040 --> 00:04:43.040
<v Barak Schoster>And in comments, they're adding some context to whether this bucket should be public or not.

59
00:04:43.280 --> 00:04:49.100
<v Barak Schoster>And when they're reviewing code, they're actually asking people to do code changes

60
00:04:49.100 --> 00:04:51.760
<v Barak Schoster>to make the bucket private, public, encrypted.

61
00:04:51.760 --> 00:05:16.340
<v Barak Schoster>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.

62
00:05:16.340 --> 00:05:22.680
<v Barak Schoster>place. We started with creating an open source project called Checkov, which was released at

63
00:05:22.680 --> 00:05:29.960
<v Barak Schoster>November 2019. And on the first month, it had only 50 rules and one supported infrastructure

64
00:05:29.960 --> 00:05:34.680
<v Barak Schoster>as code framework named Terraform, which is the most popular to date. On the first month,

65
00:05:34.760 --> 00:05:42.740
<v Barak Schoster>we got 60,000 downloads. And after two months, we had 300K downloads. And nowadays, we have

66
00:05:43.740 --> 00:05:47.220
<v Barak Schoster>and 11 supported infrastructure as code frameworks.

67
00:05:49.540 --> 00:05:50.900
<v Noah Labhart>Tell me about the MVP.

68
00:05:51.120 --> 00:05:53.080
<v Noah Labhart>So that first product you built,

69
00:05:53.220 --> 00:05:54.520
<v Noah Labhart>how long did it take you to build

70
00:05:54.520 --> 00:05:56.660
<v Noah Labhart>and what sort of tools did you use to bring it to life?

71
00:05:59.040 --> 00:06:01.800
<v Barak Schoster>The real MVP was a lot of manual work.

72
00:06:02.540 --> 00:06:04.340
<v Barak Schoster>Like a lot of startup founders,

73
00:06:04.460 --> 00:06:07.780
<v Barak Schoster>we started with asking people from our network,

74
00:06:08.020 --> 00:06:10.380
<v Barak Schoster>how do they do cloud security?

75
00:06:10.700 --> 00:06:12.300
<v Barak Schoster>And they told us in code.

76
00:06:13.740 --> 00:06:18.240
<v Barak Schoster>access to that code and we started manually reviewing their pull requests.

77
00:06:19.040 --> 00:06:26.000
<v Barak Schoster>And when we found a repetitive pattern where we can actually scan the code and give results

78
00:06:26.000 --> 00:06:28.560
<v Barak Schoster>that are good insights to our customers.

79
00:06:29.220 --> 00:06:34.440
<v Barak Schoster>At the beginning, we gave PDF reports, which was not that different from a Jira ticket.

80
00:06:34.980 --> 00:06:40.700
<v Barak Schoster>As time went, we developed a GitHub application that scans the code and knows to produce a

81
00:06:40.700 --> 00:06:42.740
<v Barak Schoster>comment with a suggestion of code fix.

82
00:06:43.740 --> 00:06:45.040
<v Barak Schoster>was the real MVP.

83
00:06:45.640 --> 00:06:47.820
<v Barak Schoster>It didn't support large-scale environments.

84
00:06:48.120 --> 00:06:50.840
<v Barak Schoster>It didn't support all infrastructure as code frameworks.

85
00:06:50.980 --> 00:06:52.220
<v Barak Schoster>It supported only one.

86
00:06:52.440 --> 00:06:55.040
<v Barak Schoster>And it had only 50 built-in rules.

87
00:06:55.620 --> 00:06:58.020
<v Barak Schoster>Nowadays, obviously, it's a more mature product

88
00:06:58.020 --> 00:07:00.340
<v Barak Schoster>with over 1,000 rules, 11 languages,

89
00:07:01.020 --> 00:07:03.300
<v Barak Schoster>and supports very large scale.

90
00:07:03.960 --> 00:07:06.940
<v Barak Schoster>But the MVP was very manual and simple.

91
00:07:07.440 --> 00:07:11.080
<v Barak Schoster>And in the MVP, we supported a daily scan.

92
00:07:11.080 --> 00:07:13.100
<v Barak Schoster>You could scan your code once a day.

93
00:07:13.560 --> 00:07:16.660
<v Barak Schoster>And over time, we understood that the developer workflow

94
00:07:17.100 --> 00:07:18.600
<v Barak Schoster>is changing on every commit.

95
00:07:18.780 --> 00:07:20.680
<v Barak Schoster>And we introduced more and more interfaces

96
00:07:20.680 --> 00:07:22.380
<v Barak Schoster>to interact with our bot.

97
00:07:22.620 --> 00:07:26.080
<v Barak Schoster>From VS Code extension, in a way that while you write code,

98
00:07:26.400 --> 00:07:28.180
<v Barak Schoster>our extension will tell you,

99
00:07:28.200 --> 00:07:30.040
<v Barak Schoster>hey, you should write the code a bit differently.

100
00:07:30.440 --> 00:07:32.580
<v Barak Schoster>Kind of a linter that can fix your code.

101
00:07:33.220 --> 00:07:36.740
<v Barak Schoster>We had an integration to CI systems like Jenkins,

102
00:07:36.980 --> 00:07:38.260
<v Barak Schoster>GitHub Actions, CircleCI.

103
00:07:38.260 --> 00:07:48.740
<v Barak Schoster>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.

104
00:07:48.740 --> 00:07:54.600
<v Barak Schoster>And at the end of it, you have drift detection and the ability to understand if you have

105
00:07:54.600 --> 00:07:57.040
<v Barak Schoster>any drift between your code and cloud environment.

106
00:07:57.360 --> 00:08:03.580
<v Barak Schoster>And you have the ability to see your entire supply chain of code artifacts, infrastructures,

107
00:08:03.600 --> 00:08:08.640
<v Barak Schoster>code and workflows, and understand what are the security impact of every change that you've

108
00:08:08.640 --> 00:08:09.140
<v Barak Schoster>done.

109
00:08:09.620 --> 00:08:14.980
<v Barak Schoster>And more importantly, how to fix them using an algorithm that will identify what's the

110
00:08:14.980 --> 00:08:16.300
<v Barak Schoster>best code fix.

111
00:08:17.880 --> 00:08:22.280
<v Noah Labhart>So with any MVP, you've got to make certain decisions and trade-offs.

112
00:08:22.320 --> 00:08:27.860
<v Noah Labhart>And you're alluding to kind of the high points of some of those trade-offs you made in the early days.

113
00:08:27.940 --> 00:08:30.240
<v Noah Labhart>But I want to give space for kind of some full thought there.

114
00:08:30.380 --> 00:08:41.240
<v Noah Labhart>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.

115
00:08:42.340 --> 00:08:47.260
<v Barak Schoster>I think our strategy at the beginning was not to design for scale.

116
00:08:47.940 --> 00:08:54.740
<v Barak Schoster>Even though a lot of CTOs would recommend you design for scale at the first place, we decided not to.

117
00:08:54.820 --> 00:08:58.060
<v Barak Schoster>We stick to serverless framework as our backbone.

118
00:08:58.360 --> 00:09:04.580
<v Barak Schoster>Most of the scale issues, of the compute scale issues, were resolved by design, by choosing that.

119
00:09:04.580 --> 00:09:13.620
<v Barak Schoster>And the main thing that we decided to invest in, in our core capabilities, was the ability to deploy fast to our production.

120
00:09:13.960 --> 00:09:23.060
<v Barak Schoster>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.

121
00:09:23.060 --> 00:09:26.140
<v Barak Schoster>and even though the software was not mature,

122
00:09:26.380 --> 00:09:29.340
<v Barak Schoster>the software was not designed to support large scale,

123
00:09:29.480 --> 00:09:33.480
<v Barak Schoster>it was not designed to support multiple infrastructure as code frameworks

124
00:09:33.480 --> 00:09:35.260
<v Barak Schoster>or more than a daily scan.

125
00:09:35.620 --> 00:09:41.260
<v Barak Schoster>Since the delivery workflow of BridgeCrew was designed in a mature manner,

126
00:09:41.660 --> 00:09:45.120
<v Barak Schoster>we could say, hey, if a customer requirement comes in

127
00:09:45.120 --> 00:09:50.560
<v Barak Schoster>and this customer wants us to have a feature which says support a larger scale

128
00:09:50.560 --> 00:09:52.560
<v Barak Schoster>or support more than one IAC framework,

129
00:09:53.060 --> 00:09:57.280
<v Barak Schoster>It will take us no more than one day of work to deploy that feature.

130
00:09:57.940 --> 00:10:06.640
<v Barak Schoster>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?

131
00:10:06.740 --> 00:10:08.220
<v Barak Schoster>The cost of release is zero.

132
00:10:08.500 --> 00:10:15.680
<v Barak Schoster>Now you only have the cost of development of a feature and it becomes a prioritization, a pure prioritization play.

133
00:10:15.980 --> 00:10:18.840
<v Barak Schoster>You're not taking into account the release mechanism.

134
00:10:19.140 --> 00:10:22.480
<v Barak Schoster>So I forgot to mention BridgeCrew is a fully SaaS platform.

135
00:10:23.060 --> 00:10:24.060
<v Barak Schoster>works in a self-serve model.

136
00:10:24.840 --> 00:10:27.760
<v Barak Schoster>So let's say that a customer have identified a bug

137
00:10:27.760 --> 00:10:28.680
<v Barak Schoster>or requested a feature.

138
00:10:29.380 --> 00:10:31.420
<v Barak Schoster>It's a matter of a simple decision

139
00:10:31.420 --> 00:10:33.860
<v Barak Schoster>whether to add it to the JIRA board,

140
00:10:34.080 --> 00:10:36.340
<v Barak Schoster>to the sprint and implement or not.

141
00:10:37.000 --> 00:10:40.080
<v Barak Schoster>If we received a PagerDuty alert of,

142
00:10:40.200 --> 00:10:43.440
<v Barak Schoster>hey, you're not supporting the scale that you anticipated,

143
00:10:44.180 --> 00:10:47.000
<v Barak Schoster>it was only a configuration change in serverless

144
00:10:47.000 --> 00:10:49.600
<v Barak Schoster>or Terraform for a backbone to support that scale.

145
00:10:49.600 --> 00:11:05.380
<v Barak Schoster>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.

146
00:11:07.000 --> 00:11:11.320
<v Noah Labhart>So then from that point, you mentioned the prioritization.

147
00:11:11.760 --> 00:11:15.940
<v Noah Labhart>And I'm kind of curious, you know, how you progress the product from that point.

148
00:11:16.100 --> 00:11:24.100
<v Noah Labhart>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?

149
00:11:25.680 --> 00:11:30.940
<v Barak Schoster>We were lucky enough to own and maintain a very popular open source.

150
00:11:30.940 --> 00:11:36.700
<v Barak Schoster>So we had a lot of signal of feature requirements and bug discoveries.

151
00:11:37.040 --> 00:11:45.480
<v Barak Schoster>We had these signals both from the sales process, from prospects, from existing customers, and from open source community users.

152
00:11:46.440 --> 00:11:56.680
<v Barak Schoster>And we always prioritized, obviously, paying customers, but also prioritized repetitive asks from those different channels of asks.

153
00:11:56.680 --> 00:12:10.140
<v Barak Schoster>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.

154
00:12:10.580 --> 00:12:16.680
<v Barak Schoster>And we didn't try to prioritize Fortune 100 companies over smaller startups.

155
00:12:17.160 --> 00:12:22.880
<v Barak Schoster>We tried to prioritize a repetitive use case over how big is the logo.

156
00:12:22.880 --> 00:12:30.080
<v Barak Schoster>The main reason for that is because large enterprises might have more mature enterprise features requirements.

157
00:12:30.460 --> 00:12:35.400
<v Barak Schoster>They might have more complicated use cases to scan their code.

158
00:12:35.620 --> 00:12:40.940
<v Barak Schoster>But companies who are cloud native, who were born in the cloud, have more of a common stack.

159
00:12:41.200 --> 00:12:44.700
<v Barak Schoster>Like it's mainly Kubernetes or it's mainly serverless and Terraform.

160
00:12:44.800 --> 00:12:52.660
<v Barak Schoster>As a product that delivers to developers, if you build a product that scans the common stack of a developer,

161
00:12:52.880 --> 00:12:55.980
<v Barak Schoster>you have much bigger addressable market.

162
00:12:56.220 --> 00:13:01.080
<v Barak Schoster>And if this market is early adopters, such as startups or cloud-native companies,

163
00:13:01.400 --> 00:13:04.500
<v Barak Schoster>you will have a higher adoption at the beginning.

164
00:13:06.240 --> 00:13:07.720
<v Noah Labhart>Well, let's switch to team then.

165
00:13:07.880 --> 00:13:09.800
<v Noah Labhart>So how did you build your team?

166
00:13:09.940 --> 00:13:14.700
<v Noah Labhart>And what did you look for in those people to indicate that they were the winning horses to join you?

167
00:13:16.320 --> 00:13:21.900
<v Barak Schoster>So when I was lucky enough to work with most of them on previous jobs,

168
00:13:22.880 --> 00:13:27.440
<v Barak Schoster>I got to know my co-founders on our previous startup named Fortscape.

169
00:13:27.540 --> 00:13:33.040
<v Barak Schoster>It was a user and entity behavior analytics startup in the security space that was acquired by RSA.

170
00:13:33.280 --> 00:13:36.520
<v Barak Schoster>Back then it was an employee and Idan was the founder.

171
00:13:36.820 --> 00:13:41.880
<v Barak Schoster>Guy Eisenkot, our VP product, was the main product at that startup.

172
00:13:42.020 --> 00:13:44.640
<v Barak Schoster>So I had years of experience working with them.

173
00:13:44.860 --> 00:13:49.580
<v Barak Schoster>As for the other team members, I was also very lucky to work with most of them.

174
00:13:49.580 --> 00:13:54.280
<v Barak Schoster>previously at my job prior to Fortscape, which was the Israeli Defense Force.

175
00:13:54.600 --> 00:13:59.920
<v Barak Schoster>We all worked in the IT department of the Israeli Defense Force.

176
00:14:00.660 --> 00:14:03.600
<v Barak Schoster>And what I looked in the team members was,

177
00:14:03.720 --> 00:14:10.080
<v Barak Schoster>I look for people who are very independent and they are also team players.

178
00:14:10.540 --> 00:14:14.780
<v Barak Schoster>So they can either make a good progress by their own,

179
00:14:14.820 --> 00:14:18.400
<v Barak Schoster>or they have high skills of communications with their team members

180
00:14:19.580 --> 00:14:23.560
<v Barak Schoster>people to work with, pleasant people that you like to work with when you come to your

181
00:14:23.560 --> 00:14:24.360
<v Barak Schoster>day-to-day job.

182
00:14:28.500 --> 00:14:30.440
<v Noah Labhart>Well, let's flip to scalability then.

183
00:14:30.620 --> 00:14:34.320
<v Noah Labhart>So did you build this to scale efficiently from day one?

184
00:14:34.540 --> 00:14:38.360
<v Noah Labhart>And I kind of know where you're going to go given your mention of the manual processes,

185
00:14:38.620 --> 00:14:44.200
<v Noah Labhart>but did you scale it efficiently from day one or are you fighting this as you've grown?

186
00:14:44.200 --> 00:14:44.700
<v Noah Labhart>own.

187
00:14:45.540 --> 00:14:51.460
<v Barak Schoster>So we were lucky enough to be a cloud native company by ourselves. So we had a very modern

188
00:14:51.460 --> 00:14:59.180
<v Barak Schoster>stack using mainly serverless functions. So AWS Lambda is our main backbone. And the scale of

189
00:14:59.180 --> 00:15:06.960
<v Barak Schoster>compute was really easy to resolve. It is just changing the auto scaling or concurrency

190
00:15:06.960 --> 00:15:13.420
<v Barak Schoster>configuration of Lambdas. The other scale challenges that we had was Lambda functions

191
00:15:14.280 --> 00:15:16.780
<v Barak Schoster>since they can almost infinitely scale,

192
00:15:17.000 --> 00:15:18.600
<v Barak Schoster>you get to the next bottleneck,

193
00:15:18.640 --> 00:15:20.420
<v Barak Schoster>which is not compute, it's your database.

194
00:15:20.980 --> 00:15:25.080
<v Barak Schoster>And back then, AWS did not have a good solution

195
00:15:25.080 --> 00:15:30.060
<v Barak Schoster>for working with both Lambdas and RDS or SQL servers.

196
00:15:30.380 --> 00:15:33.020
<v Barak Schoster>So we built our own RDS proxy

197
00:15:33.020 --> 00:15:36.860
<v Barak Schoster>to maintain a living connection to our database.

198
00:15:37.100 --> 00:15:39.740
<v Barak Schoster>And over time, we migrated to RDS proxy,

199
00:15:40.020 --> 00:15:41.880
<v Barak Schoster>the product that AWS have released.

200
00:15:41.880 --> 00:15:49.280
<v Barak Schoster>so we will have no scale issues between Lambda functions and database concurrency of connections.

201
00:15:50.140 --> 00:15:54.720
<v Barak Schoster>The short answer and the honest answer is we were not designed to scale at the beginning.

202
00:15:54.860 --> 00:15:59.560
<v Barak Schoster>We just were lucky enough to use a framework that is designed to scale.

203
00:16:00.000 --> 00:16:03.040
<v Barak Schoster>At the beginning, we supported only very small customers,

204
00:16:03.220 --> 00:16:06.160
<v Barak Schoster>and we had a lot of edge cases that we had to tune,

205
00:16:06.280 --> 00:16:11.640
<v Barak Schoster>and our monitoring framework really helped us to understand what are the bottlenecks,

206
00:16:11.880 --> 00:16:12.620
<v Barak Schoster>Where should we tune it?

207
00:16:12.700 --> 00:16:14.980
<v Barak Schoster>Where should we add resources to our cloud environment?

208
00:16:15.740 --> 00:16:21.900
<v Barak Schoster>And where should we invest in load balancing logic or distribution logic between the different

209
00:16:21.900 --> 00:16:23.480
<v Barak Schoster>tenants of the application?

210
00:16:24.080 --> 00:16:29.800
<v Noah Labhart>Was there a tipping point where you decided, okay, now we need to move on making some of

211
00:16:29.800 --> 00:16:35.900
<v Noah Labhart>these, you know, scaling changes, which, you know, fortunately you were already using a

212
00:16:35.900 --> 00:16:38.360
<v Noah Labhart>framework and the tooling to be able to do that.

213
00:16:38.420 --> 00:16:39.320
<v Noah Labhart>Was there a tipping point?

214
00:16:39.320 --> 00:16:40.400
<v Barak Schoster>I

215
00:16:40.400 --> 00:16:43.020
<v Barak Schoster>think it was a continuous change.

216
00:16:43.240 --> 00:16:45.700
<v Barak Schoster>Since we used Terraform and serverless,

217
00:16:45.940 --> 00:16:51.440
<v Barak Schoster>and we never used any manual steps to deploy to our production environment.

218
00:16:51.660 --> 00:16:54.600
<v Barak Schoster>Everything was described in infrastructure code.

219
00:16:55.020 --> 00:17:00.520
<v Barak Schoster>So an architecture change, which is something you do to support larger scale,

220
00:17:00.700 --> 00:17:03.560
<v Barak Schoster>for us was just like refactoring a bunch of classes.

221
00:17:04.070 --> 00:17:06.500
<v Barak Schoster>Those classes were Terraform modules.

222
00:17:06.500 --> 00:17:13.680
<v Barak Schoster>But it's just like the effortless refactoring of moving one class from one directory to another.

223
00:17:14.000 --> 00:17:17.140
<v Barak Schoster>It was similar to that, our journey to scale our application.

224
00:17:17.380 --> 00:17:22.600
<v Barak Schoster>It's just, let's add more Terraform code blocks and the scale issue will be resolved.

225
00:17:22.920 --> 00:17:32.480
<v Barak Schoster>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.

226
00:17:33.800 --> 00:17:39.460
<v Noah Labhart>Well, as you step out on the balcony and you look across all that you've built, what are you most proud of?

227
00:17:40.640 --> 00:17:51.060
<v Barak Schoster>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.

228
00:17:52.820 --> 00:17:59.120
<v Barak Schoster>It has millions of downloads and hundreds of open source contributors who are not company employees.

229
00:17:59.120 --> 00:18:08.800
<v Barak Schoster>I feel like we made a real impact on the infrastructure as code security space and the cloud security space.

230
00:18:09.280 --> 00:18:14.280
<v Barak Schoster>And I can judge it either by the willingness of people to contribute code back.

231
00:18:14.500 --> 00:18:18.400
<v Barak Schoster>It's under Apache 2 license, so it's easy to contribute and to adopt.

232
00:18:18.980 --> 00:18:22.900
<v Barak Schoster>And also by the popularity of usage of it.

233
00:18:23.040 --> 00:18:25.140
<v Barak Schoster>So that's what I'm most proud of.

234
00:18:25.140 --> 00:18:30.100
<v Barak Schoster>The second thing that I'm most proud of is how the team have matured and grown.

235
00:18:30.520 --> 00:18:37.000
<v Barak Schoster>And already some of the people who were the first employees are now managers in

236
00:18:37.000 --> 00:18:44.320
<v Barak Schoster>the company. And we somehow got to keep our amazing culture that we've built.

237
00:18:44.860 --> 00:18:51.440
<v Barak Schoster>Good people are still coming in and there is almost zero churn. So it's

238
00:18:51.440 --> 00:18:58.640
<v Barak Schoster>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.

239
00:18:59.840 --> 00:19:01.460
<v Noah Labhart>Let's flip the script a little bit.

240
00:19:01.660 --> 00:19:05.960
<v Noah Labhart>So tell me about a mistake you made and how you and your team responded to it.

241
00:19:06.900 --> 00:19:11.200
<v Barak Schoster>So like every startup, every SaaS company, we had a downtime.

242
00:19:12.240 --> 00:19:19.480
<v Barak Schoster>The thing that we were doing really good was reacting to it really fast and giving the system back up to our customers.

243
00:19:21.440 --> 00:19:26.780
<v Barak Schoster>it took us time to resolve was the retrospective part of it.

244
00:19:26.940 --> 00:19:32.120
<v Barak Schoster>We have discovered, well, we always knew that some things are not perfect

245
00:19:32.120 --> 00:19:33.980
<v Barak Schoster>in the way that we develop our software.

246
00:19:34.180 --> 00:19:39.480
<v Barak Schoster>And in retrospect, you have the opportunity to take a step back and say,

247
00:19:39.680 --> 00:19:43.480
<v Barak Schoster>hey, I should really have prioritized that a year ago.

248
00:19:43.560 --> 00:19:48.680
<v Barak Schoster>Whenever I first discovered I have this scale issue or business logic issue.

249
00:19:48.680 --> 00:19:52.420
<v Barak Schoster>but you never want to be in the reactive mode.

250
00:19:52.660 --> 00:19:56.340
<v Barak Schoster>You don't want to cause burnout to your team member.

251
00:19:56.540 --> 00:20:01.820
<v Barak Schoster>You want to have as predictable as possible deployment.

252
00:20:02.100 --> 00:20:10.520
<v Barak Schoster>And if not, you want to have a very easy and trustworthy process to roll back a change.

253
00:20:11.240 --> 00:20:16.800
<v Barak Schoster>So to make a long story short, we had a production issue that was really hard to roll back

254
00:20:18.780 --> 00:20:22.280
<v Barak Schoster>required people to stay up at night.

255
00:20:23.640 --> 00:20:28.900
<v Barak Schoster>But the resolution that we had later on for future updates

256
00:20:28.900 --> 00:20:33.060
<v Barak Schoster>is always to have the ability to roll back a production change.

257
00:20:35.280 --> 00:20:40.160
<v Noah Labhart>Well, tell me what the future looks like for the product and for your team.

258
00:20:41.320 --> 00:20:42.480
<v Barak Schoster>Team is growing.

259
00:20:42.780 --> 00:20:45.700
<v Barak Schoster>When we were acquired, we were 39 people.

260
00:20:45.780 --> 00:20:47.180
<v Barak Schoster>That was a year ago.

261
00:20:48.760 --> 00:20:52.380
<v Barak Schoster>70 people and counting.

262
00:20:52.640 --> 00:20:55.320
<v Barak Schoster>And also the open source community members

263
00:20:56.060 --> 00:20:57.200
<v Barak Schoster>have more than doubled.

264
00:20:57.400 --> 00:21:02.560
<v Barak Schoster>And the open source usage is seven times higher

265
00:21:02.560 --> 00:21:04.440
<v Barak Schoster>than it was when we were acquired.

266
00:21:05.640 --> 00:21:10.680
<v Barak Schoster>So everything is growing in manners of good people

267
00:21:10.680 --> 00:21:11.400
<v Barak Schoster>in the team.

268
00:21:11.520 --> 00:21:16.120
<v Barak Schoster>And we are, by the way, all remote companies.

269
00:21:16.120 --> 00:21:31.900
<v Barak Schoster>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.

270
00:21:32.000 --> 00:21:35.240
<v Barak Schoster>So we're all abroad, all across.

271
00:21:35.240 --> 00:21:46.120
<v Barak Schoster>cross and our next steps in the product is one always be the leader in infrastructure as code

272
00:21:46.120 --> 00:21:57.940
<v Barak Schoster>security to start handling every other piece of the supply chain of your software so from scanning

273
00:21:57.940 --> 00:22:03.800
<v Barak Schoster>scanning only infrastructure as code, we have evolved to also scan open source vulnerabilities

274
00:22:04.680 --> 00:22:08.160
<v Barak Schoster>and also CI's, CD's, configuration.

275
00:22:09.940 --> 00:22:18.680
<v Barak Schoster>And essentially our goal is to map and secure and fix every part of your supply chain, knowing

276
00:22:18.680 --> 00:22:25.140
<v Barak Schoster>what's the best place to fix and what's the best fix out there for your code at any step

277
00:22:25.140 --> 00:22:29.380
<v Barak Schoster>of your pipeline from IDE to CICD, version control systems,

278
00:22:29.980 --> 00:22:31.840
<v Barak Schoster>admission controllers, and runtime.

279
00:22:33.180 --> 00:22:37.180
<v Noah Labhart>Barak, I'm curious, how does BridgeCrew contribute

280
00:22:37.180 --> 00:22:40.320
<v Noah Labhart>to improving security around the supply chain?

281
00:22:40.460 --> 00:22:43.020
<v Noah Labhart>It's obviously an important topic nowadays

282
00:22:43.020 --> 00:22:46.140
<v Noah Labhart>with a lot of the supply chain issues going on

283
00:22:46.140 --> 00:22:49.080
<v Noah Labhart>and things out there that you read in the news.

284
00:22:49.180 --> 00:22:52.340
<v Noah Labhart>How does BridgeCrew really contribute to

285
00:22:52.340 --> 00:22:54.680
<v Noah Labhart>positively affecting supply chain security?

286
00:22:55.140 --> 00:22:55.840
<v Barak Schoster>I

287
00:22:55.840 --> 00:23:01.600
<v Barak Schoster>think that first it's important to mention how do we define supply chain of software.

288
00:23:02.280 --> 00:23:10.640
<v Barak Schoster>Supply chain of software is all of the different building blocks that we lead you as a developer team leader

289
00:23:10.640 --> 00:23:18.400
<v Barak Schoster>to bring a product from inception, from the deck phase, to a production environment.

290
00:23:18.700 --> 00:23:22.040
<v Barak Schoster>And that supply chain includes the building blocks of open source packages,

291
00:23:22.040 --> 00:23:30.160
<v Barak Schoster>packages, infrastructure as code, DevOps pipeline, version control system configuration, Docker

292
00:23:30.160 --> 00:23:32.720
<v Barak Schoster>images and the list goes on.

293
00:23:32.880 --> 00:23:41.920
<v Barak Schoster>Our software today is built from so many pieces of puzzle that we really need to invest in

294
00:23:42.710 --> 00:23:46.080
<v Barak Schoster>every piece of that puzzle to have a complete picture of a product.

295
00:23:47.880 --> 00:23:56.480
<v Barak Schoster>and attackers today can utilize different parts of our supply chain to

296
00:23:56.480 --> 00:24:02.720
<v Barak Schoster>create a malfunction in our product. If our product was a car, some of our

297
00:24:02.720 --> 00:24:09.040
<v Barak Schoster>suppliers were suppliers of wheels, of engines, of electronics and each one of

298
00:24:09.040 --> 00:24:14.560
<v Barak Schoster>those suppliers could have created a very bad driving experience for me as a

299
00:24:16.080 --> 00:24:22.780
<v Barak Schoster>Could have been also a security about a security experience as a driver or a passenger and in software

300
00:24:22.780 --> 00:24:25.480
<v Barak Schoster>It's kind of similar. I

301
00:24:25.480 --> 00:24:26.380
<v Barak Schoster>can have

302
00:24:27.260 --> 00:24:29.600
<v Barak Schoster>misconfigured pipeline that

303
00:24:30.920 --> 00:24:33.880
<v Barak Schoster>Does not have a secret storage for example

304
00:24:33.880 --> 00:24:39.040
<v Barak Schoster>So my secrets to production environment who gave the pipeline admin access

305
00:24:39.840 --> 00:24:40.660
<v Barak Schoster>can actually

306
00:24:42.200 --> 00:24:47.600
<v Barak Schoster>actually leak into unwanted places to bad actors.

307
00:24:47.940 --> 00:24:54.960
<v Barak Schoster>And also, my pipelines can have bad defaults in the infrastructure as code

308
00:24:54.960 --> 00:24:57.580
<v Barak Schoster>or bad packages being used in the pipeline.

309
00:24:58.000 --> 00:25:02.900
<v Barak Schoster>And we actually have seen attacks like that in the past year.

310
00:25:03.080 --> 00:25:07.420
<v Barak Schoster>For example, CodeCov was a famous breach of 2020,

311
00:25:07.420 --> 00:25:17.520
<v Barak Schoster>where every code repository out there that used CodeCov, which is a popular tool for code coverage,

312
00:25:18.640 --> 00:25:22.500
<v Barak Schoster>and did not have a signed artifact of CodeCov,

313
00:25:23.740 --> 00:25:28.840
<v Barak Schoster>possibly had a malicious library injected into their pipeline

314
00:25:28.840 --> 00:25:33.600
<v Barak Schoster>and leaking some of the codes or secrets that exist in that pipeline.

315
00:25:33.600 --> 00:25:41.700
<v Barak Schoster>CodeCov have reacted fast and have resolved and patched this issue, but it made all of

316
00:25:41.700 --> 00:25:50.300
<v Barak Schoster>us security practitioners, DevOps practitioners ask if our pipelines architecture is defined

317
00:25:50.300 --> 00:25:50.800
<v Barak Schoster>correctly.

318
00:25:51.460 --> 00:25:53.540
<v Barak Schoster>Is the networking defined correctly?

319
00:25:53.840 --> 00:25:55.380
<v Barak Schoster>Is the packages defined correctly?

320
00:25:55.760 --> 00:25:57.580
<v Barak Schoster>And the pipeline configurations.

321
00:25:57.580 --> 00:26:16.700
<v Barak Schoster>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.

322
00:26:18.040 --> 00:26:19.380
<v Noah Labhart>Let's switch to you, Barak.

323
00:26:19.460 --> 00:26:21.480
<v Noah Labhart>Who influences the way that you work?

324
00:26:21.680 --> 00:26:26.780
<v Noah Labhart>Name a CEO, a CTO, an architect, really any person that you look up to and why.

325
00:26:28.680 --> 00:26:30.680
<v Barak Schoster>There are people who I've worked with.

326
00:26:32.040 --> 00:26:39.980
<v Barak Schoster>The first one was the first architect of Fortscape, the previous startup that I used to work

327
00:26:39.980 --> 00:26:40.480
<v Barak Schoster>with.

328
00:26:40.280 --> 00:26:48.400
<v Barak Schoster>His name is Gash Hazan, and he really taught me how to learn better.

329
00:26:49.720 --> 00:26:57.360
<v Barak Schoster>So I thought that I knew a lot about software engineering and he really

330
00:26:57.360 --> 00:27:01.180
<v Barak Schoster>taught me off if there is something that I don't know or Google doesn't know

331
00:27:01.180 --> 00:27:07.280
<v Barak Schoster>what's the best way to approach the research of a new capability that is not

332
00:27:07.280 --> 00:27:13.440
<v Barak Schoster>documented yet. How to test my code better and how to gradually deploy a

333
00:27:13.440 --> 00:27:21.220
<v Barak Schoster>software in small chunks that can be easily consumed by other team members.

334
00:27:21.980 --> 00:27:31.460
<v Barak Schoster>And I think that the second architect that most influenced my thought process is Martin Fowler.

335
00:27:31.660 --> 00:27:38.420
<v Barak Schoster>I've never met him in life, but he has an amazing blog and amazing set of webinars

336
00:27:38.420 --> 00:27:45.160
<v Barak Schoster>that I really recommend as a place to start reading about software architecture

337
00:27:45.160 --> 00:27:50.980
<v Barak Schoster>and different advantages of different types of architectures.

338
00:27:53.620 --> 00:27:56.700
<v Noah Labhart>Well, we talked about a mistake, but a little bit different spin.

339
00:27:56.920 --> 00:27:59.840
<v Noah Labhart>If you could go back to the beginning, what would you do differently?

340
00:27:59.940 --> 00:28:02.140
<v Noah Labhart>Or where would you consider taking a different approach?

341
00:28:04.360 --> 00:28:16.840
<v Barak Schoster>I think that what we didn't know at the beginning was how aggressive would be the open source

342
00:28:17.760 --> 00:28:20.380
<v Barak Schoster>adoption of the tool that we've developed.

343
00:28:20.380 --> 00:28:30.720
<v Barak Schoster>helped. And it grew really, really fast. And we haven't anticipated it. And we haven't,

344
00:28:31.820 --> 00:28:39.400
<v Barak Schoster>we could have done better work in leading those initial community users to contribute

345
00:28:39.400 --> 00:28:47.120
<v Barak Schoster>more code, we could have done better work in making some of the contribution workflows

346
00:28:47.120 --> 00:28:49.820
<v Barak Schoster>workflows more accessible than the documentation.

347
00:28:50.220 --> 00:28:57.300
<v Barak Schoster>And we also could have done better work in deciding what should be a commercial feature

348
00:28:57.490 --> 00:28:59.020
<v Barak Schoster>and what should be open source.

349
00:29:01.600 --> 00:29:06.860
<v Barak Schoster>And better work at communicating that to our community.

350
00:29:06.860 --> 00:29:15.780
<v Barak Schoster>community. So I think that having maybe having a public roadmap that, uh,

351
00:29:17.320 --> 00:29:24.060
<v Barak Schoster>would explain to our community users what we expect to be contributed and what we're working

352
00:29:24.060 --> 00:29:33.760
<v Barak Schoster>on ourselves and what is going to be a paid tier only um would have created a more transparent

353
00:29:33.760 --> 00:29:38.500
<v Barak Schoster>environment with our community. I think that we are doing that work today. It's important to say.

354
00:29:39.180 --> 00:29:44.420
<v Barak Schoster>But I think that in the beginning, we haven't done that good enough.

355
00:29:46.600 --> 00:29:50.120
<v Barak Schoster>And maybe we had an even bigger community if we've done it from the beginning.

356
00:29:51.240 --> 00:29:55.400
<v Noah Labhart>Well, last question, Barak. So you're getting on a plane and you're sitting next to a young

357
00:29:55.400 --> 00:29:59.340
<v Noah Labhart>entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to

358
00:29:59.340 --> 00:30:02.780
<v Noah Labhart>show it off to the world. Can't wait to show it off to you right there on the plane.

359
00:30:03.760 --> 00:30:06.220
<v Noah Labhart>advice do you give that person having gone down this road a bit?

360
00:30:07.660 --> 00:30:15.780
<v Barak Schoster>Always ask your customers what to do first. One of the key things that helped us in our success

361
00:30:15.780 --> 00:30:20.980
<v Barak Schoster>was before we wrote the first lines of code of BridgeCrew, we interviewed 120

362
00:30:22.760 --> 00:30:31.120
<v Barak Schoster>SREs, security practitioners, DevOps engineers. Maybe 120 is too much. My advice to a new

363
00:30:31.120 --> 00:30:34.480
<v Barak Schoster>new entrepreneur would be stopped at 30 to get a validation.

364
00:30:34.780 --> 00:30:37.620
<v Barak Schoster>But we really hammered down the validation process

365
00:30:37.620 --> 00:30:40.440
<v Barak Schoster>and we always have continuously done it

366
00:30:40.440 --> 00:30:43.060
<v Barak Schoster>even after we had an initial product, an MVP,

367
00:30:43.220 --> 00:30:45.080
<v Barak Schoster>and after we were also acquired.

368
00:30:45.200 --> 00:30:51.960
<v Barak Schoster>We really invest in our interview process,

369
00:30:52.240 --> 00:30:53.940
<v Barak Schoster>our customer interview process,

370
00:30:54.940 --> 00:30:58.360
<v Barak Schoster>to learn what are the pains that we're answering with our product,

371
00:30:58.360 --> 00:31:02.100
<v Barak Schoster>what are the other pains that we haven't resolved yet,

372
00:31:03.220 --> 00:31:09.120
<v Barak Schoster>and how's the day in the life of the persona that is our user looks like,

373
00:31:09.180 --> 00:31:11.680
<v Barak Schoster>and how can we make that day easier.

374
00:31:12.140 --> 00:31:17.140
<v Barak Schoster>So if you're building a developer tool, or a developer productivity tool,

375
00:31:17.200 --> 00:31:20.680
<v Barak Schoster>or security tool, you should really ask your persona

376
00:31:24.080 --> 00:31:30.240
<v Barak Schoster>what is the thing that you are going to solve really solving a real problem in their life

377
00:31:30.240 --> 00:31:36.260
<v Barak Schoster>it can be based on your own day-to-day activity but it's even better if it's also

378
00:31:37.420 --> 00:31:40.360
<v Barak Schoster>validated with your potential customers that's

379
00:31:40.360 --> 00:31:43.020
<v Noah Labhart>Fantastic advice. Well, Barak, thank you for being

380
00:31:43.020 --> 00:31:46.720
<v Noah Labhart>on the show today. Thank you for telling the creation story of Bridgecrew.

381
00:31:46.720 --> 00:31:47.880
<v Barak Schoster>Thank you for

382
00:31:47.880 --> 00:31:49.700
<v Barak Schoster>For having me, it was great being here, Noah.

383
00:31:50.940 --> 00:31:53.980
<v Noah Labhart>And this concludes another chapter of Code Story.

384
00:31:58.300 --> 00:32:01.340
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart.

385
00:32:01.480 --> 00:32:06.240
<v Noah Labhart>Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice.

386
00:32:06.680 --> 00:32:11.740
<v Noah Labhart>Support the show on patreon.com slash Code Story for just five to ten bucks a month.

387
00:32:12.100 --> 00:32:14.320
<v Noah Labhart>And when you get a chance, leave us a review.

388
00:32:14.620 --> 00:32:16.520
<v Noah Labhart>Both things help us out tremendously.

389
00:32:18.960 --> 00:32:20.440
<v Noah Labhart>and thanks again for listening.
