Skip to content

Commit 87925bc

Browse files
authored
feat(compliance): Update contract to apply exceptions for valid license information (#2709)
Signed-off-by: Victoria <kaysa.vps@gmail.com>
1 parent 9e6ad9a commit 87925bc

1 file changed

Lines changed: 35 additions & 3 deletions

File tree

.github/workflows/contracts/chainloop-vault-release.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,41 @@ spec:
2222
- ref: sbom-quality
2323
with:
2424
bannedLicenses: GPL, AGPL
25-
# sha256:b9a6d9320b8f2693e8d41e496ce56caadacaddcca9be2a64a61749278f425cf2 = Apache-2.0 pkg:golang/github.com/cyberphone/json-canonicalization
26-
# sha256:cd65721176ce5fdbb05773c0b1349f993b94ce77a51062cfa7a78b34cc82fc71 = MIT, BSD-3-Clause pkg:golang/github.com/theupdateframework/go-tuf
27-
allowedCustomLicenses: Apache 2.0, sha256:b9a6d9320b8f2693e8d41e496ce56caadacaddcca9be2a64a61749278f425cf2, sha256:cd65721176ce5fdbb05773c0b1349f993b94ce77a51062cfa7a78b34cc82fc71
25+
licenseExceptions: >
26+
purl_type::pkg:golang::sha*NOTICE(Apache-2.0),
27+
purl_type::pkg:golang::sha*license.go(Apache-2.0),
28+
purl_type::pkg:golang::sha*license_test.go(Apache-2.0),
29+
name::dario.cat/mergo::sha*license.json(BSD-3-Clause),
30+
name::github.com/aws/aws-sdk-go::sha*NOTICE.txt(Apache-2.0),
31+
name::github.com/aws/aws-sdk-go-v2::sha*NOTICE.txt(Apache-2.0),
32+
name::github.com/aws/aws-sdk-go-v2::sha*license-check.yml(Apache-2.0),
33+
name::github.com/briandowns/spinner::sha*NOTICE.txt(Apache-2.0),
34+
name::github.com/cyberphone/json-canonicalization::sha*LICENSE.PSF(Apache-2.0),
35+
name::gitlab.com/gitlab-org/api/client-go::sha*license_templates.go(Apache-2.0),
36+
name::gitlab.com/gitlab-org/api/client-go::sha*license_test.go(Apache-2.0),
37+
name::gitlab.com/gitlab-org/api/client-go::sha*license_mock.go(Apache-2.0),
38+
name::gitlab.com/gitlab-org/api/client-go::sha*license_templates_test.go(Apache-2.0),
39+
name::gitlab.com/gitlab-org/api/client-go::sha*license.go(Apache-2.0),
40+
name::gitlab.com/gitlab-org/api/client-go::sha*license_templates_mock.go(Apache-2.0),
41+
name::github.com/google/go-github/v66::sha*licenses.go(BSD-3-Clause),
42+
name::github.com/google/go-github/v66::sha*licenses_test.go(BSD-3-Clause),
43+
name::github.com/google/go-github/v73::sha*licenses.go(BSD-3-Clause),
44+
name::github.com/google/go-github/v73::sha*licenses_test.go(BSD-3-Clause),
45+
name::github.com/imdario/mergo::sha*license.yml(BSD-3-Clause),
46+
name::github.com/jackc/pgx/v5::sha*notice_response.go(MIT),
47+
name::github.com/lib/pq::sha*notice.go(MIT),
48+
name::github.com/lib/pq::sha*notice_example_test.go(MIT),
49+
name::github.com/lib/pq::sha*notice_test.go(MIT),
50+
name::github.com/open-policy-agent/opa::sha*NOTICE.txt(Apache-2.0),
51+
name::github.com/sigstore/rekor-tiles/v2::sha*license_check.yml(Apache-2.0),
52+
name::github.com/spdx/tools-golang::GPL-2.0-only(Apache-2.0),
53+
name::github.com/spdx/tools-golang::sha*licensediff_test.go(Apache-2.0),
54+
name::github.com/spdx/tools-golang::sha*licensediff.go(Apache-2.0),
55+
name::github.com/spdx/tools-golang::sha*license_utils.go(Apache-2.0),
56+
name::github.com/spdx/tools-golang::sha*license_utils_test.go(Apache-2.0),
57+
name::github.com/spdx/tools-golang::sha*licensediff-assumptions.md(CC-BY-4.0),
58+
name::github.com/theupdateframework/go-tuf::sha*LICENSE.txt(BSD-3-Clause)
59+
allowedCustomLicenses: Apache 2.0
2860
skippedTypes: file, container
2961
bannedComponents: log4j@2.14.1
3062
- ref: slsa-checks

0 commit comments

Comments
 (0)