-
Notifications
You must be signed in to change notification settings - Fork 40
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
Security profile not implemented in SPDX 3.0.1 verifier? #184
Comments
UPDATE from looking at the generated JSON schema (surely this isn't the way for find out what should be in a document), it appears that the type should be This then results in 100's of warnings which are just errors(?) from the JSON deserialiser. Surely there needs to be a MUCH better way of highlighting where the issue is... |
@anthonyharrison - are you using the latest from Master or the last released version "2.0.0-RC1"? #178 may have fixed this issue - but we haven't spun a new release containing the fix. |
@goneall I am using the 2.0.0-RC1. I have made further progress..... adding "creationInfo" entry to the VEX entry removed all of the errors :-) although I couln't find anything which says that this is required in the Spec. By also adding entries for each software package into the document, the document fully validates. Presumably it shouldn't be necessary to do this as reference to an SBOM (which contains the software package information) should be sufficient. |
Good to hear.
Good feedback on the spec. creationInfo should be marked as required for any subclass of BTW - The warnings will go away in the next release. |
@anthonyharrison I just released the RC2 version of the tools which should fix the warnings. I'll go ahead and close this issue - if you run into any further issues, please feel free to open a new issue. |
Trying to validate a SPDX 3.0 document using 2.0.0.RC1 version which contains security elements.
Get WARNING -
WARNING: No match for #/$defs/security_VexVulnAssessmentRelationship
[main] ERROR org.spdx.v3jsonldstore.JsonLDDeserializer - Missing type for core object
The element include a type! According to the spec this looks like a valid element.
Tried online validator and get same error. Tried command line to see if there was any more useful information but nothing extra.
The text was updated successfully, but these errors were encountered: