Autopsy
4.20.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
AuthTokenResponse | getAuthToken (DecryptedLicenseResponse decrypted) throws CTCloudException |
LicenseResponse | getLicenseInfo (String licenseString) throws CTCloudException |
List< CTCloudBean > | getReputationResults (AuthenticatedRequestData authenticatedRequestData, List< String > md5Hashes) throws CTCloudException |
Static Public Member Functions | |
static CTApiDAO | getInstance () |
Private Member Functions | |
CTApiDAO () | |
Static Private Member Functions | |
static String | getAppVersion () |
static Map< String, String > | getAuthParams (AuthenticatedRequestData authenticatedRequestData) |
Private Attributes | |
final CTCloudHttpClient | httpClient = CTCloudHttpClient.getInstance() |
Static Private Attributes | |
static final String | AUTH_TOKEN_REQUEST_PATH = "/_ah/api/auth/v2/generate_token" |
static final String | AUTOPSY_PRODUCT = "AUTOPSY" |
static final String | CTCLOUD_SERVER_HASH_PATH = "/_ah/api/reputation/v1/query/file/hash/md5?query_types=CORRELATION,MALWARE" |
static final CTApiDAO | instance = new CTApiDAO() |
static final String | LICENSE_REQUEST_PATH = "/_ah/api/license/v1/activate" |
Data access layer for handling the CT api.
Definition at line 43 of file CTApiDAO.java.
|
private |
Definition at line 52 of file CTApiDAO.java.
|
staticprivate |
Definition at line 59 of file CTApiDAO.java.
References org.sleuthkit.autopsy.coreutils.Version.getVersion().
Referenced by com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAuthToken().
|
staticprivate |
Definition at line 86 of file CTApiDAO.java.
References com.basistech.df.cybertriage.autopsy.ctapi.json.AuthenticatedRequestData.getApiKey(), com.basistech.df.cybertriage.autopsy.ctapi.json.AuthenticatedRequestData.getHostId(), and com.basistech.df.cybertriage.autopsy.ctapi.json.AuthenticatedRequestData.getToken().
Referenced by com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getReputationResults().
AuthTokenResponse com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAuthToken | ( | DecryptedLicenseResponse | decrypted | ) | throws CTCloudException |
Definition at line 76 of file CTApiDAO.java.
References com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAppVersion(), com.basistech.df.cybertriage.autopsy.ctapi.json.AuthTokenRequest.setAutopsyVersion(), com.basistech.df.cybertriage.autopsy.ctapi.json.AuthTokenRequest.setBoostLicenseId(), and com.basistech.df.cybertriage.autopsy.ctapi.json.AuthTokenRequest.setRequestFileUpload().
Referenced by com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.AuthTokenFetcher.doInBackground(), and com.basistech.df.cybertriage.autopsy.malwarescan.MalwareScanIngestModule.SharedProcessing.handleBatch().
|
static |
Definition at line 55 of file CTApiDAO.java.
References com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.instance.
LicenseResponse com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getLicenseInfo | ( | String | licenseString | ) | throws CTCloudException |
Definition at line 65 of file CTApiDAO.java.
References com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.generateLicenseHostID(), org.sleuthkit.autopsy.core.UserPreferences.getInferredUserTimeZone(), com.basistech.df.cybertriage.autopsy.ctapi.json.LicenseRequest.setBoostLicenseCode(), com.basistech.df.cybertriage.autopsy.ctapi.json.LicenseRequest.setHostId(), and com.basistech.df.cybertriage.autopsy.ctapi.json.LicenseRequest.setTimeZoneId().
Referenced by com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.LicenseFetcher.doInBackground().
List<CTCloudBean> com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getReputationResults | ( | AuthenticatedRequestData | authenticatedRequestData, |
List< String > | md5Hashes | ||
) | throws CTCloudException |
Definition at line 96 of file CTApiDAO.java.
References com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAuthParams(), com.basistech.df.cybertriage.autopsy.ctapi.json.CTCloudBeanResponse.getItems(), and com.basistech.df.cybertriage.autopsy.ctapi.json.FileReputationRequest.setHashes().
Referenced by com.basistech.df.cybertriage.autopsy.malwarescan.MalwareScanIngestModule.SharedProcessing.handleBatch().
|
staticprivate |
Definition at line 46 of file CTApiDAO.java.
|
staticprivate |
Definition at line 48 of file CTApiDAO.java.
|
staticprivate |
Definition at line 47 of file CTApiDAO.java.
|
private |
Definition at line 63 of file CTApiDAO.java.
|
staticprivate |
Definition at line 50 of file CTApiDAO.java.
Referenced by com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getInstance().
|
staticprivate |
Definition at line 45 of file CTApiDAO.java.
Copyright © 2012-2022 Basis Technology. Generated on: Tue Aug 1 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.