diff --git a/.grant.yaml b/.grant.yaml index a316dfd..5d1a827 100644 --- a/.grant.yaml +++ b/.grant.yaml @@ -9,4 +9,21 @@ rules: reason: "GPL licenses are not allowed per xxx-xx company policy" exclusions: - "alpine-base-layout" # We don't link against this package so we don't care about its license + - pattern: "*BSD*" + name: "bsd-denied" + mode: "deny" + reason: "BSD licenses are not allowed per xxx-xx company policy" + exclusions: + - "1apt" + - "1bsdutils" + - "1dash" + - "1e2fsprogs" + - "1findutils" + - "1gpgv" + - "1init-system-helpers" + - "1libapt-pkg6.0" + - "1libblkid1" + - "1libcap2" + - "1libcom-err2" + - "1libdb5.3" diff --git a/cmd/grant/cli/internal/check/report.go b/cmd/grant/cli/internal/check/report.go index 456b678..7779781 100644 --- a/cmd/grant/cli/internal/check/report.go +++ b/cmd/grant/cli/internal/check/report.go @@ -146,9 +146,10 @@ func (r *Report) renderList(out io.Writer) error { } resulList.UnIndent() resulList.UnIndent() - renderOrphanPackages(resulList, res, true) } + } + renderOrphanPackages(resulList, res, true) } // segment the results into lists by user input