CI reports "Quality gate passed" but a critical vulnerability reached production through a transitive dependency.
AdvancedScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer
Situation read → Gaps in dependency scanning and runtime monitoring.
What I'd do →
- Add SCA (Trivy, OWASP Dependency-Check, Snyk) on every build and nightly against the main branch, since new CVEs appear after merge.
- Keep SBOMs per release in Dependency-Track and alert on new matches.
- Define SLAs for patching by severity and use Renovate for upgrades.
Why → A scan at build time cannot see vulnerabilities disclosed tomorrow.
Interview tip → "Shift left and keep watching."
More on Builds, Artifacts, Nexus, SonarQube and Testing
A Maven project resolves dependencies from Maven Central on every build and a left-pad style outage would stop all builds.BeginnerYou must publish snapshot and release artifacts without overwriting a released version.IntermediateEvery merge to main should produce a unique semantic version automatically.IntermediateAn npm build is non-reproducible: different versions install on different days.BeginnerThe SonarQube quality gate must block merging PRs that add new bugs, vulnerabilities or uncovered code.IntermediateCoverage shows 0% in SonarQube although tests run in CI.Intermediate