security:EpssVulnAssessmentRelationship leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Security/EpssVulnAssessmentRelationship

Label

EpssVulnAssessmentRelationship

Description

Provides an EPSS assessment for a vulnerability.

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (2)

Focus nodes of this shape (security:EpssVulnAssessmentRelationship) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
security:percentile The percentile of the current probability score. 1 1 xsd:decimal
sh:Literal
security:probability A probability score between 0 and 1 of a vulnerability being exploited. 1 1 xsd:decimal
sh:Literal

Implementation

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix security: <https://spdx.org/rdf/3.0.1/terms/Security/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

security:EpssVulnAssessmentRelationship a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Provides an EPSS assessment for a vulnerability."@en ;
    rdfs:subClassOf security:VulnAssessmentRelationship ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path security:percentile ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path security:probability ] .