Autopsy  4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport Class Reference

Inherits org.sleuthkit.autopsy.report.GeneralReportModule.

Public Member Functions

 DataSourceSummaryReport ()
 
default void generateReport (String baseReportDir, ReportProgressPanel progressPanel)
 
void generateReport (GeneralReportSettings settings, ReportProgressPanel progressPanel)
 
default ReportModuleSettings getConfiguration ()
 
JPanel getConfigurationPanel ()
 
default ReportModuleSettings getDefaultConfiguration ()
 
String getDescription ()
 
String getName ()
 
String getRelativeFilePath ()
 
default void setConfiguration (ReportModuleSettings settings)
 
boolean supportsDataSourceSelection ()
 

Static Public Member Functions

static synchronized DataSourceSummaryReport getDefault ()
 

Static Private Attributes

static DataSourceSummaryReport instance
 
static final Logger logger = Logger.getLogger(DataSourceSummaryReport.class.getName())
 

Detailed Description

Instances of this class plug in to the reporting infrastructure to provide a convenient way to extract data source summary information into Excel.

Definition at line 44 of file DataSourceSummaryReport.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.DataSourceSummaryReport ( )

Definition at line 57 of file DataSourceSummaryReport.java.

Member Function Documentation

default void org.sleuthkit.autopsy.report.GeneralReportModule.generateReport ( String  baseReportDir,
ReportProgressPanel  progressPanel 
)
inherited

Called to generate the report. Method is responsible for saving the file at the path specified and updating progress via the progressPanel object.

Parameters
baseReportDirBase directory that reports are being stored in. Report should go into baseReportDir + getRelativeFilePath().
progressPanelpanel to update the report's progress with
Deprecated:
Use generateReport(GeneralReportSettings settings, ReportProgressPanel progressPanel) instead. The baseReportDir is stored in the settings instance.

Implemented in org.sleuthkit.autopsy.report.GeneralReportModuleAdapter.

Definition at line 36 of file GeneralReportModule.java.

Referenced by org.sleuthkit.autopsy.report.GeneralReportModule.generateReport().

void org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.generateReport ( GeneralReportSettings  settings,
ReportProgressPanel  progressPanel 
)

Called to generate the report. Method is responsible for saving the file and updating progress via the progressPanel object. Configuration parameters are passed in the settings class, most notably the directory to save the report. Modules should try to respond to all configuration parameters.

Parameters
settingsConfiguration parameters to customize the report generation process
progressPanelpanel to update the report's progress with

Implements org.sleuthkit.autopsy.report.GeneralReportModule.

Definition at line 94 of file DataSourceSummaryReport.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE, org.sleuthkit.autopsy.report.ReportProgressPanel.complete(), org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.ERROR, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getDataSources(), org.sleuthkit.autopsy.report.GeneralReportSettings.getReportDirectoryPath(), org.sleuthkit.autopsy.report.GeneralReportSettings.getSelectedDataSources(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.report.GeneralReportSettings.setSelectedDataSources(), and org.sleuthkit.autopsy.report.ReportProgressPanel.start().

default ReportModuleSettings org.sleuthkit.autopsy.report.ReportModule.getConfiguration ( )
inherited

Get current configuration for this report module.

Returns
Object which contains current report module settings.

Implemented in org.sleuthkit.autopsy.report.modules.html.HTMLReport, and org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.

Definition at line 79 of file ReportModule.java.

JPanel org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.getConfigurationPanel ( )

Returns the configuration panel for the report, which is displayed in the report configuration step of the report wizard.

Returns
Configuration panel or null if the module does not need configuration.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 79 of file DataSourceSummaryReport.java.

static synchronized DataSourceSummaryReport org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.getDefault ( )
static

Definition at line 50 of file DataSourceSummaryReport.java.

default ReportModuleSettings org.sleuthkit.autopsy.report.ReportModule.getDefaultConfiguration ( )
inherited

Get default configuration for this report module.

Returns
Object which contains default report module settings.

Implemented in org.sleuthkit.autopsy.report.modules.html.HTMLReport, and org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.

Definition at line 70 of file ReportModule.java.

Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateReports().

String org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.getDescription ( )

Gets a one-line, user friendly description of the type of report this module generates.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 73 of file DataSourceSummaryReport.java.

String org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.getName ( )

Get the name of the report this module generates.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 62 of file DataSourceSummaryReport.java.

String org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.getRelativeFilePath ( )

Gets the relative path of the report file, if any, generated by this module. The path should be relative to the location that gets passed in to generateReport() (or similar).

Returns
Relative path to where report will be stored. Return an empty string if the location passed to generateReport() is the output location. Return null to indicate that there is no report file.

Implements org.sleuthkit.autopsy.report.ReportModule.

Definition at line 68 of file DataSourceSummaryReport.java.

default void org.sleuthkit.autopsy.report.ReportModule.setConfiguration ( ReportModuleSettings  settings)
inherited

Set report module configuration.

Parameters
settingsObject which contains report module settings.

Implemented in org.sleuthkit.autopsy.report.modules.html.HTMLReport, and org.sleuthkit.autopsy.report.modules.taggedhashes.SaveTaggedHashesToHashDb.

Definition at line 88 of file ReportModule.java.

Referenced by org.sleuthkit.autopsy.report.infrastructure.ReportGenerator.generateReports().

boolean org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.supportsDataSourceSelection ( )

Determines if the module supports report generation on a subset of data sources in a case. Defaults to false. The data source selections are stored in the GeneralReportSettings instance.

Returns
True if the module can be configured to run on a subset of data sources.

Implements org.sleuthkit.autopsy.report.GeneralReportModule.

Definition at line 84 of file DataSourceSummaryReport.java.

Member Data Documentation

DataSourceSummaryReport org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.instance
staticprivate

Definition at line 47 of file DataSourceSummaryReport.java.

final Logger org.sleuthkit.autopsy.report.modules.datasourcesummaryexport.DataSourceSummaryReport.logger = Logger.getLogger(DataSourceSummaryReport.class.getName())
staticprivate

Definition at line 46 of file DataSourceSummaryReport.java.


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

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