Revert to old known_status handling.

This commit is contained in:
Ann Priestman 2017-12-08 11:37:09 -05:00
parent 775e8afb2f
commit f9f064c40d
2 changed files with 2 additions and 4 deletions

View File

@ -259,8 +259,7 @@ public class EamArtifactUtil {
CorrelationDataSource.fromTSKDataSource(correlationCase, af.getDataSource()), CorrelationDataSource.fromTSKDataSource(correlationCase, af.getDataSource()),
af.getParentPath() + af.getName(), af.getParentPath() + af.getName(),
comment, comment,
// @@@ Shouldn't this use the knownStatus argument? knownStatus,
TskData.FileKnown.BAD,
CorrelationAttributeInstance.GlobalStatus.LOCAL CorrelationAttributeInstance.GlobalStatus.LOCAL
); );
eamArtifact.addInstance(cei); eamArtifact.addInstance(cei);

View File

@ -47,7 +47,6 @@ import org.sleuthkit.datamodel.BlackboardAttribute;
import org.sleuthkit.datamodel.HashUtility; import org.sleuthkit.datamodel.HashUtility;
import org.sleuthkit.datamodel.TskCoreException; import org.sleuthkit.datamodel.TskCoreException;
import org.sleuthkit.datamodel.TskData; import org.sleuthkit.datamodel.TskData;
import org.sleuthkit.autopsy.centralrepository.datamodel.EamOrganization;
import org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener; import org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener;
/** /**
@ -127,7 +126,7 @@ class IngestModule implements FileIngestModule {
eamDataSource, eamDataSource,
af.getParentPath() + af.getName(), af.getParentPath() + af.getName(),
null, null,
af.getKnown(), TskData.FileKnown.UNKNOWN,
CorrelationAttributeInstance.GlobalStatus.LOCAL CorrelationAttributeInstance.GlobalStatus.LOCAL
); );
eamArtifact.addInstance(cefi); eamArtifact.addInstance(cefi);