Skip to content

build(contract): skip empty license verification for the SBOM component type file#2425

Merged
migmartri merged 1 commit into
chainloop-dev:mainfrom
kaysavps:skip-files-license
Sep 15, 2025
Merged

build(contract): skip empty license verification for the SBOM component type file#2425
migmartri merged 1 commit into
chainloop-dev:mainfrom
kaysavps:skip-files-license

Conversation

@kaysavps

@kaysavps kaysavps commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

This passes the input to skip components with type "file" when executing the sbom-with-licenses policy. This will prevent unnecessary flagging as components with no license. These types of components are files installed as part of another component as a library and no additional license validation is needed.

Signed-off-by: Victoria <kaysa.vps@gmail.com>
with:
bannedLicenses: GPL, AGPL
skippedTypes: file
bannedComponents: log4j@2.14.1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bannedComponents was just a demo, we might want to remove it.

@migmartri migmartri merged commit ab13801 into chainloop-dev:main Sep 15, 2025
13 checks passed
@kaysavps kaysavps deleted the skip-files-license branch September 15, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants