Supercharge Your Pipeline leveraging AI-Augmented DevSecOps
Vidhi Saxena23:262025
Sicherheit erst beim Release zu prüfen heißt, die Tür nach dem Einbruch abzuschließen
Stellen Sie sich eine Anwendung vor, die gebaut, getestet und auslieferungsbereit ist, bis ein abschließendes Security-Review eine kritische Schwachstelle in einer Open-Source-Bibliothek findet: Release verschieben oder mit bekanntem Risiko ausliefern. DevOps-Evangelistin Vidhi Saxena von Nagarro, mit über 17 Jahren Erfahrung in der DevOps-Einführung, und ihr Kollege Anupam Agarwal zeigen, dass die Lösung viel früher in der Pipeline beginnt. Wo genau können KI-Tools erkennen, was ein Last-Minute-Review übersieht?
Erhalten Sie einen KI-gestützten DevSecOps-Blueprint für sechs SDLC-Phasen und eine funktionierende Pipeline-Demo
Vidhi Saxena und ihr Nagarro-Kollege Anupam Agarwal plädieren dafür, Sicherheit in jede Phase des Software-Delivery-Lifecycles einzubauen, statt sie erst kurz vor dem Release zu prüfen, und zeigen, dass KI-gestützte Tools diesen Shift Left praktikabel machen. Sie ordnen KI-gestützte Sicherheitsmaßnahmen sechs SDLC-Phasen zu und schließen mit einer aufgezeichneten Demo einer GitHub Actions Pipeline, die vor dem Deployment Secrets, Infrastrukturcode, Codequalität und Container-Images scannt.
“Die zentrale Botschaft ist also, Sicherheit von Anfang an zu integrieren, statt sie als nachträglichen Gedanken zu behandeln.”
“jetzt stecken Sie also irgendwo in der Mitte fest, Sie können entweder Ihr Release verschieben oder mit einem bekannten Risiko ausliefern, richtig”
What you will learn
KI-gestützte Sicherheitsmaßnahmen jeder der sechs SDLC-Phasen zuordnen, von Threat Modeling in der Planung bis zur Erkennung von Laufzeitbedrohungen im Monitoring.
Erklären, warum Sicherheit am Ende einer DevOps-Pipeline zur Wahl zwischen verzögertem Release und Auslieferung mit bekanntem Risiko zwingt.
Eine praxistaugliche DevSecOps-Toolchain für Secret Scanning, Infrastructure-as-Code-Prüfungen, Codequalität, Testabdeckung und Container-Scanning zusammenstellen.
Quality Gates so konfigurieren, dass ein Build fehlschlägt, bis Sicherheitsprobleme behoben sind.
Self-Healing und Anomalieerkennung in der Produktion planen, um manuelle Eingriffe zu reduzieren.
Details
Level
Intermediate
Format
Tech talk
Technical depth
Practitioner
For
Mid-career, Senior individual contributor, Early career
Length
23:26
Published
July 2025
Questions this talk answers
Was ist der Unterschied zwischen einer DevOps- und einer DevSecOps-Pipeline?
In vielen traditionellen DevOps-Pipelines werden Sicherheitsprüfungen ans Ende angehängt, oft direkt vor dem Release. DevSecOps verschiebt Sicherheit nach links, sodass Praktiken und Tools in jede Phase von der Planung bis zum Monitoring integriert sind.
Wo lässt sich KI in einer DevSecOps-Pipeline einsetzen?
Die Vortragenden verorten KI im Threat Modeling und in der Risikobewertung bei der Planung, in Code-Assistenten beim Coding, in KI-gestütztem SAST und Software Composition Analysis beim Build, in ML-gestütztem DAST und IAST sowie Testgenerierung beim Testen, in risikobasierten Release Gates beim Deployment sowie in der Erkennung von Laufzeitbedrohungen und Self-Healing im Monitoring.
Welche Tools hat die Demo-Pipeline verwendet?
Die Demo nutzte TruffleHog für Secret Scanning, Checkov für Infrastructure as Code, Flake8, Black, pytest und Coverage für Codequalität und Tests, Trivy für Container-Images, GitHub Secrets für sensible Werte und GitHub Actions zur Ausführung der Pipeline.
Was sollte passieren, wenn beim Build ein Sicherheitsproblem gefunden wird?
Quality Gates, etwa in SonarQube, sollten den Build fehlschlagen lassen und die Pipeline stoppen, bis die Probleme behoben sind.
Wie können Teams Produktionsprobleme mit weniger manueller Arbeit bewältigen?
Durch Anomalieerkennung und Predictive Analytics in der Produktion, sodass Self-Healing-Mechanismen Anomalien beheben, statt dass Engineers manuell eingreifen, unterstützt durch Log-Analytics- und SIEM-Tools für proaktives Monitoring.
Trivy scannt den Container vor dem Deployment (52 s)
so hello and welcome to this deep dive session into AI augmented DevSecOps so firstly thanks to this forum women in tech for giving us this opportunity to present our thoughts on this particular topic here and we are really glad to be talking here in this in this forum so before we deep dive into our topic let's have a quick introduction introduction of ourselves so I am I'm Vidhi Saksana and I'm part of DevOps CEO in Nagaro and I have around 16 plus years of experience in IT where my major expertise lies in helping the clients and enterprises to embrace DevOps in the right manner and also to implement and innovate in the world of DevOps.
So, that's a quick introduction about me. I would also like Anupam to introduce herself to the audience, so Anupam if you can do it. Hello everyone. So, I also work with Nagaro. I currently hold almost 14 plus years of experience, wherein I again help the clients with their cloud infrastructure, help them with their DevOps culture, and also how they can accelerate and be good when it comes to faster time to market.
I'm also enthusiastic about participating at the different forums where we can share our ideas and of course we can gain insights from each and every one. So that was a quick intro round about myself. Over to you, Vidhi. Okay, thank you Anupam. So let's have a quick look at the agenda as to what we have in the session plan today. So first we'll be seeing why is AI taking over the conversation everywhere. So wherever we go, we are seeing everyone is talking about AI. So we'll see why is that so. Then we'll have a quick look at the AI enhanced DevSecOps landscape, followed by a quick talk on the AI enabled DevSecOps blueprint with all the tools and technologies embedded into it. And then towards
the end we have a quick demo as to what we talk about in this particular session we have wrapped it up in a quick demo to show you how an AI augmented DevSecOps pipeline looks like and we have also leveraged the power of AI in that in creating that demo because we have used cursor app for it so for those who don't know cursor app is an AI powered code editor on top of built on the top of visual studio code and it has its own agentic AI capabilities so yeah we'll be talking about more about it in the second half of the session so yeah let's get started so as we can see AI is taking over the conversations everywhere so wherever we go now it's no more a buzzword in
fact many enterprises have already started investing into AI because AI is going to stay because of the benefits that it brings on through the table. So let's see why is it everywhere. So as per the market statistics, when we talk about AI and DevOps market, it is expected to grow from $3.5 billion in 2023 to $23.8 billion by 2028 as per the results of the report given by markets and markets.
Then if we talk about the aspect of the global market of AI-assisted software-driven tools, it's projected to reach around 12.5 or 12.6 billion dollars by 2026 then when we talk about how enterprises are now adopting AI into their platforms and everything so over 65 percent of enterprises have already integrated AI or ML into their DevSecOps landscape as of 2024 so yeah it's quite evident that AI is revolutionizing the industry with the endless benefits that it brings to the table and there are endless use cases also where it has already you know proven beneficial for the enterprises be it enhancing the software development with intelligent code assistance by automating infrastructure management through ai ops then spreading the cyber security using real-time threat detection and many so the use cases and the benefits are endless and that's why
ai is already make its its impact and transforming how the industry looks like now and the enterprises are also embedded ai into their tools and platforms to drive smarter decision making predictive maintenance and automated operations and it has also transformed our ways of working in order to have more agile collaborative and highly automated devops and it workflows so yeah that's how AI is setting its foot everywhere in the market. And when we talk about how AI impacts the DevOps infinity loop, so as we can see, the entire DevOps infinity loop has been transformed by AI starting from the planning phase to the last phase, which is the monitor phase. So each and every phase starting from the planning phase to the last phase, everywhere AI can be embedded
into it to reap the benefits out of it. So let's see how it can be done. So now this is how a basic DevSecOps pipeline looks like. So yeah, a DevOps pipeline is very simple, but when it comes to DevSecOps, this is how it should look like because we have highlighted the major security hacks that can be embedded into a DevOps pipeline to make it more secure.
So all the Depsicops best practices have been embedded into the phases, the six major stages of the SDLC. So starting from the planning phase, then to code phase, build, test, deploy, monitor. So the key message here is to integrate security right from the beginning rather than giving it an afterthought. The emphasis is on towards shifting left in terms of security so that we can bake security into the entire SDLC in each and every phase so that the whole DevOps landscape is much more protected and it's more reliable, stable and resilient. So this is how the DevSecOps best practices can be embedded into a DevSecOps landscape. But now how do we take a step further and make it more smart and intelligent by harnessing the power of AI? So these are the
measures which can be integrated in a DevSecOps pipeline to make it more smart and intelligent by leveraging the power of AI. So as we can see the different security has that are emphasized here are related to the shift left focus on the security in SDLC along with the use of AI assisted tools. So if we talk about the different six phases over here so in the planning phase we can leverage the power of AI part threat modeling tools then we can also do risk assessments then when we talk about the coding phase in that we can use code suggestion tools like github copilot purser etc so there are many in the market but yes these tools helps us to suggest the best practice of the coding and like to see if there are any vulnerabilities or let's
say if there are any issues with the coding guidelines or stuff which is being violated then then they can be well taken care of in the coding phase itself then we talk of when we talk about the build phase we can use AI enhanced SaaS tools which are there in the market we can also use AI enabled software composition analysis tools and we can also perform auto remediation of the different vulnerabilities that could be there in the code by using AI tools and libraries then when we come to the next phase which is the test phase so in the testing phase we can use the power of ML for doing the DAST and IST scans. So DAST scans are dynamic code analysis tests that can run on your code. And then we have interactive application security testing tool, which is IST
test that can run on your code. So we can use the tools which can run these tests on our code, which also uses the power of machine learning. Then when it comes to generating the test cases, be it the unit test cases or integration test cases ai can be leveraged in that particular area also to see that we are not missing any critical parts of the testing and all the critical parts are well covered and we are not missing any edge cases as well so it in turns provides a good quality code coverage and code quality which is again a key factor in having a stable and reliable code infraction then we can also have behavior and anomaly prediction in the pre-prod environment to see whether we are good to go live or not based on the anomaly prediction that we can
have by using ai-assisted tools then when we come to the deploy phase when we are almost ready to release the code to the environment then we can apply the power of ai for risk-based release gates we can also have change approval automations using the ai tools and then we can also it's always recommended to do the security scans using the ai tools in the market on our infrastructure as code so that there are no misconfigurations and if there's any deviation the ai tools can prompt us to take care of those misconfigurations and also enforce security best practices then uh when we come to the last phase that is the monitor phase where we are all once the code is deployed we are ready to hand it over to the operations team that time we can employ ai for
runtime uh threat detection using tools like dark trace then we can also use behavioral analysis and self-healing mechanisms so let's say if there's any issue in production then we can run anomaly detection on it and then based on the predictive data analytics so we can take care of healing get those uh anomalies healed by itself rather than uh manually intervening and doing it uh fixing the stuff in production so they're also for self-healing mechanisms ai tools are there in the market which can be leveraged and can be well integrated with your pipelines and we can also integrate ai power tools like the log analytics tools or sim tools for continuous logging and proactive monitoring of the entire system so this flow uh visually emphasizes how
ai embed security checks at every phase enabling continuous intelligent protection in the modern devops workflow so yeah this is how uh a pro like a good a good ai enhanced depths depths landscapes looks like which all with all the security and the ai enabled best practices embedded into each and every phase of the sdlc so from now here uh anupam will take over uh on takeover and she'll be explaining it a little more in details related to the technical aspect of it so over to you anubam thank you vidi hi everyone so let's get back to dev devops first so in most of the traditional devops pipelines the ones that you see on the top side of it security checks are often bolted onto the end of the development cycle so sometimes it happens like
right before the release that is happening so it's like if we call it in a layman language it's like locking your doors after a bugler has already entered into your house right so now let me give you another example so imagine you have already built and you have tested your application and it is ready to go live but when the final security review takes place you just let's say a critical vulnerability in one of your open source libraries so now you are stuck somewhere in the middle you can either delay your release or you can ship with a known risk right so this is where devsecops come into picture and now how uh when we talk about devops uh devops is all about speed collaboration
and automation like vidi mentioned right so how we are breaking these silos between our development and the operation teams how we are delivering our software at a much faster pace and in a more reliable way when it comes to DevSecOps most of us are already aware with the concept of the DevSecOps right so we are already it is something which is built on top of the DevOps and we are shifting all the security practices towards the left so we are trying to integrate security practices and tools early in the development process not as an afterthought right so what you see at the bottom is your DevSecOps pipeline so when we see a DevSecOps pipeline here going forward what i'll be showing you we will be seeing a holistic approach of how security can be embedded
in every stage like the six phases we recovered right right from the source or the planning phase to the monitoring phase how ai assisted tools can help us in the security aspect so likewise when we talk about the code phase so for the secret scanning we have used in our demo a tool named truffle hog so when we start with truffle log it scans the secrets like our api keys and our password so the best part of truffle hog is that it uses ai for its pattern recognition so whenever so it can find the secrets or if there are any hidden personal information in the code it can it can be proactive in catching those kind of leaks right so we don't have to wait till the time it shows up in the production uh when it comes to the next phase which is our ci
server phase or even when we are talking about the code another thing that we talked about was the infrastructure as a code right so basically when our infrastructure should be as secure as our code so here we are using checkovi so checkovi is a tool which is focusing majorly on the files aspect of it like we have terraform files or we have docker files which are like the blueprints of our environment right so checkovi what it does it it scans the security misconfigurations before anything is even built so even before you are trying to build up your environment it will check and it will tell you if there are any sort of misconfigurations at that particular at that level at the infrastructure level and it will give you a security design around it that these are the
misconfigurations in your environment right when we talk about the code quality or when we talk about the test and scanning we are here using flake 8 black py test and coverage because this is a python based application that we have used in this demo to deploy so when we talk about flak flake it or black we are enforcing code quality and style so we are making sure that our code is not just clean or prettier but it can also reduce the security bugs then we are also running our automated test cases using the pi test so that we can generate the coverage reports so this will make sure that our code is being tested and we are not missing any sort of blind spots there are
no kind of blind spots here. When it comes to creating the artifacts, we have used a containerized application over here. And in order to scan it, we are using Trivi. So when the application is containerized, we are scanning it using Trivi, which is also using AI to detect the vulnerabilities in the container images. So given the scenario, how common containerization is happening today, and it is very crucial part of any application deployment, we need to ensure that every layer in the container should be risk-free we we have to catch each and every error before the deployment right also when we are talking about containerization we are also looking into container hardening and also in any sort of custom security tools that can help us to know that
so for example if this is a python based application we have we can create a security dot py file wherein we can define our own custom rules based on our applications so this will not only set certain standards based on our application but we can make our project more unique we can set our own standards if we have any we can also perform security health checks we can use any custom security tools uh based on our project needs right so that is how right from the beginning we are trying to embed the security at each and every phase rather than it being an afterthought right then when we are talking about the dependency on the secret managers there are multiple tools available in the market for an example snick so we can use any third party
dependencies for these safeties so this can help us to prevent us in any sort of supply chain attacks because vulnerabilities in any sort of open libraries that we are trying to download they are not just dangerous but they can actually make worst of our code right also when we talk about managing our secret codes in this case we are using github secrets so that we are not exposing any sort of information in the code we have we are storing all the sensitive information in as a part of the github secrets also when we talk about the code qualities there are multiple tools available we can use sonar cube and then we can set different sort of quality gates there we can have different sort of quality profiles so when we talk about the code quality also
it is a requirement to move ahead right whenever we have to move ahead in our cicd pipeline we need to make sure that we our code has the best quality gates right so if any if there is any security issue the build should fail and it should stop until and unless those issues are being fixed again when we talk about the repository level security and when we talk about the web application defenses we are talking about so here we are using flask limiter we are using talisman we are using helmet for all side of security headers that are being happening so we are trying to protect the application against the web-based threats like xss or click jacking so like vidhi talked about right from the beginning we need to make sure in the planning phase
we need to use ai tools which can help us to detect all these if there are any sort of attacks happening in our application right so when we can we move on to the next slides vidhi so i'll just go through a quick demo for time we have recorded the demo and within will you please play it so again like withy mentioned the entire pipeline entire code we have tried to design with the help of the cursor so like she mentioned it is built on top of visual studio so cursor what it does it it combines the functionality of our ide also featured id as well as it gives us an intelligent co-assistance so once we have submitted our code on the left side you see we have
a python based application so we have tried to deploy a sample e-commerce application and once our code is checked in it it will trigger our pipeline we have created the pipeline using the github actions and once the github github actions pipeline is triggered we can see the different stages of all the tools that we have talked about in our recent slide this is our docker repository wherein our images are getting pushed so if you see the last image if you will see it will get pushed almost a minute ago and when we see this different stages you can see like security scanning code quality build and scan container and then we are deploying it right so currently if you see the application uh would not be accessible right once we deploy it our
application would be accessible so when it comes to security scanning you can see we are using truffle log here we are using check over for our infrastructure security and that's how all the reports are also getting generated so in future if you want to address these issues or you want to share it with your uh security teams you can probably download these reports and share it with them to for them to access these vulnerabilities and see what is the severities of these vulnerabilities again we see that it is trying to install all the dependencies we are using coverage we are uploading the reports and then comes our scanning part where we are trying to build the docker image so we are trying to log into our docker registry we are also building our docker images
so once our docker images are built we are again running trivi as a vulnerability scanner to see if there are any vulnerabilities and here we can classify as high critical what kind of vulnerabilities we would like to highlight so in this it shows that there is one high vulnerability and zero critical vulnerabilities here so again this can be shared across to work upon and then finally once our docker images has been created we are trying to deploy that image on the staging which is our local system and here we will see that our new docker image has been uploaded which shows a minute ago so it was freshly deployed and whenever a new image is being created it gets pushed to our docker hub and once it is being pushed our application will be
running so once we go back to the application i'll be able to show you that so at the bottom of the deployment we will be able to see the link and the port on which our application has been deployed so it has been deployed currently on the 5000 port so in our local host if i run 5000 now the application is up and we are able to see a basic e-commerce application which has connectivity with the database at the back end we are using sqlite in the database but i haven't worked on too many operations over here because the time limit was less and of course when we go to the main page of the github actions we can get the link where our application has been deployed from there there itself so if we
see at the bottom there is a staging app link if we click here we are redirected to the page where our application has been deployed so this was uh pretty much from our end and these were the different stages i have tried to keep the stages minimal but the aspect was security so we have tried to incorporated security at each and every phase over here so thank you for listening out to us over to you vidi yeah so yeah uh that was all uh in the discussion like in the talk today and again we are thankful to all of you for listening to us and we'd be happy to answer all your queries you can post it in the chat group and we'll be happy to answer them and here we have shared our
contact details as well if offline you want to get connected to us we are just a ping away on LinkedIn. So yeah, that's it for the talk today. And yeah, I hope you all liked it and you got your key takeaways from our talk. Thank you.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Wo KI in eine DevSecOps-Pipeline gehört, Phase für Phase
Vidhi Saxena und Anupam Agarwal von Nagarro zeigen, wie Teams mit KI-gestützten Tools Sicherheit in jede SDLC-Phase einbauen, statt sie erst beim Release zu prüfen.
Kurz gesagt
Sicherheit, die erst am Ende einer Delivery-Pipeline geprüft wird, kommt zu spät, um nützlich zu sein. Vidhi Saxena, DevOps Evangelist bei Nagarro, und ihr Kollege Anupam Agarwal plädieren dafür, Sicherheit nach links in alle sechs Phasen des Softwareentwicklungszyklus zu verschieben, und zeigen, wie KI-gestützte Tools das praktikabel machen. Zum Abschluss präsentieren sie eine aufgezeichnete Demo einer GitHub Actions Pipeline, die Secrets, Infrastrukturcode, Codequalität und Container-Images scannt, bevor irgendetwas deployt wird.
Die wichtigsten Erkenntnisse
Warum KI-gestütztes DevSecOps zu den gefragtesten Ansätzen der Branche zählt.
Wie sich ein neues Maß an Intelligenz und Automatisierung in den DevOps-Prozess bringen lässt.
Wie KI-gestützte Erkenntnisse ein intelligenteres Ressourcenmanagement und weniger menschliche Eingriffe ermöglichen.
Eine kurze Demo, die das Thema greifbar macht.
Warum KI in jedem DevOps-Gespräch angekommen ist
Saxena stellt KI zu Beginn als etwas dar, in das Unternehmen bereits investieren, und nicht als Schlagwort. Laut einem von ihr zitierten MarketsandMarkets-Bericht soll der Markt für KI in DevOps von 3,5 Milliarden US-Dollar im Jahr 2023 auf 23,8 Milliarden US-Dollar bis 2028 wachsen, und sie ergänzt, dass bis 2024 über 65 Prozent der Unternehmen KI oder ML in ihre DevSecOps-Landschaft integriert hatten. Ihre Anwendungsfälle reichen von intelligenter Code-Unterstützung bis zu AIOps für das Infrastrukturmanagement und Bedrohungserkennung in Echtzeit.
Anschließend verortet sie KI über die gesamte DevOps-Endlosschleife hinweg. In ihren Worten: „Also in jeder einzelnen Phase, von der Planungsphase bis zur letzten Phase, überall kann KI eingebettet werden“ (4:12).
Shift Left: Sicherheit in allen sechs SDLC-Phasen
Kern von Saxenas Teil ist ein DevSecOps-Blueprint, der Plan, Code, Build, Test, Deploy und Monitor umfasst. Das Prinzip ist einfach: „Die zentrale Botschaft ist also, Sicherheit von Anfang an zu integrieren, statt sie als nachträglichen Gedanken zu behandeln.“ (5:38)
Dann legt sie KI Phase für Phase über diesen Blueprint:
Plan: KI-gestütztes Threat Modeling und Risikobewertungen.
Code: Assistenten wie GitHub Copilot und Cursor, die Schwachstellen und verletzte Coding-Richtlinien bereits beim Schreiben des Codes markieren.
Build: KI-gestütztes SAST, KI-gestützte Software Composition Analysis und automatisierte Behebung von Schwachstellen.
Test: Machine Learning für DAST- und IAST-Scans, KI-generierte Unit- und Integrationstests zur Abdeckung von Grenzfällen sowie Anomalievorhersage in der Pre-Production.
Deploy: risikobasierte Release Gates, automatisierte Änderungsfreigaben und KI-Scans von Infrastructure as Code, um Fehlkonfigurationen zu erkennen.
Monitor: Erkennung von Laufzeitbedrohungen mit Tools wie Darktrace, Verhaltensanalyse, Self-Healing-Mechanismen sowie Log-Analytics- oder SIEM-Tools für proaktives Monitoring.
Beim Self-Healing kommen die reduzierten menschlichen Eingriffe ins Spiel: Anomalieerkennung und Predictive Analytics in der Produktion ermöglichen es, Probleme automatisch zu beheben, statt dass Engineers manuell eingreifen müssen.
Agarwal übernimmt und erklärt die Kosten des traditionellen Ansatzes, bei dem Sicherheitsprüfungen am Ende des Zyklus stehen, manchmal direkt vor dem Release. Ihr Vergleich bleibt im Gedächtnis: „das ist, als würden Sie Ihre Türen abschließen, nachdem ein Einbrecher schon in Ihr Haus eingedrungen ist, richtig“ (11:27).
Sie macht es mit einem Szenario greifbar, das jedes Delivery-Team kennt. Eine Anwendung ist gebaut, getestet und bereit für den Go-live, und das abschließende Review findet eine kritische Schwachstelle in einer Open-Source-Bibliothek. „jetzt stecken Sie also irgendwo in der Mitte fest, Sie können entweder Ihr Release verschieben oder mit einem bekannten Risiko ausliefern, richtig“ (11:27). DevSecOps, so erklärt sie, behält Geschwindigkeit, Zusammenarbeit und Automatisierung von DevOps bei und verlagert Sicherheitspraktiken und -tools früher in den Prozess.
Die Toolchain hinter einer sicheren Pipeline
Agarwal geht die konkreten Tools ihrer Demo durch. TruffleHog sucht nach Secrets wie API-Schlüsseln und Passwörtern; sie weist darauf hin, dass es KI zur Mustererkennung nutzt, sodass Leaks vor der Produktion erkannt werden. Checkov scannt Terraform- und Docker-Dateien auf Fehlkonfigurationen, bevor eine Umgebung aufgebaut wird, denn „unsere Infrastruktur sollte so sicher sein wie unser Code“ (13:39).
Für die Python-Demoanwendung sorgen Flake8 und Black für Codequalität und Stil, während pytest und Coverage Berichte erzeugen, damit keine blinden Flecken bleiben. Container werden mit Trivy gescannt, und Teams können eine eigene Sicherheitsdatei mit eigenen Regeln und Health Checks hinzufügen. Dependency-Scanning mit Tools wie Snyk hilft, Supply-Chain-Angriffe zu verhindern, GitHub Secrets hält sensible Werte aus dem Code heraus, und Flask-Limiter, Talisman und Helmet ergänzen Security-Header gegen Bedrohungen wie Cross-Site-Scripting und Clickjacking.
Quality Gates führen alles zusammen. Agarwal formuliert es so: „wenn also irgendein, wenn es irgendein Sicherheitsproblem gibt, sollte der Build fehlschlagen und gestoppt bleiben, bis diese Probleme behoben sind“ (17:25). Als eine Möglichkeit, dies durchzusetzen, nennt sie Quality Gates und Profile in SonarQube.
Die Demo: eine GitHub Actions Pipeline in Aktion
Die aufgezeichnete Demo zeigt eine E-Commerce-Beispielanwendung, geschrieben mit Hilfe des KI-Code-Editors Cursor und über GitHub Actions deployt. Es laufen Stufen für Security-Scanning, Codequalität, Build und Scan des Containers sowie Deployment in eine lokale Staging-Umgebung. Berichte von TruffleHog und Checkov lassen sich herunterladen und mit Security-Teams teilen, und Trivy klassifiziert Befunde nach Schweregrad; in diesem Durchlauf zeigt es eine hohe und null kritische Schwachstellen. Agarwal erläutert ihre Absicht: „ich habe versucht, die Stufen minimal zu halten, aber der Fokus lag auf Sicherheit, also haben wir versucht, hier in jede einzelne Phase Sicherheit einzubauen“ (22:21).
Vidhi Saxena ist DevOps Evangelist bei Nagarro mit mehr als 17 Jahren Erfahrung in DevOps-Innovation, -Einführung und -Implementierung. Sie präsentierte gemeinsam mit Anupam Agarwal, die über 14 Jahre Erfahrung mit verschiedenen Cloud-Technologien und DevOps-Toolchains mitbringt und für Cloud-Adoptionspläne, Architektur und Governance über mehrere Clouds hinweg verantwortlich ist.
Fragen, die dieser Vortrag beantwortet
Was ist der Unterschied zwischen einer DevOps- und einer DevSecOps-Pipeline?
Wo lässt sich KI in einer DevSecOps-Pipeline einsetzen?
Welche Tools hat die Demo-Pipeline verwendet?
Was sollte passieren, wenn beim Build ein Sicherheitsproblem gefunden wird?
Wie können Teams Produktionsprobleme mit weniger manueller Arbeit bewältigen?
Mit KI aus dem Vortragstranskript erstellt. Redaktionelle Prüfung ausstehend.