Skip to content

Security profile not implemented in SPDX 3.0.1 verifier? #184

@anthonyharrison

Description

@anthonyharrison

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

{"type":"VexUnderInvestigationVulnAssessmentRelationship",
"spdxId":"urn:spdx.dev:vex-underInvestigation-0",
"relationshipType":"underInvestigationFor"
,"from":"urn:spdx.dev:vuln-CVE-2023-12345",
"to":["urn:product-ACME-1.0"],
"security_assessedElement":
"urn:generic-pyyaml-6.0.1",
"suppliedBy":["urn:spdx.dev:agent-fred-flintstone"],
"completeness":"complete"}

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions