Skip to content

Commit

Permalink
Regenerate Make-managed files
Browse files Browse the repository at this point in the history
References:
* ucoProject/UCO#432

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Aug 22, 2022
1 parent 18b9874 commit 2231c44
Show file tree
Hide file tree
Showing 6 changed files with 261 additions and 283 deletions.
107 changes: 107 additions & 0 deletions examples/illustrations/Oresteia/Oresteia_validation-develop.ttl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix investigation: <https://ontology.caseontology.org/case/investigation/> .
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
Expand All @@ -9,10 +10,58 @@
@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

[]
rdf:first "radius"^^vocabulary:AccountTypeVocab ;
rdf:rest (
"tacacs"^^vocabulary:AccountTypeVocab
"unix"^^vocabulary:AccountTypeVocab
"windows_domain"^^vocabulary:AccountTypeVocab
"windows_local"^^vocabulary:AccountTypeVocab
) ;
.

[]
rdf:first "unix"^^vocabulary:AccountTypeVocab ;
rdf:rest (
"windows_domain"^^vocabulary:AccountTypeVocab
"windows_local"^^vocabulary:AccountTypeVocab
) ;
.

[]
a sh:ValidationReport ;
sh:conforms "false"^^xsd:boolean ;
sh:result
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/bundle-3b13e958a-d975-41aa-b1bb-029d2b6707cd> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/bundle-3b13e958a-d975-41aa-b1bb-029d2b6707cd> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-2545442b-321c-754d-bcb8-c40d321ce2c2> ;
Expand Down Expand Up @@ -87,6 +136,36 @@
sh:path investigation:investigationForm ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-952d677d-6b62-4e53-9bac-1b113d268ac5> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-952d677d-6b62-4e53-9bac-1b113d268ac5> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-ac9fd560-261e-4cd6-af64-8b83d100b9a8> ;
Expand Down Expand Up @@ -131,6 +210,34 @@
sh:path investigation:investigationForm ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigative-action4-uuid> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath action:instrument ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path action:instrument ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigative-action5-uuid> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath action:instrument ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path action:instrument ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down
92 changes: 0 additions & 92 deletions examples/illustrations/Oresteia/Oresteia_validation-unstable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix tool: <https://ontology.unifiedcyberontology.org/uco/tool/> .
@prefix vocab: <https://ontology.caseontology.org/case/vocabulary/> .
@prefix vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Expand Down Expand Up @@ -174,97 +173,6 @@
sh:path investigation:investigationForm ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/tool2-uuid> ;
sh:resultMessage "Value does not have class core:Facet" ;
sh:resultPath core:hasFacet ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:Facet ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:hasFacet ;
] ;
sh:value [
a tool:ToolConfigurationTypeFacet ;
tool:configurationSettings
[
a tool:ConfigurationSettingType ;
tool:itemName "command_line_arguments" ;
tool:itemValue "C:/Python27/Scripts/log2timeline.py C:/evidence/AthensPD-2017220601-01.dd.plaso C:/evidence/AthensPD-2017220601-01.dd --no-dependencies-check --parsers sqlite" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "debug_mode" ;
tool:itemValue "False" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "enabled_parser_names" ;
tool:itemValue "sqlite, sqlite/twitter_ios, sqlite/kik_messenger, sqlite/android_sms, sqlite/android_gmail, sqlite/android_facebook" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "filter_expression" ;
tool:itemValue "" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "filter_file" ;
tool:itemValue "" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "identifier" ;
tool:itemValue "624f2636e65e451e8dd7cb044ec44b69" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "parser_filter_expression" ;
tool:itemValue "sqlite" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "preferred_encoding" ;
tool:itemValue "cp1252" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "preferred_year" ;
tool:itemValue "" ;
]
;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/tool3-uuid> ;
sh:resultMessage "Value does not have class core:Facet" ;
sh:resultPath core:hasFacet ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:Facet ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:hasFacet ;
] ;
sh:value [
a tool:ToolConfigurationTypeFacet ;
tool:configurationSettings
[
a tool:ConfigurationSettingType ;
tool:itemName "query" ;
tool:itemValue "SELECT _id AS id, address, date, read, type, body FROM sms" ;
] ,
[
a tool:ConfigurationSettingType ;
tool:itemName "schema_match" ;
tool:itemValue "True" ;
]
;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down
89 changes: 89 additions & 0 deletions examples/illustrations/Oresteia/Oresteia_validation.ttl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@prefix action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix investigation: <https://ontology.caseontology.org/case/investigation/> .
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
Expand All @@ -13,6 +14,36 @@
a sh:ValidationReport ;
sh:conforms "false"^^xsd:boolean ;
sh:result
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/bundle-3b13e958a-d975-41aa-b1bb-029d2b6707cd> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/bundle-3b13e958a-d975-41aa-b1bb-029d2b6707cd> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-2545442b-321c-754d-bcb8-c40d321ce2c2> ;
Expand Down Expand Up @@ -87,6 +118,36 @@
sh:path investigation:investigationForm ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-952d677d-6b62-4e53-9bac-1b113d268ac5> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-952d677d-6b62-4e53-9bac-1b113d268ac5> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath core:object ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:minCount "1"^^xsd:integer ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path core:object ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigation-ac9fd560-261e-4cd6-af64-8b83d100b9a8> ;
Expand Down Expand Up @@ -131,6 +192,34 @@
sh:path investigation:investigationForm ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigative-action4-uuid> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath action:instrument ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path action:instrument ;
] ;
sh:value <http://example.org/kb/tool2-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode <http://example.org/kb/investigative-action5-uuid> ;
sh:resultMessage "Value does not have class core:UcoObject" ;
sh:resultPath action:instrument ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [
sh:class core:UcoObject ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path action:instrument ;
] ;
sh:value <http://example.org/kb/tool3-uuid> ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down
Loading

0 comments on commit 2231c44

Please sign in to comment.