Menu

I Built a Full DevSecOps Pipeline on Azure (Free Tier) : Here's Every Step
πŸ“°

I Built a Full DevSecOps Pipeline on Azure (Free Tier) : Here's Every Step

DEV Community: cicdΒ·Miracle OlorunsolaΒ·13 days ago
#R1z2NVKj
#devtocicd#devto#dev#azure#production
Reading 0:00
15s threshold

TL;DR: A Node.js API, Terraform, AKS, ACR, GitHub Actions, Trivy, SonarQube, OWASP ZAP, Helm, and zero secrets in CI. All on the Azure free tier.

I wanted to build something I could actually explain in an interview when someone asks "Walk me through your CI/CD pipeline and how you handle security." So I built one from scratch.

The Pipeline

PR β†’ Tests β†’ SAST β†’ SCA β†’ IaC Scan β†’ Build β†’ Container Scan

β†’ Push ACR β†’ Deploy Staging β†’ DAST β†’ Approval β†’ Production

Every single gate is blocking . If Trivy finds a CRITICAL CVE in your image, the pipeline fails. No overrides, no "I'll fix it later."

What I Used

Concern Tool

IaC Terraform (azurerm)

CI/CD GitHub Actions

Container Docker (distroless, non-root)

Orchestration AKS + Helm

Registry ACR (Basic)

SAST SonarQube

SCA + Container + IaC Trivy

DAST OWASP ZAP

Secrets Gitleaks

Auth Azure Workload Identity Federation

The Part I'm Most Proud Of: No Secrets in CI

Most tutorials show you storing an Azure service principal JSON in GitHub secrets.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.