Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.test.CustomArtifactsCreatorDataSourceIngestModule Class Reference

Inherits org.sleuthkit.autopsy.ingest.DataSourceIngestModuleAdapter.

Public Member Functions

ProcessResult process (Content dataSource, DataSourceIngestModuleProgress progressBar)
 
default void shutDown ()
 
void startUp (IngestJobContext context) throws IngestModuleException
 

Static Private Attributes

static final Logger logger = Logger.getLogger(CustomArtifactsCreatorDataSourceIngestModule.class.getName())
 

Detailed Description

A data source ingest module that associates custom artifacts and attributes with data sources for test purposes.

Definition at line 38 of file CustomArtifactsCreatorDataSourceIngestModule.java.

Member Function Documentation

ProcessResult org.sleuthkit.autopsy.test.CustomArtifactsCreatorDataSourceIngestModule.process ( Content  dataSource,
DataSourceIngestModuleProgress  progressBar 
)

Creates a custom artifact instance associated with the data source to be processed.

Parameters
dataSourceThe data source to process.
progressBarA progress bar to be used to report progress.
Returns
A result code indicating success or failure of the processing.

Implements org.sleuthkit.autopsy.ingest.DataSourceIngestModule.

Definition at line 71 of file CustomArtifactsCreatorDataSourceIngestModule.java.

References org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, and org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.

default void org.sleuthkit.autopsy.ingest.IngestModule.shutDown ( )
inherited

Invoked by Autopsy when an ingest job is completed (either because the data has been analyzed or because the job was cancelled), before the ingest module instance is discarded. The module should respond by doing things like releasing private resources, submitting final results, and posting a final ingest message.

IMPORTANT: If the module instances must share resources, the modules are responsible for synchronizing access to the shared resources and doing reference counting as required to release those resources correctly. Also, more than one ingest job may be in progress at any given time. This must also be taken into consideration when sharing resources between module instances. See IngestModuleReferenceCounter.

Implemented in org.sleuthkit.autopsy.thunderbirdparser.ThunderbirdMboxFileIngestModule, org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule, org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule, org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule, org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule, org.sleuthkit.autopsy.modules.yara.YaraIngestModule, and org.sleuthkit.autopsy.ingest.FileIngestModuleAdapter.

Definition at line 86 of file IngestModule.java.

void org.sleuthkit.autopsy.test.CustomArtifactsCreatorDataSourceIngestModule.startUp ( IngestJobContext  context) throws IngestModuleException

Adds the custom artifact type this module uses to the case database of the current case.

Parameters
contextProvides data and services specific to the ingest job and the ingest pipeline of which the module is a part.
Exceptions
IngestModuleExceptionIf there is an error adding the custom artifact type.

Implements org.sleuthkit.autopsy.ingest.IngestModule.

Definition at line 53 of file CustomArtifactsCreatorDataSourceIngestModule.java.

Member Data Documentation

final Logger org.sleuthkit.autopsy.test.CustomArtifactsCreatorDataSourceIngestModule.logger = Logger.getLogger(CustomArtifactsCreatorDataSourceIngestModule.class.getName())
staticprivate

The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.