Video: AI Code Hygiene: Deslopification | Duration: 2928s | Summary: AI Code Hygiene: Deslopification | Chapters: Introduction and Welcome (159.805s), AI Code Acceleration (249.585s), Code Quality Assurance (325.595s), GitHub Security Tools (420.965s), Security Configuration Setup (622.23s), Code Quality Tools (930.19s), Rule Sets Configuration (1203.275s), Managing Security Backlogs (1373.77s), Code Scanning Alerts (1580.49s), Prevention and Remediation (1895.665s), Q&A and Closing (2371.735s), Closing Remarks (2869.29s)
Transcript for "AI Code Hygiene: Deslopification": Hey, everybody. Let's go ahead and and get started here. First of all, welcome everybody. My name is Jeff Beckwhips. I am a former security engineer here turned solutions engineer at GitHub. I am joined by my similarly named colleague, Chet McArthur. He is going to be manning the chat. So he'll be answering questions. As you all have them, feel free to put them in the chat. Today is gonna be all about AI code hygiene. Really specifically as it relates to AI generated code, also known as SLOP colloquially. By the end of the talk, I hope... I'd I'd like you all to kind of understand how GitHub gives you the tools to sort of prevent the risks associated with said slop, you know, as we, you know, make sure we prevent those risks, but also ensure that we can deslopify your existing code. So every day as a solutions engineer here, both I and Chuck MacArthur, we are work with... Working with companies that have this sort of dual mandate right now. Number one, they're rolling out AI tools while simultaneously trying to keep their code secure, reliable, maintainable. You know, back in the day, a few years ago... I mean, honestly, about a year ago, is probably when this really started rolling. Engineering teams were really constrained, but the constraint... The main constraint was output. Right? They could only write so much code. AI has completely removed that constraint. And this is just what we're seeing at GitHub. Right? At GitHub, we are not seeing a two x, say four x, say seven x. We're seeing a 14 x, increase in commit growth just this year alone. Alright? 20,000,000 new repos per month, and that number is still accelerating. And we see it with customers just across the board. Right? I'm personally working with multiple customers who are going from an average of, you know, say 20,000 lines of code per year to millions. And they're adding new programs, like like citizen developers, that, you know, they're whirling out these tools and expanding these tools to folks that were, you know, they're non developers to kinda help vibe code their applications. And because of this, they're shipping more code and more features than than ever before. And, you know, I'm sure this is the same for a lot of the companies you all are coming from. Right? The concern right now is really, hey, no longer, you know, can AI help us ship more code. You know, that's that's... That question is in the rear view mirror. The the question is now more, you know, more twofold. Right? The first is around the benefits. And it's so centers around, can these tools reliably lead to better outcomes? Things like time to market, things like user experience. The second question that, most customers, are coming to us coming to us with is in regards to more of the downside. Right? Can we trust what we've produced? And because of the pace of the production of code, each line of code is actually getting, less and less attention. And as it relates to to code though, the the real issue with, you know, say, you know, SLOP, you know, AI generated code, is in its liability. Right? Each line of code produced is a line of liability for your company. And the chances of security incidents increase dramatically because your attack surfaces are increasing dramatically. So the best way that we have found to combat this mass production of code is not to require every line of code to be reviewed by a human like like in the good old days. Obviously, barring, you you know, compliance requirements around that. Giving every line of code would would forfeit a lot of the gains in productivity that we've seen. Really the best way to to combat the sort of sloppification of of code is to create the system by which every single line of code entering the system goes through these rigorous checks and and test to ensure proper security, liability, maintainability standards are met. And so the key point here is that, you know, AI really isn't a special case. Alright? It it really doesn't need to be treated as some as some, you know, special case. It really is just highlighting the importance of of the standards that should have been in place, and should have been applied to all engineering teams already. Right? So in regards to AI, it really... You know, from a from a development point of view, it should have an identity and and audit trails in order to attribute actions and and accesses. It shouldn't... And, you know, obviously, adhere to the same, guardrails from a, you know, branch protection and reviews point of view. Its output should be as secure, reliable, maintainable as, you know, any other, contributor on your team. And And so what we're gonna be focusing on today is is what GitHub provides you natively to ensure that the sys... That there there is a system in place, right, that minimizes the liability of code being produced, be it from a a human or or an agent. So really, we're gonna be looking at at four different levers that that GitHub gives you to build out sort of the secure agent native engineering system on GitHub. Right? The first that we're gonna be talking about is, what... I mean, one of the levers is gonna be secret scanning. And and really the goal of secret scanning is to detect those plain tech secrets, but also ensure that they never make it into GitHub, at all. The next area we're gonna be discussing is code security. And really the goal here is to make sure code vulnerabilities are caught and fixed before code is merged. So really, detecting those at poor request, time. Next error we're gonna be talking about is good quality. This just is a... It's a newer tool from, GitHub. And the goal here is to really just ensure that quality is held to a release standard regardless of of who or what produced it. And finally, a tool that has gotten a lot of attention and investment is our Copilot code review tool. This this tool is out there and it really just ensures that code is reviewed quickly, reviewed automatically so that standards may be kept and issues can be identified before even another human needs to to get involved and and look at the code for review. So in this next portion of the talk, I'm gonna be giving you all some tips. And then I'm gonna be going through and sort of showing you kinda how to implement those tips, within GitHub today. So the first tip, probably the most important tip is to make enablement easy. I know this sounds trite, but if a team struggles to implement a system, it tends to not get used. Using the native tools of GitHub really does ensure that enablement and configuration are just dead simple for the for the admin teams. So let's go see an example of, how GitHub makes enablement easy. So let's go into our organization over here, a code hygiene organization. Now within the organization screen, and if this looks small, feel free to, you know, make this blow up the screen a little bit. I I can also zoom in, if folks are having trouble seeing. But let's go over from the organization area and into the settings tab. From the settings tab down into the advanced security under the security and quality section, if you click advanced security, you'll see configurations, you'll see global settings. Let's go into configurations. Now in the configuration screen, if you have it set it up, it'll say, hey, let's let's enable advanced security. If you have it enabled, you'll be able to see the percentage, of repositories within this organization that are protected by Dependabot, so SCA scanning, code scanning, first party SAS scanning, and secret scanning. When you first start to set this up, you're also going to see a GitHub recommended configuration. This is sort of the default configuration, that a lot of companies use. If you come in and you click the edit, you can see, hey, how many of these repositories do I want to apply this to? Do I wanna select repositories? Do I wanna do this mass configuration? If you want to and what a lot of, customers will do is they will go in and initially, create a new configuration just so they can see the features that they can enable or disable. So let's go ahead and do that. And then in here, you'll get kind of this like broad strokes features that you can enable between secret scanning, code scanning, and SCA scanning. Let's go into custom configurations. This is really where you can make the configuration your own, and you can parse over each one of the features enabled, or available to either enable it or disable it or leave it up to repo admins to decide. The first area here is all around, secret scanning. So this is the tool that is... The the name of the game is to really discover those plain text secrets that have been leaked into your repositories and prevent future leakage as well. These are the secrets that you do not need to ex fill. Basically, if you have read access to the repository, you can go and grab any of these secrets and use them. There's a lot of different features in here, to go over. The main ones are the bay... Basically, the top half of this, section is gonna be around the types of secrets we want to enable, such that when this thing turns on, you'll be flagged on the different sorts of secrets that you have, leaked. Bottom half here is around push protection. Really push protection is such a key feature inside of GitHub because it is unique to GitHub. We're uniquely able to prevent at push time any... These detected secrets, within your commit. So really ensuring that nobody ever accidentally pushes up, a secret again. Secondly, you're gonna be able to enable, code scanning. It's default setup is the default of most most companies will use. This is going to be running our first party scanning tool called CodeQL out of the box. When you enable this, there's gonna be a setup run, to auto detect the the repository languages that we need to scan for. And then you can configure the type of runner that it runs on. Out of the gate, that would be the standard runner. Dependency scanning. We're gonna talk a little bit less today about, dependency scanning, but this is all about, essentially, the things that you need to create an SBOM. Dependency graph, automatic dependency submission, for dependencies discovered at build time, and, obviously, things like depend about alerts and malware alerts depend on that dependency graph. And then at the bottom of this configuration, you'll see two different areas. One is basically saying, hey. Do we wanna use this as a template for newly created repositories going forward? Standardize this, as the sort of security configuration, and to what level do we want to give repo admins the ability to change any of these? Do we want to enforce this configuration as an organization owner, and say anything that I've explicitly enabled here don't change it? Or do we want to say, I wanna apply this, but if you want to change it, you can. So you can enforce it or not enforce it. But we've already gone ahead and we've enabled this, you know, GitHub recommended, configuration to r three repositories within this organization. So once you do that, it's gonna start the the setup of secret scanning and code scanning and depend upon. The second tool we're gonna wanna configure is code quality. Code quality is found right below here, inside of the code quality tab. And it's a bit simpler to set up. Really, all you're going to be saying is, hey. Which repositories do we want to enable this on? And similar to that last, area in the the advanced security configuration, do we want to give flexibility to repo admins to turn this off and on at their discretion after we've enabled it, in their repositories? But I've already selected all repositories here. The third tool we wanna make sure that we implement, that we enable here is the Copilot, code review. So if we are in... This actually jumps out of security and quality up into the Copilot section. You're gonna see a few things in here, but one of them is the code review. So let's go here. And again, all of this is being done at the organization level. So within the Copilot code review, area here, most of the configuration is gonna be around the sort of effort level of the review. So you're gonna determine what what effort level is gonna be, selected for your sort of default reviews. So if you enforce a review, what what sort of effort level, will be used during those reviews? And I'm just gonna start by talking about the light review. So the light review is a bit of a surface checker. Alright? This is really looking at the the diff, of the alerts or the diff of, the the code produced in the pull request. You know, the... It's looking for styling and consistencies and bugs. It does use this ensemble of agents to review the findings, but these are lower tier agents really focused on keeping that cost low. So just ensuring that a second set of eyes is getting, is, is looking at any code that is produced here. So balanced, as the name suggests, this is a a bit more of a balanced approach between light and max. This is gonna perform a deeper analysis and take into account the sort of larger repo context itself, not just that diff. And then finally, the the max effort level. This is a newer addition. This is gonna take into account more complex logic and and really the rationale of the pull request itself. This is gonna run several independent review agents across higher tier models from different providers all doing sort of adversarial reviews on each other. And then the aggregation agent is is going to reconcile their findings, resolve disagreements, double check accuracy before combining everything into this sort of single, max review. Now this is really, really good for high impact changes such as, you know, obviously, those, like, shared libraries where several services, depend depend on or changes things like maybe authentication. This score is very high on on benchmarking of review agents. Downside here is it is expensive. We do not we do not expect nor want you to turn this on for every single pull request. I think some of the testing shows that the average review of this is around $10. So just be aware of that. Couple other things is you can actually now also enable secret protection for AI scans. This will essentially allow Copilot, code review to also perform a a secret scan, a scan for leaked secrets, during the pull request, review. And finally, last but not least, you can also enable, Copilot to approve, pool request, and it satisfied the the sort of merge requirements, for for PRs, maybe a non prod branches. This has been really helpful for teams that are kind of struggling with sort of PR velocity for those for those non prod branches. I have this, disabled though. And and to kinda tie this all together, apart from push protection, nothing that we've enabled here, is really creating a a guardrail, or really a gate around around your your code as it stands. All of it is enabled, but right now it's informational. It will run... You know, code scanning is gonna run on pull requests, but it won't prevent anything from being pushed. So in order to sort of tie these together, we wanna make sure we we put them into a rule set. And so inside of the repository area here, you'll see rule sets. And I've actually already created one. All you have to do is create a new branch protection rule set. Let's go take a look at the one that I've already created here. So inside here, you can create a bypass list of people that should be able to bypass, like organization admins or obviously this break class situations. Target repositories, which repositories within this organization this applies to and the branches within those repositories. But coming down here, this is really where you can require a pull request before merging. And then you can say, hey. Inside of this pull request, I want you to not only run a code scanning tool, but those need to have alert surface so it needs to scan. And then you can set the threshold by which you will prevent a merge. So So in this case, I'm saying, hey. I I want the... Our first party code scanning tool to run, and nothing that is a severity of a high or critical can be merged. Those need to be actioned, be it through something like an auto fix or manually before you can merge this code. And you can do the same thing with code quality results down below here and saying, hey. I wanna make sure there are no errors. Or I don't... I'm I'm... You know, code quality are... These are fairly actionable. So I wanna make sure that we are covering all of our bases. So warnings and higher are not allowed to be merged. You can also go in as part of the code quality tool and set a code coverage, for your repositories. Once that's set up, you can actually require minimum line coverage percentages, before merging. So if we see a drop, below 70, that would be considered a a blocking, change. And you can also set a maximum line coverage drop per pull request. And finally, you can require these automatic requests from Copilot code review, in here as well. That is going to, default to the default, review effort level that we set in that code review section. Alright. Let's go back to this PowerPoint. I'm gonna switch into presenter view. I hope you all can see this okay. Here we go. And run back through the slides. Alright. Second tip. So, you know, we... We're configured. Our guardrails are set. Our our tools are enabled and they're tied together within the rule set that we created. Rollout's fairly easy. So let's kinda talk about dealing with the issues that will surface. So as we were setting up that rule set, if you've configured advanced security, you're gonna start seeing this backlog being created. And so the next step here is really to just make sure that the vulnerability and quality backlogs are front and center. They're easy to find, they're easy to prioritize, and they're easy to fix. If developers don't know where to look, right, or they have to navigate away into another software, that adds friction and time to remediation. So let's jump back into GitHub, and see where a developer, might go to see the search kind of security quality posture of a repository that they are working on. So inside of one of these repositories, our code hygiene service repository, The developer should be able to see the security and quality tab over here. By default, the developers... Your developers are going to see your quality or depend about your code scanning alerts. They will be able to see secret scanning alerts attributed to commits that they have pushed. So down in the standard finding, let's let's just go down the list. So this is really where we're gonna aggregate all of those existing alerts in our code for quality, SCA, SAS scanning, and and secret alerts. We're gonna start code quality though, because it is first on the list here. After code quality runs and code quality is actually running the same underlying deterministic engine called CodeQL to find quality issues within your code. As these are discovered, it's going to create these sort of open alerts here. And underneath each rule, so eight rules have been broken. Within each rule, you're going to see the count of rules broken for each of these. In here, you're going to see the scoring for your repository. So fair means at least one warning was discovered. Poor means at least one error was discovered. Inside of this alert, we could go to this empty accept rule that was broken a couple times. And if you don't really know why you should not ignore like an exceptions block inside of code, this will give you some more information around that. But then you can take a few different action steps. One, you can go in and dismiss an alert or you can dismiss individual alerts here. You can assign them out to Copilot. And so what this is gonna do is it's gonna spin up on these cloud agents to action them, individually creating a pull request, letting you know when when it's done working. You can also come in here and do a master mediation. So instead of doing these individually, creating a pull request for each one, you can go into and assign these to Copilot. And, you know, in the cases where there is some, overlap, you can always go in and and, assign this to Copilot and it will, deal with those merge conflicts. So here we go. We'll sign these out, and we will let Copilot begin its work. Now say, hey. View the PR. So let's go back to the standard findings. Inside of the secret scanning now, so we're dropping to the bottom. This is where you are going to find the secrets that we've already leaked up. We've organized them in two different places based on the type of secret that is leaked. The first one is the default secret. So default secrets are what we call provider patterns. These are partners with GitHub, things like GCP, things like AWS, Datadog, Slack that develop a a regex pattern and even embedded checksums within that regex so that we can scan and have this very low false positive rate. We also see each one of these. We have a GitHub pat token here and a Slack API token here. We see this publicly leaked, alert here. This is essentially telling us, hey. We've actually discovered this as inside of a public repository in GitHub. We have access to those. We also see that the validity is inactive. What, quite a few of these providers provide to us is a, what what we call a validity check. Secure back end, we ping that secret out to, and it will... They will come back and say, yes. This is a, inactive or inactive secret or it's valid. Some will even give us additional metadata such as the expiration date of the secret and email that it was attributed to. Down below here, this is where you can come in and see, hey. Where was this leaked? That, you know, we we obviously see that it was in this, like, integration config. And you can see, hey. Who is this attributed to and and what commit was attributed to here? As well as the repositories, the files that this was, publicly leaked into. So really, from a prioritization point of view, you're looking for those that are active, active secrets that are publicly leaked. Those things need to be actioned like yesterday. From the generic, screen, this is where we're gonna see things like non provider patterns and AI detected secrets, non provider patterns that follow the pattern, but they're not connected to any one provider. No validity check here, but things like RSA, private keys, connection strings, things of that nature, bear bear auth tokens, will be found in that area. And just like in the, provider pattern alert, we'll be able to see which commit this was attributed to. And And if we look at it and it's a false positive or it's used in test, you can close the alert here. Alright. Lastly, code scanning alerts. These are the first party scanning alerts, here. So, as this spun up, we're using what's called the default, setup. This is going to set up a run with our engine called CodeQL. What it does is it generates a database from your code, generating this relationship between different portions of your code, different functions to kinda track that data and control flow through your repo, really ensuring that the vulnerabilities that we detect here are actually exploitable because the name of the game here is is cutting out on noise to developers. Then we're gonna be running, queries against that that database. The default setup, which is what we set up as part of that GitHub recommended configuration we enabled earlier, this is going to be running queries against that database that will flag on the, like, highest confidence and and severity vulnerabilities out of the box. So you're gonna see a lot of mediums, highs, and criticals initially. Again, just try to minimize noise there. If we go into any one of these alerts, so if we go into our kind of uncontrolled command line, you'll see a few things. First and foremost, just like this quality alerts, you can assign these out to Copilot. When you do that, it will... Copilot will spin up a cloud agent. It will take into account the context of the alert and begin working to create a remediation. Down below here, we can actually see that this is, an uncontrolled command line vulnerability, and it looks like there is seven places, where user provided value starts off as a risk, right, and ends, as a vulnerability, you know, having not been, taken care of, along that that that data flow path. And we can actually see an example of one of these if we go into the show paths area where this starts as a source and a risk flowing through the application and ends as a as a vulnerability and a sync here. If you're unfamiliar with with the command line injection issues, you can always go in and see additional information here as well. We know technical debt is hard to deal with and it's hard to manage. But if we just assign this out to Copilot, it can deal with the the technical debt, that has been piling up here, and I can go back to sort of feature work that I'm responsible for. One thing to note as well, if we go back to our code scanning alerts, we can also, mass apply and mass assign, Copilot to multiple of these. It will handle all the merge conflicts, running its own kind of security scans on the outputs to make sure that what is... What it is producing is actually secure code based on our own scanning tools. Alright. Next step. So we set the guardrails. We have located this backlog. We've made it easily accessible to teams working on code. Let's just talk about prevention now. Really the the the next tip here is just ensuring that we're empowering developers with security and quality findings directly in the PR. No developer wants to realize that they were responsible for introducing a security incident. No developer wants to find out they're the source of some technical debt or some poorly implemented buggy logic. So we really just wanna make sure that we're, like, empowering developers with these sort of security and quality findings directly on the PR so that we can avoid those sticky situations entirely. The developers at the end of the day at bottom, they just wanna be confident that the code that they're producing, you know, be it by hand, or keys, or or or with AI is is secure and and high quality. So if we go into one of the alerts within our code hygiene service, repository here, and we scroll down. One of the things we can actually take a look at is the reviewers here. We see we already have had a Copilot balanced review, and we've had the advanced security bot and code quality bot both take a review of this and report their findings. The first that we see is a, is an uncontrolled data used in a path expression vulnerability. This will tell you the area of the code that this was identified in similar to what we saw in that, that alert before. You can actually go in and and sort of see the the the source to sync of the of the risk into its vulnerable, into into a vulnerability here. And then we see a suggested fix as well. You can commit the suggestion and advanced security, CodeQL, and Code Quality will rerun on that pull request. Down below here, we also see some additional alerts, with uncontrolled command lines with additional areas where there's... Depends on a a user provided value in multiple areas instead of just one. So this is another advanced security alert that was detected. Below, we also see a Copilot code review, detected some, some issues and some persisted persisted and queried metadata that was created as well. And this is going to similar to those, security alerts show you, you know, really where this was detected here. Code quality has run, and these alerts are gonna look very similar. It's gonna say, hey. This is the area that we've detected a modification, of a of a default parameter with the fix, suggested as well, and another quality alert down below. Finally, at the bottom here, I've set up code coverage to run on pull request here with the branch protection rule set that says, hey, I don't wanna drop below 70%. I have dropped below 70% of test coverage, and I've also introduced, a drop and change of of 7%, which both, exceed those limits that I've set. So this will block the merge as well. If you want to mass remediate, you can always go in here, add to batch, and this will create this this area where you can add multiple suggested fixes and then commit them all at once. And that'll take care of the times when you might wanna add a commit... Multiple commits, suggested from quality and and, security Copilot auto fixes without, necessarily running a scan each time you wanna make one of those changes. Alright. So final tip here. Name of the game. So we wanna ensure the secrets are stopped from making it into GitHub at all. So no matter how good of a developer you are, or how security minded you are, sometimes you'll be testing code and it'll work and you'll forget to move a secret to a a dot e m b file. You make a commit, you push a secret up. It happens to everyone. It happened to me when I was a dev. Push protection just ensures that those secrets will not ever leave your laptop. I'm gonna demo this as, inside of, github.com from the UI, but this experience is going to look very similar if you were in, say, the IDE or the CLI or the GitHub Copilot app. So if we wanna come down and we wanna make a change, first of all, we can copy and paste this in here. So this is a inactive, GitHub personal access token. Let's try to commit this in. And this blocks me. And it says, hey, you're trying to leak up a a GitHub personal access token. Obviously, that is... That was an explicit, paste in on my part. But say I had six commits and I pushed one up accidentally. I I committed a secret and commit three. This is what would prevent those accidental pushes. If you are an admin, you can bypass this. You say it's false positive or I'll fix it later. I need to get this in. I'm on call and I need to, you know, this is a break glass situation. But this allows you as an admin, to ensure that you you have visibility and and you kinda control the surface area of GitHub from a plain text secret perspective. So also ensures that no one's accidentally ever linking secrets up again. You have to explicitly say why you are, bypassing our secret protection tool. But let's not do that. Alright. The last thing I wanna share with you all is, you know, we know what the volume of code generated generated these days that, like, security and quality is just challenging. Compromised credentials is the number one attack vector, and and you really need to keep them out of GitHub using things like like push protection. 90% of of tech debt remains unresolved, especially these days. But so often, this is the case of visibility, access, and convenience rather than a lack of willing to actually pay down that debt. If you put the backlog right where devs are working and you give them the tools to remediate, you'll find the backlog is a tendency to get cleaned up. Lastly, most developers ship vulnerable code 81%. Probably, it's a low number, these days. I I was a security engineer. I ship vulnerable code. But by creating the guardrails that we talked about today, those... That sort of creating that system that gives your developers these fast feedback loops within pull request or even that push, This ensures that that, they have the knowledge to kinda correct mistakes early on. You know, now that... We're going more... Now now that companies have increased their lines of code by, you know, in GitHub's case 14 x, but, you know, four to 20 x is what we're seeing. More important than ever to develop the system that ensures that that code quality and security is maintained, and that GitHub gives you the tools to easily deploy and maintain those guardrails effectively. Now there's a few things you can do today. First and foremost, super easy, super free. Take a secret and code security risk assessments available, in your GitHub organizations. This will allow you to see how many secrets right now have been linked up in your organizations, how many vulnerabilities exist in your code today. Run the code qual... Enable code quality, enable Copilot code review. I hope this was helpful, folks. I'm gonna bring Chip McArthur up on the stage now, and we can do some some q and a. Alright. Nice to meet everyone. Thanks for listening. I guess, a question we could start with, other chat is from, the chat. So what we have is... From my understanding is that GitHub's GitHub Copilot, sorry, together with security and quality tools can automate many tasks from code review and vulnerability detection to suggest... To suggesting fixes. For those of us using GitHub Copilot business in government Canada, how much of this functionality is available to us? What can we automate ourselves? And what requires, enterprise level configuration or additional licensing? And what remains, our responsibility as users? So there's a lot to that question. I think we can, break it down, step by step and kinda answer parts of it. And if you feel like you need additional information, feel free to, send in the chat. So I think the good first part of that is, with Copilot business, how much of this functionality is actually available to us? So, Chet, is Copilot code review... Does that mean a Copilot license or can anyone in their enterprise use that? So Copilot code review, is actually available to be used if you do not have a a Copilot license. It is a toggle that you do have to ensure is enabled, that basically builds Copilot code review up to the organization rather than attributing it to any individual. So that's that... That's sort of how folks, manage to use Copilot code review even if even if they don't have that business license. Okay. And then, some of the other tools you talked about, give advanced security. So, what... Like, does give advanced security require an additional license to be of Copilot? And, what security features are in, Copilot? Yeah. Good question. So the the visual tick that gives away that you might need a Copilot license is if you see the words assigned to Copilot, if you see assigned to Copilot, that is an indication that what is going to be done is a cloud agent is going to be spun up, go pilot cloud agent. That does require a license. For a lot of the, like, the quality and, security findings, you're also going to get this, like, suggested autofix. If you just see the suggested autofix that you can commit there and then, that does not require a license. So, something important to know is that Geb advanced security is a separate product from, like, GitHub Enterprise or Copilot. So that would need to be explicitly turned on, in your enterprise by, like, likely an enterprise or org owner. And then that's when you would see those, like, secret scans that we showed or, like, code scanning. So that that is a separate product that would need to be enabled, for you guys to be able to use it. That is separate to, Copilot. Also great and important point. Yeah. And then, I guess, what can we automate ourselves and what requires enterprise level configuration or, additional licensing? So I think one really good automation, and I think, check, please contribute to this, is default setting Copilot code review to run on every pull request. That's an easy one. You don't need to go get approvals for Copilot licenses. I know, talking to customers, it can be kind of a a big deal to get a new developer approved for a Copilot license, you know, knowing, like, how many seats they have, like, how many AI credits they're gonna use, like, any security checks. You can just say every pull request in a repo organization, will just automatically have Copilot code review, and you can specify, what level of review, like light, medium, or max. So that is something that is a really good automation that you should be able to set up. Chad, do you know of any other automations, like, in the kind of the the security space that would be good? The code review is the one that is gonna, require the least amount of of sort of paperwork to to, enable. So that that would be my answer too. Okay. And then what was... Main responsibility as users? I think we can look at this kinda, like, generally. So, in the world of, like, code security, right, you can have code tools. Right? Like, we have code review, secret scanning, code scanning, which are all great tools to empower the developer. But it is still, like, the responsibility of the developer to make sure that, like, the code they're developing is secure. Right? Today, like, a lot of people just like to have an agent and, open up a pull request without reviewing the code. However, it's still really important to, check your work, validate the agent's work, and, check things locally before, just sending up, like, a pull request because, you know, you wanna make sure... You wanna do as much upfront work as you can, to make sure you're not introducing vulnerabilities or secrets. Do you have anything else, Jeff? Only that it really is gonna be dependent on... Like, that that level of strictness is gonna dependent on the repository itself and the compliance frameworks that fall under and the, you know, the the criticality of the code. You know, we'll see some greenfield projects, you know, new projects that developer teams are fine pushing unreviewed code. And then there's obviously those that fall under more strict guidance that that require, like, multiple sign offs. Yeah. And we're seeing this, like, role developer change where it's turning from, like, developers writing code to agents writing code to now. I think developers need to be really attentive in the pull request. Right? Because, like, you you never... Like, now you're seeing more comments on pull requests than ever before. You have code scanning alerts. You can have all the alerts. You could have, other people reviewing the code. You can have multiple, scanning tools. So it's really important to make sure that, like, you're still reviewing those pull requests and assuring that, like, if a vulnerability is surfaced, that, like, you still go ahead and make sure that that's remediated, still taking some action in that as well. Yeah. And and that's been a big push for us. It's been a lot of... There's been a lot of feedback around, like, the pull request experience recently. And I think you all probably saw when I was in the pull request. We have a new overview feature to help with just this, because there's been so much, you know, there's been so much, you know, so much comments and code production that these pull requests are are getting hard to manage. So things like the the new overview feature as well as things like stacked, PRs are are helping to ameliorate that a little bit. Okay. I hope that answered your question. If not, please feel free to add a follow-up in the q and a, and we can deal with that as well. Okay. So a question I have for you, Chet, is, we're seeing more and more tools come out using, AI for vulnerability detection. Is that the future of security tools, do you think? It's certainly a part of the solution. This has been a big push, you know, recently, especially this year. And in our sense, it's it's definitely gonna be part of the solutions. They're incredibly handy tools. But get look... GitHub looks at them, more supplementally. I rather than, like, a full replace for deterministic tools. You know, the deterministic scans of the past. But to that point, you know, we... We've recently come out with, things like AI scans on the pull request and even AI scans at the... In the backlog as well. So if we go over to any one of these, you know, good scanning alerts, we'll be able to see that that, you know, not only can you run the CodeQL alert here easily, you can run the AI scan as well and and have those alerts, segmented off from those deterministic scan. So we're thinking about it. We're integrating it. It's it's certainly part of the the future. Yeah. So I do think we're at at time. Thank you guys all, for listening. I think just like a good closing note is that, like, security has never been more prevalent just because as Chet showed, the amount of code that's being generated is, like, at an unprecedented amount, and it's only increasing. And so that means even more room for vulnerabilities, more room for leaked secrets, more room for just, like, unsafe code in general. So it's really important to make sure that, everyone is staying on top of, the code health in general. Alright. Well, thank you all for being a good audience. I hope this was helpful, and and good luck, AI generated code. Goodbye. Thanks.