Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask Class Reference

Inherits Runnable.

Classes

class  AnalysisStartupException
 
class  DoNothingDSPProgressMonitor
 
class  IngestJobEventListener
 

Public Member Functions

void run ()
 

Private Member Functions

 JobProcessingTask ()
 
void analyze (AutoIngestDataSource dataSource, String ingestProfileName) throws AnalysisStartupException, InterruptedException
 
FilesSet getSelectedFilter (String filterName)
 
IngestProfiles.IngestProfile getSelectedProfile (String ingestProfileName)
 
void logDataSourceProcessorResult (AutoIngestDataSource dataSource)
 
void runDataSourceProcessor (Case caseForJob, AutoIngestDataSource dataSource) throws InterruptedException, AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException
 

Private Attributes

final Object ingestLock
 

Detailed Description

Definition at line 110 of file CommandLineIngestManager.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.JobProcessingTask ( )
private

Member Function Documentation

void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.analyze ( AutoIngestDataSource  dataSource,
String  ingestProfileName 
) throws AnalysisStartupException, InterruptedException
private

Analyzes the data source content returned by the data source processor using the configured set of data source level and file level analysis modules. If an ingest profile is specified, load that profile (profile = ingest context + ingest filter) for ingest. Otherwise use baseline configuration.

Parameters
dataSourceThe data source to analyze.
ingestProfileNameName of ingest profile to use (optional)
Exceptions
AnalysisStartupExceptionif there is an error analyzing the data source.
InterruptedExceptionif the thread running the job processing task is interrupted while blocked, i.e., if auto ingest is shutting down.

Definition at line 511 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.ingest.IngestManager.addIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestManager.beginIngestJob(), org.sleuthkit.autopsy.ingest.IngestJob.ProgressSnapshot.DataSourceProcessingSnapshot.getCancelledDataSourceIngestModules(), org.sleuthkit.autopsy.commandlineingest.UserPreferences.getCommandLineModeIngestModuleContextString(), org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSource.getContent(), org.sleuthkit.autopsy.ingest.profile.IngestProfilePaths.getIngestProfilePrefix(), org.sleuthkit.autopsy.ingest.profile.IngestProfilePaths.getInstance(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getJob(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getModuleErrors(), org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSource.getPath(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.getSelectedFilter(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.getSelectedProfile(), org.sleuthkit.autopsy.ingest.IngestJob.getSnapshot(), org.sleuthkit.autopsy.ingest.IngestJobStartResult.getStartupException(), org.sleuthkit.autopsy.ingest.IngestJobSettings.getWarnings(), org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.INGEST_JOB_EVENTS_OF_INTEREST, org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.ingestLock, org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning(), org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.NOT_CANCELLED, org.sleuthkit.autopsy.ingest.IngestManager.removeIngestJobEventListener(), org.sleuthkit.autopsy.ingest.IngestJobSettings.setFileFilter(), and org.sleuthkit.autopsy.ingest.IngestJob.CancellationReason.USER_CANCELLED.

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run().

FilesSet org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.getSelectedFilter ( String  filterName)
private

Gets the specified file filter from the list of all existing file filters (custom and standard).

Parameters
filterNameName of the file filter
Returns
FilesSet object, or NULL if the filter doesn't exist

Definition at line 640 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getCustomFileIngestFilters(), org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInstance(), and org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getStandardFileIngestFilters().

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.analyze().

IngestProfiles.IngestProfile org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.getSelectedProfile ( String  ingestProfileName)
private

Gets the specified ingest profile from the list of all existing ingest profiles.

Parameters
ingestProfileNameIngest profile name
Returns
IngestProfile object, or NULL if the profile doesn't exist

Definition at line 618 of file CommandLineIngestManager.java.

References org.sleuthkit.autopsy.ingest.IngestProfiles.getIngestProfiles().

Referenced by org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.analyze().

void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.logDataSourceProcessorResult ( AutoIngestDataSource  dataSource)
private
void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.run ( )
void org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.runDataSourceProcessor ( Case  caseForJob,
AutoIngestDataSource  dataSource 
) throws InterruptedException, AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException
private

Member Data Documentation

final Object org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.ingestLock
private

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.