mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Bug fixes during ingest
This commit is contained in:
parent
47ce334b4c
commit
8ba3f2740b
@ -775,7 +775,11 @@ class MalwareScanIngestModule implements FileIngestModule {
|
|||||||
for (Long objId : objIds) {
|
for (Long objId : objIds) {
|
||||||
AnalysisResult res = createAnalysisResult(ingestJobState, trans, result, objId);
|
AnalysisResult res = createAnalysisResult(ingestJobState, trans, result, objId);
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
createdArtifacts.add(res);
|
// only post results that have score NOTABLE or LIKELY_NOTABLE
|
||||||
|
Score score = res.getScore();
|
||||||
|
if (score.getSignificance() == Score.Significance.NOTABLE || score.getSignificance() == Score.Significance.LIKELY_NOTABLE) {
|
||||||
|
createdArtifacts.add(res);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -837,7 +841,7 @@ class MalwareScanIngestModule implements FileIngestModule {
|
|||||||
: Bundle.MalwareScanIngestModule_SharedProcessing_createAnalysisResult_No();
|
: Bundle.MalwareScanIngestModule_SharedProcessing_createAnalysisResult_No();
|
||||||
|
|
||||||
String justification = cloudBean.getMalwareResult().getStatusDescription();
|
String justification = cloudBean.getMalwareResult().getStatusDescription();
|
||||||
|
|
||||||
return ingestJobState.getTskCase().getBlackboard().newAnalysisResult(
|
return ingestJobState.getTskCase().getBlackboard().newAnalysisResult(
|
||||||
ingestJobState.getMalwareType(),
|
ingestJobState.getMalwareType(),
|
||||||
objId,
|
objId,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2021 Basis Technology Corp.
|
* Copyright 2011-2023 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");
|
||||||
|
@ -255,7 +255,8 @@ public class MalwareHits implements AutopsyVisitableItem {
|
|||||||
MALWARE_ARTIFACT_TYPE);
|
MALWARE_ARTIFACT_TYPE);
|
||||||
|
|
||||||
super.setName(MALWARE_HITS);
|
super.setName(MALWARE_HITS);
|
||||||
//this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/hashset_hits.png"); // ELTODO
|
// TODO make an icon
|
||||||
|
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/artifact-icon.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user