WebGoesOnContact
Home/Articles/Securing a CI/CD pipeline: from scanning to deployment
29 November 2026 · WebGoesOn team

Securing a CI/CD pipeline: from scanning to deployment.

How to combine Trivy, SonarQube, tests and release policy without arbitrary bottlenecks.

Map what you release

Inventory dependencies, container images, secrets and environments. Define approved versions and artifact provenance. Build an identifiable version and test the exact artifact that will be deployed.

Check code and dependencies

SonarQube can apply code quality conditions; Trivy can scan vulnerabilities in dependencies and images, among other checks. Results do not replace architecture review or authorisation tests.

Set thresholds according to risk and exposure. A critical finding calls for a documented decision: remediation, mitigation or a time-limited exception.

Block without losing control

Make tests and controls mandatory before promotion to production. An exception needs an owner, rationale and expiry date. Never silently treat an unavailable control as a successful check.

Prepare operations

Associate every deployment with an artifact, a log and a rollback plan. Monitor system health and reassess components as new vulnerabilities are published. Aim for reproducible, observable and reversible releases.

Let’s take action

Discuss your project

Share your objectives and constraints. Let’s define the next steps.