You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is no space after the colon after the json tag prefix, a parsing error occurs.
sbom file is:
"creationInfo": {
"created": "2024-12-25T12:00:00Z",
"creators": [
"Tool: SPDXExampleTool-1.0",
"Organization: ExampleOrg",
"Person:John Doe ([email protected])" <- no space after colon
]
sbomqs is:
sbomqs compliance -D -c sample.json
failed to get sbom document for sample.json
Error: failed to parse Creator 'Person:John Doe ([email protected])'
2024-12-25T20:17:28.828+0900 DEBUG engine/compliance.go:30 engine.ComplianceRun()
2024-12-25T20:17:28.829+0900 DEBUG engine/compliance.go:36 Config: &{Path:[sample.json] Categories:[] Features:[] JSON:false Basic:false Detailed:false Pdf:false Spdx:false Cdx:false Recurse:false Debug:true ConfigPath: Ntia:false Bsi:true BsiV2:false Oct:false Fsct:false Color:false}
2024-12-25T20:17:28.829+0900 DEBUG engine/compliance.go:86 engine.getSbomDocument()
2024-12-25T20:17:28.829+0900 DEBUG sbom/sbom.go:176 SBOM detect spec:spdx format:json
2024-12-25T20:17:28.829+0900 DEBUG engine/compliance.go:135 failed to create sbom document for :sample.json
[sample.json](https://github.com/user-attachments/files/18245682/sample.json)
2024-12-25T20:17:28.829+0900 DEBUG engine/compliance.go:136 failed to parse Creator 'Person:John Doe ([email protected])'
The text was updated successfully, but these errors were encountered:
If there is no space after the colon after the json tag prefix, a parsing error occurs.
sbom file is:
sbomqs is:
The text was updated successfully, but these errors were encountered: