Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor, and org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Classes | |
class | XRYReportProcessorSwingWorker |
Public Member Functions | |
XRYDataSourceProcessor () | |
void | cancel () |
int | canProcess (Path dataSourcePath) throws AutoIngestDataSourceProcessorException |
String | getDataSourceType () |
JPanel | getPanel () |
boolean | isPanelValid () |
void | process (String deviceId, Path dataSourcePath, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callBack) |
default IngestStream | processWithIngestStream (String deviceId, Path dataSourcePath, IngestJobSettings settings, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callBack) |
void | reset () |
void | run (DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback) |
default void | runWithIngestStream (IngestJobSettings settings, DataSourceProcessorProgressMonitor progress, DataSourceProcessorCallback callBack) |
default boolean | supportsIngestStream () |
Private Attributes | |
final XRYDataSourceProcessorConfigPanel | configPanel |
XRYReportProcessorSwingWorker | swingWorker |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(XRYDataSourceProcessor.class.getName()) |
static final int | XRY_FILES_DEPTH = 1 |
An XRY Report data source processor.
Definition at line 63 of file XRYDataSourceProcessor.java.
org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.XRYDataSourceProcessor | ( | ) |
Definition at line 75 of file XRYDataSourceProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.cancel | ( | ) |
Requests cancellation of the background task that adds a data source to the case database, after the task is started using the run method. This is a "best effort" cancellation, with no guarantees that the case database will be unchanged. If cancellation succeeded, the list of new data sources returned by the background task will be empty.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 255 of file XRYDataSourceProcessor.java.
int org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.canProcess | ( | Path | dataSourcePath | ) | throws AutoIngestDataSourceProcessorException |
Tests if the given path is an XRY Folder.
This function assumes the calling thread has sufficient privileges to read the folder and its child content.
dataSourcePath | Path to test |
AutoIngestDataSourceProcessorException | if an I/O error occurs during disk reads. |
Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Definition at line 175 of file XRYDataSourceProcessor.java.
String org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.getDataSourceType | ( | ) |
Gets a string that describes the type of data sources this processor is able to add to the case database. The string is suitable for display in a type selection UI component (e.g., a combo box).
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 83 of file XRYDataSourceProcessor.java.
JPanel org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.getPanel | ( | ) |
Gets the panel that allows a user to select a data source and do any configuration required by the data source. The panel is less than 544 pixels wide and less than 173 pixels high.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 88 of file XRYDataSourceProcessor.java.
boolean org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.isPanelValid | ( | ) |
Tests the selected path.
This functions checks permissions to the path directly and then to each of its top most children, if it is a folder.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 107 of file XRYDataSourceProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.process | ( | String | deviceId, |
Path | dataSourcePath, | ||
DataSourceProcessorProgressMonitor | progressMonitor, | ||
DataSourceProcessorCallback | callBack | ||
) |
Processes the XRY Folder encountered in an auto-ingest context. The heavy lifting is done off of the EDT, so this function will return while the path is still being processed.
This function assumes the calling thread has sufficient privileges to read the folder and its child content.
deviceId | |
dataSourcePath | |
progressMonitor | |
callBack |
Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Definition at line 236 of file XRYDataSourceProcessor.java.
References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.DataSourceProcessorResult.CRITICAL_ERRORS, org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setIndeterminate().
|
inherited |
Adds a data source to the case database using a background task in a separate thread by calling DataSourceProcessor.run() method. Returns as soon as the background task is started. The background task uses a callback object to signal task completion and return results. Method can throw an exception for a system level problem. The exception should not be thrown for an issue related to bad input data.
deviceId | An ASCII-printable identifier for the device associated with the data source that is intended to be unique across multiple cases (e.g., a UUID). |
dataSourcePath | Path to the data source. |
settings | The ingest job settings. |
progressMonitor | Progress monitor that will be used by the background task to report progress. |
callBack | Callback that will be used by the background task to return results. |
Implemented in org.sleuthkit.autopsy.casemodule.ImageDSProcessor.
Definition at line 92 of file AutoIngestDataSourceProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.reset | ( | ) |
Resets the selection and configuration panel for this data source processor.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 262 of file XRYDataSourceProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.run | ( | DataSourceProcessorProgressMonitor | progressMonitor, |
DataSourceProcessorCallback | callback | ||
) |
Processes the XRY folder that the examiner selected. The heavy lifting is done off of the EDT, so this function will return while the path is still being processed.
This function assumes the calling thread has sufficient privileges to read the folder and its child content, which should have been validated in isPanelValid().
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 199 of file XRYDataSourceProcessor.java.
References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.DataSourceProcessorResult.CRITICAL_ERRORS, org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setIndeterminate().
|
inherited |
Adds a data source to the case database using a background task in a separate thread and the settings provided by the selection and configuration panel. Files found during ingest will be sent directly to the IngestStream provided. Returns as soon as the background task is started. The background task uses a callback object to signal task completion and return results.
This method should not be called unless isPanelValid returns true, and should only be called for DSPs that support ingest streams. The ingest settings must be complete before calling this method.
settings | The ingest job settings. |
progress | Progress monitor that will be used by the background task to report progress. |
callBack | Callback that will be used by the background task to return results. |
Implemented in org.sleuthkit.autopsy.casemodule.ImageDSProcessor.
Definition at line 130 of file DataSourceProcessor.java.
|
inherited |
Check if this DSP supports ingest streams.
Implemented in org.sleuthkit.autopsy.casemodule.ImageDSProcessor.
Definition at line 140 of file DataSourceProcessor.java.
|
private |
Definition at line 65 of file XRYDataSourceProcessor.java.
|
staticprivate |
Definition at line 73 of file XRYDataSourceProcessor.java.
|
private |
Definition at line 71 of file XRYDataSourceProcessor.java.
|
staticprivate |
Definition at line 67 of file XRYDataSourceProcessor.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.