Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 910 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 910 Bytes

Scanning dependency licenses with Trivy

Distributed components of Keycloak must only include CNCF approved licenses, or a license exception is required.

Prior to submitting a license exception request review the dependency to check if it is available under multiple licenses, including one of the approved licenses.

Note: Eclipse Distribution License - v 1.0 (EDL) is based on BSD-3-Clause, which is an approved CNCF license

Scanning Java dependencies

trivy fs --scanners license --ignore-policy .trivy/cncf-approved-licenses.rego quarkus/deployment/

Scanning PNPM dependencies

pnpm install
trivy fs --scanners license --ignore-policy ../.trivy/cncf-approved-licenses.rego .