Bug fixes during ingest

This commit is contained in:
eugene.livis 2023-08-17 16:52:05 -04:00
parent 47ce334b4c
commit 8ba3f2740b
3 changed files with 9 additions and 4 deletions

View File

@ -775,10 +775,14 @@ 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) {
// 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); createdArtifacts.add(res);
} }
} }
} }
}
trans.commit(); trans.commit();
trans = null; trans = null;

View File

@ -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");

View File

@ -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