mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
7673 Add ingest job IDs to artifact posts
This commit is contained in:
parent
14dc7212f3
commit
423549dc34
@ -9,6 +9,7 @@ ChromeCacheExtractor.progressMsg={0}: Extracting cache entry {1} of {2} entries
|
|||||||
DataSourceUsage_AndroidMedia=Android Media Card
|
DataSourceUsage_AndroidMedia=Android Media Card
|
||||||
DataSourceUsage_DJU_Drone_DAT=DJI Internal SD Card
|
DataSourceUsage_DJU_Drone_DAT=DJI Internal SD Card
|
||||||
DataSourceUsage_FlashDrive=Flash Drive
|
DataSourceUsage_FlashDrive=Flash Drive
|
||||||
|
# {0} - OS name
|
||||||
DataSourceUsageAnalyzer.customVolume.label=OS Drive ({0})
|
DataSourceUsageAnalyzer.customVolume.label=OS Drive ({0})
|
||||||
DataSourceUsageAnalyzer.displayName=Data Source Usage Analyzer
|
DataSourceUsageAnalyzer.displayName=Data Source Usage Analyzer
|
||||||
DataSourceUsageAnalyzer.parentModuleName=Recent Activity
|
DataSourceUsageAnalyzer.parentModuleName=Recent Activity
|
||||||
@ -27,6 +28,7 @@ ExtractOs.androidOs.label=Android
|
|||||||
ExtractOs.androidVolume.label=OS Drive (Android)
|
ExtractOs.androidVolume.label=OS Drive (Android)
|
||||||
ExtractOs.debianLinuxOs.label=Linux (Debian)
|
ExtractOs.debianLinuxOs.label=Linux (Debian)
|
||||||
ExtractOs.debianLinuxVolume.label=OS Drive (Linux Debian)
|
ExtractOs.debianLinuxVolume.label=OS Drive (Linux Debian)
|
||||||
|
ExtractOs.displayName=OS Info Extractor
|
||||||
ExtractOs.fedoraLinuxOs.label=Linux (Fedora)
|
ExtractOs.fedoraLinuxOs.label=Linux (Fedora)
|
||||||
ExtractOs.fedoraLinuxVolume.label=OS Drive (Linux Fedora)
|
ExtractOs.fedoraLinuxVolume.label=OS Drive (Linux Fedora)
|
||||||
ExtractOs.gentooLinuxOs.label=Linux (Gentoo)
|
ExtractOs.gentooLinuxOs.label=Linux (Gentoo)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2019 Basis Technology Corp.
|
* Copyright 2019-2021 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -26,7 +26,6 @@ import java.util.List;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import org.apache.commons.io.FilenameUtils;
|
import org.apache.commons.io.FilenameUtils;
|
||||||
import org.openide.util.NbBundle.Messages;
|
import org.openide.util.NbBundle.Messages;
|
||||||
import org.sleuthkit.autopsy.casemodule.services.FileManager;
|
|
||||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||||
import org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProgress;
|
import org.sleuthkit.autopsy.ingest.DataSourceIngestModuleProgress;
|
||||||
import org.sleuthkit.autopsy.ingest.IngestJobContext;
|
import org.sleuthkit.autopsy.ingest.IngestJobContext;
|
||||||
@ -40,7 +39,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
* Create OS INFO artifacts for the Operating Systems believed to be present on
|
* Create OS INFO artifacts for the Operating Systems believed to be present on
|
||||||
* the data source.
|
* the data source.
|
||||||
*/
|
*/
|
||||||
@Messages({"ExtractOs.parentModuleName=Recent Activity",
|
@Messages({"ExtractOs.displayName=OS Info Extractor",
|
||||||
"ExtractOS_progressMessage=Checking for OS"})
|
"ExtractOS_progressMessage=Checking for OS"})
|
||||||
class ExtractOs extends Extract {
|
class ExtractOs extends Extract {
|
||||||
|
|
||||||
@ -105,7 +104,7 @@ class ExtractOs extends Extract {
|
|||||||
//if the os info program name is not empty create an os info artifact on the first of the files found
|
//if the os info program name is not empty create an os info artifact on the first of the files found
|
||||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
||||||
bbattributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PROG_NAME,
|
bbattributes.add(new BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PROG_NAME,
|
||||||
Bundle.ExtractOs_parentModuleName(),
|
getRAModuleName(),
|
||||||
osType.getOsInfoLabel())); //NON-NLS
|
osType.getOsInfoLabel())); //NON-NLS
|
||||||
postArtifact(createArtifactWithAttributes(BlackboardArtifact.Type.TSK_OS_INFO, file, bbattributes));
|
postArtifact(createArtifactWithAttributes(BlackboardArtifact.Type.TSK_OS_INFO, file, bbattributes));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user