Adding Artifacts and Attributes

From SleuthKitWiki
Revision as of 11:01, 27 January 2015 by Carrier (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page outlines the steps that you need to undertake to add a new artifact or attribute to TSK/Autopsy. Follow these before making a pull request.

  • C++ Framework Code:
    • Add to TSK_ARTIFACT_TYPE or TSK_ATTRIBUTE_TYPE enums in framework/tsk/framework/services/TskBlackboard.h
  • Java Code:
    • Add Artifacts to:
      • bindings/java/src/org/sleuthkit/datamodel/BlackboardArtifact.java
    • Add Attributes to
      • bindings/java/src/org/sleuthkit/datamodel/BlackboardAttribute.java
      • Update BlackboardAttribute.getDisplayString() if the attribute needs any special display formatting.
    • For either, you will need to update the bundle file with the strings:
      • bindings/java/src/org/sleuthkit/datamodel/Bundle.properties
  • Autopsy:
    • Update report code to make artifact visible in table:
      • Core/src/org/sleuthkit/autopsy/report/ReportGenerator.java
        • getArtifactTableColumnHeaders()
        • getOrderedRowDataAsStrings()