casework / CASE

Cyber-investigation Analysis Standard Expression (CASE) Ontology
https://caseontology.org
Apache License 2.0
66 stars 22 forks source link

Update CASE examples which reference tool.ttl Facet 'ToolConfigurationTypeFacet' (previously named 'ToolConfigurationTypeFacet') #97

Closed gwebb-case closed 2 years ago

gwebb-case commented 2 years ago

Background

Requirements

Remove the text "Type" from the UCO ontology for the following Facet:

so that it becomes

Requirement 1

Replace all occurances of the text "ToolConfigurationTypeFacet" with "ToolConfigurationFacet" e.g. *.replace(current="ToolConfigurationTypeFacet", new="ToolConfigurationFacet") within the:

for any references affected by the change. i.e. run a keyword search across all the files in the above folder, and all its sub-folders, for "ToolConfigurationTypeFacet" Known changes:

   92   {
   93       "@id": "kb:Tool-f40e2a5f-7fdf-491f-8c87-b4cb766a6377",
                        :
  103               "@type": "uco-tool:ToolConfigurationTypeFacet",    
  160   {
  161       "@id": "kb:Tool-134e3cc0-7f74-4ea2-9ac1-3c447f4f6195",
                        :
  171              "@type": "uco-tool:ToolConfigurationTypeFacet",    
 1172    {
 1173       "@id": "kb:tool3-uuid",
                   :
 1182               "@type": "uco-tool:ToolConfigurationTypeFacet",    

Risk / Benefit analysis

Benefits

The changes provides better conformance with the standard CASE Facet guidance

Risks

  1. Any developer code which currently hard codes the json-ld output using the existing "ToolConfigurationTypeFacet" name will need to amended to allow compability with future UCO\CASE versions.
    Note: Code which automatically generates output data directly from the versioned *.ttl files will be unaffected by the change.
  2. Forked examples may not, by default, have the change in their existing copy.

Competencies demonstrated

After the change, re-run a text search across all the files in the following repositories:

  • https://github.com/ucoProject/UCO (master)
  • https://github.com/casework/CASE-Examples (master)
  • Competency 1

    Competency Question 1.1

    Check that no hits are generated for the text pattern "ToolConfigurationTypeFacet" (case insensitive)

    Result 1.1

    The result should not return any Hits

    Competency Question 1.2

    Check that hits are generated for the text pattern "ToolConfigurationFacet" (case insensitive)

    Result 1.2

    Check that all hits are an exact match for "ToolConfigurationFacet" (case sensitive)

    Solution suggestion

    Make the changes suggested above.

    Coordination