mirror of
https://github.com/elisspace/autopsy.git
synced 2026-08-30 16:11:57 +00:00
7673 Allow helpers to call correct Blackboard.postArtifacts() API
This commit is contained in:
@@ -172,8 +172,7 @@ class ContactsDbIngestModule(DataSourceIngestModule):
|
||||
))
|
||||
|
||||
try:
|
||||
# index the artifact for keyword search
|
||||
blackboard.postArtifact(art, ContactsDbIngestModuleFactory.moduleName)
|
||||
blackboard.postArtifact(art, ContactsDbIngestModuleFactory.moduleName, context.getJobId())
|
||||
except Blackboard.BlackboardException as e:
|
||||
self.log(Level.SEVERE, "Error indexing artifact " + art.getDisplayName())
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ class ContactsDbIngestModule(DataSourceIngestModule):
|
||||
# Create an instance of the helper class
|
||||
# TODO - Replace with your parser name and Account.Type
|
||||
helper = CommunicationArtifactsHelper(current_case.getSleuthkitCase(),
|
||||
ContactsDbIngestModuleFactory.moduleName, app_database.getDBFile(), Account.Type.DEVICE)
|
||||
ContactsDbIngestModuleFactory.moduleName, app_database.getDBFile(), Account.Type.DEVICE, context.getJobId())
|
||||
|
||||
# Iterate through each row and create artifacts
|
||||
while result_set.next():
|
||||
|
||||
Reference in New Issue
Block a user