Ontology Version: 3.1.0

cacontology-infrastructure:SecurityConsistencyValidationShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#SecurityConsistencyValidationShape

Label

Security Consistency Validation Shape

Description

Validates security infrastructure consistency.

Implementation

@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure:SecurityConsistencyValidationShape a sh:NodeShape ;
    rdfs:label "Security Consistency Validation Shape"@en ;
    rdfs:comment "Validates security infrastructure consistency."@en ;
    sh:sparql [ sh:message "High-anonymity infrastructure should use appropriate obfuscation methods."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-infrastructure:AnonymityInfrastructure ;
                      cacontology-infrastructure:anonymityLevel "military-grade" .
                FILTER NOT EXISTS {
                    $this cacontology-infrastructure:obfuscationMethods ?method .
                    FILTER (?method IN ("Tor", "VPNs", "domain_fronting"))
                }
            }
        """ ] ;
    sh:targetClass cacontology-infrastructure:SecurityInfrastructure .