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

JSON output format for SBOM validation #36

Closed
MathewsSaiji1 opened this issue May 31, 2023 · 2 comments · Fixed by #40
Closed

JSON output format for SBOM validation #36

MathewsSaiji1 opened this issue May 31, 2023 · 2 comments · Fixed by #40
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MathewsSaiji1
Copy link

Currently the output is directly outputted to the terminal directly.
But if you can format the output in a json format ,it would be easy to identify the error and act according to every error cases.
If the sbom-utility cannot support any specific version ,we just want to warn the user that the SBOM validity scan is not supported.But if its an error in SBOM itself, we need to consider it as an issue.

A Sample:

validation : (true/false/not_supported)
Description : [no error/json format error/ schema error]
errorlist:
[ {
type : <>
description : <>
feild : <>
},
{
type : <>
description : <>
feild : <>
}]

It is just an example.Feel free to change the variables,format or even the whole structure as per the requirement.But it would be easy if you provide an efficient way to capture the result.

@mrutkows
Copy link
Contributor

mrutkows commented Jun 7, 2023

@MathewsSaiji1 Thanks for submitting this feature request. I will see if I have time to work on this for the next release.

@mrutkows mrutkows added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 7, 2023
@MathewsSaiji1
Copy link
Author

MathewsSaiji1 commented Jun 8, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
2 participants