https://cacontology.projectvic.org/infrastructure/shapes#VulnerabilityAssessmentRule
Advanced gUFO business rule: High vulnerability infrastructure should have enhanced security measures.
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure-shapes:VulnerabilityAssessmentRule a sh:NodeShape ;
rdfs:label "Vulnerability Assessment Rule"@en ;
rdfs:comment "Advanced gUFO business rule: High vulnerability infrastructure should have enhanced security measures."@en ;
sh:sparql [ sh:message "High or critical vulnerability infrastructure must be protected by strong security systems (gUFO business rule)."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-infrastructure:hasInfrastructureVulnerability ?vulnerability .
FILTER (?vulnerability IN ("high", "critical"))
FILTER NOT EXISTS {
$this cacontology-infrastructure:protectedBy ?security ;
?security cacontology-infrastructure:hasSecurityStrength ?strength .
FILTER (?strength IN ("strong", "military_grade"))
}
}
""" ] ;
sh:targetClass cacontology-infrastructure:PlatformInfrastructure .