Interview Prep/DevSecOps/Pipeline Security Scanning

A licence scan shows a GPL-3.0 library inside your proprietary SaaS product. What now?

IntermediateScenarioPipeline Security Scanning
Answer

Situation read → Whether GPL obligations trigger depends on distribution, linking and the exact licence. This is a legal call, but engineering provides facts.

What I'd do →

  1. Identify how it is used: linked into the shipped binary, a separate process, a build tool only, or never distributed (SaaS).
  2. Escalate to legal with the SBOM entry and usage details.
  3. Meanwhile, find a permissive alternative (MIT, Apache-2.0) or isolate behind a network boundary.
  4. Add a licence policy to CI: trivy fs --scanners license --severity HIGH . or licensee/ScanCode.
  5. Keep an allow/deny list owned by legal.

Why → AGPL is the one that reaches SaaS; plain GPL generally triggers on distribution.

Interview tip → Do not give legal conclusions; say you provide evidence and the policy engine.

All DevSecOps questions Roadmap: Security in the pipeline

More on Pipeline Security Scanning