Interview Prep/CI/CD/Supply Chain and Pipeline Security

How do you gate releases on licence compliance?

IntermediateProductionSupply Chain and Pipeline Security
Answer

Generate the dependency inventory (SBOM) and check each licence against an allow/deny policy: block strong copyleft (AGPL, GPL) for proprietary distributed code unless approved. Tools: Trivy licence scanning, FOSSA, ScanCode, license-checker for npm, Maven license-maven-plugin. Fail the build on denied licences, and keep an exceptions list with legal approval.

All CI/CD questions

More on Supply Chain and Pipeline Security