Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbom-generator: Fix FilesAnalyzed boolean value #103

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

timesys-nathan
Copy link
Contributor

@timesys-nathan timesys-nathan commented Mar 29, 2024

The FilesAnalyzed boolean value as per SPDX spec is lowercase.

Spec:
https://spdx.github.io/spdx-spec/v2.3/package-information/#7.8

Without this fix, the generated SPDX SBOM fails the validator tool. https://github.com/spdx/tools-java/releases

$ java -jar tools-java-1.1.8-jar-with-dependencies.jar Verify sbom.spdx
This SPDX Document is not valid due to:
Warning: Invalid case for boolean value.  Expected 'true', found 'True'

https://tools.spdx.org/app/validate/

The following warning(s) were raised:<br />
Warning: Invalid case for boolean value. Expected 'true', found 'True'

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The FilesAnalyzed boolean value as per SPDX spec is lowercase.

Spec:
https://spdx.github.io/spdx-spec/v2.3/package-information/#7.8

Without this fix, the generated SPDX SBOM fails the validator tool.
https://github.com/spdx/tools-java/releases
$ java -jar tools-java-1.1.8-jar-with-dependencies.jar Verify sbom.spdx
This SPDX Document is not valid due to:
Warning: Invalid case for boolean value.  Expected 'true', found 'True'

https://tools.spdx.org/app/validate/
The following warning(s) were raised:<br />
Warning: Invalid case for boolean value. Expected 'true', found 'True'

Signed-off-by: Akshay Bhat <nodeax@gmail.com>
@tony-josi-aws
Copy link
Member

@timesys-nathan

Thanks for this fix.

@paulbartell paulbartell merged commit e2129bf into FreeRTOS:main Apr 2, 2024
47 of 50 checks passed
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.

None yet

4 participants