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

Commits on Mar 29, 2024

  1. sbom-generator: Fix FilesAnalyzed boolean value

    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>
    nodeax authored and timesys-nathan committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    29e83f5 View commit details
    Browse the repository at this point in the history