VOOZH about

URL: https://thenewstack.io/devops-and-security-how-to-build-resilient-pipelines/

⇱ DevOps and Security: How To Build Resilient Pipelines - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-12-23 10:00:03
DevOps and Security: How To Build Resilient Pipelines
contributed,
DevOps / Security

DevOps and Security: How To Build Resilient Pipelines

AI tools like DarkTrace and K8sgpt enhance threat detection and remediation in DevOps workflows.
Dec 23rd, 2024 10:00am by Alexander Simonov
👁 Featued image for: DevOps and Security: How To Build Resilient Pipelines
Photo by Olumuyiwa Sobowale on Unsplash.

DevOps teams have mastered pipelines, containers, and Terraform to deliver applications faster and more efficiently, but security remains a critical blind spot. As software development infrastructure has grown complex, every pipeline stage is a potential minefield of insecure code and misconfigured cloud. It’s a matter of time before security risks translate into sensitive data breaches and delivery downtimes.

Convicted hacker-turned-consultant Kevin Mitnick proved the human factor has always been the weakest link in security. Rapid AI advancements are making secure DevOps more attainable than before, but AI is still a wild dog that needs skilled hands to guide it. Equally important as training and educating DevOps teams is mastering continuous security — the proactive protection of digital systems while staying ahead of emerging threats.

Where Does Continuous Security Fit into DevOps?

A DevOps cycle is repetitive — plan, review code, build, test, release, deploy, monitor, and repeat. Security measures should be applied at every step. On real projects, if DevOps engineers skip a manifest review during the planning stage, that oversight will lead to a critical data leak, with one of the variables mistakenly exposed publicly. Starting every Terraform cycle with an automated review using Terraform compliance is essential, saving time and preventing costly mistakes.

Continuous security must account for the human factor, which is a high risk even within experienced teams. For example, a junior engineer might accidentally upload an access token to a shared repository. DevOps could face secrets in repositories when automating pipelines — an issue that’s easy to overlook but could have a catastrophic impact. Tools like HashiCorp Vault and strict key rotation policies can help mitigate the risk.

Secure Code Writing and Storage

The cycle begins with writing and working with code, and security should be integrated from this initial stage. Teams should adopt shift left principles to promptly identify and fix security issues, contributing to a culture where security is everyone’s responsibility from the start of the project.

DevOps engineers should run various scans early in the software development process to identify frameworks and potential risks that may arise as work progresses. For example, developers might use outdated dependencies with known vulnerabilities. Integrating Dependabot and CodeQL into the DevOps workflow can help automate dependency checks, flagging and resolving issues before they slip into production.

Protect CI/CD Stage

A golden rule says never to store passwords in plain text in the repo. DevOps engineers should use tokens and always check the communication protocols between the application’s components.

It is best to store passwords, logins, and security strings in a secure and centralized location and rotate credentials regularly to prevent unauthorized access. A typical example is the insecure use of test environment API keys in production. The best security measure in such cases is storing sensitive information in cloud-based key vaults, like HashiCorp Vault and enforcing strict least privilege access policies. DevOps will inject passwords during the build process or, for example, into Kubernetes based on application requests. In addition, they will configure settings to restrict the production passwords. The principle of least privilege (PoPL, PoMP, or PoLA) is king here, alongside the OWASP Top Security Risks, which provides valuable information on securing DevOps pipelines.

Shield Post-Deployment Stage

The most extended phase, most extended maintenance, begins after deployment and often requires as much or more effort than development. Maintenance security ranges from user access and certificates to DDoS attacks and SQL injections. DevOps focuses on threat detection, user behavior analysis, and vulnerability assessment (already AI-aided).

After deploying a project, DevOps might notice anomalous system behavior. DarkTrace can help them identify attempts to exploit SQL injection vulnerabilities across all production environments. This is an example of a cornerstone security measure in the post-deployment security strategy.

DevOps increasingly rely on AI to respond to incidents and scan, detect, and fix infrastructure flaws. The following components are mandatory for scanning:

Kubernetes:

  • K8sgpt finds and fixes issues, performs security audits, and trains its model for specific tasks.
  • KoPilot quickly audits Kubernetes resources for known vulnerabilities and is ideal for understanding complex or inherited Kubernetes configurations.
  • Kube-copilot helps less experienced team members by providing explanations and suggestions during the workflow.

SaaS:

  • Spin.ai enhances cyber resilience, streamlines security operations, and protects SaaS data for mission-critical applications.
  • IBM is a vast platform solution for addressing security concerns in any domain.
  • ZAP offers active and passive scanning and add-on plugins.

VM:

  • With human-assisted automation, Splunk provides comprehensive context and interpretation, rapid event detection, and greater productivity.
  • Google’s Security Command Center offers threat detection through hypervisor-level instrumentation and persistent disk analysis.
  • Palo Alto scans and predicts network behavior.

Deflecting Threats

Security in DevOps is as necessary for development stability as it is for project success. It is a thread running through the entire labyrinth of DevOps processes. AI and automation technology are the allies of DevOps engineers, helping them manage vulnerabilities faster and more accurately. In addition, engineers should cultivate a security-first mindset, ensuring proactive threat detection, minimized risks, and pipeline resilience throughout the development lifecycle.

TRENDING STORIES
Alexander Simonov is the Deputy DevOps Practice Lead at Coherent Solutions, a digital product engineering partner recognized on the Inc. 5000 list. He started his career as a system administrator 15 years ago, and now he is promoting the DevOps...
Read more from Alexander Simonov
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.