19 package org.sleuthkit.datamodel;
21 import java.io.Serializable;
22 import java.io.UnsupportedEncodingException;
23 import java.sql.SQLException;
24 import java.text.MessageFormat;
25 import java.util.ArrayList;
26 import java.util.Arrays;
27 import java.util.Collection;
28 import java.util.Collections;
29 import java.util.HashMap;
30 import java.util.HashSet;
31 import java.util.List;
33 import java.util.Objects;
34 import java.util.ResourceBundle;
36 import java.util.stream.Collectors;
37 import java.util.stream.Stream;
57 private static final ResourceBundle bundle = ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle");
58 private final long artifactId;
59 private final long sourceObjId;
60 private final long artifactObjId;
61 private final Long dataSourceObjId;
62 private final int artifactTypeId;
63 private final String artifactTypeName;
64 private final String displayName;
67 private final List<BlackboardAttribute> attrsCache =
new ArrayList<BlackboardAttribute>();
68 private boolean loadedCacheFromDb =
false;
69 private volatile Content parent;
70 private volatile String uniquePath;
72 private byte[] contentBytes = null;
74 private volatile boolean checkedHasChildren;
76 private volatile int childrenCount;
98 BlackboardArtifact(
SleuthkitCase sleuthkitCase,
long artifactID,
long sourceObjId,
long artifactObjId, Long dataSourceObjId,
int artifactTypeID, String artifactTypeName, String displayName,
ReviewStatus reviewStatus) {
100 this.sleuthkitCase = sleuthkitCase;
101 this.artifactId = artifactID;
102 this.sourceObjId = sourceObjId;
103 this.artifactObjId = artifactObjId;
104 this.artifactTypeId = artifactTypeID;
105 this.dataSourceObjId = dataSourceObjId;
106 this.artifactTypeName = artifactTypeName;
107 this.displayName = displayName;
108 this.reviewStatus = reviewStatus;
110 this.checkedHasChildren =
false;
111 this.hasChildren =
false;
112 this.childrenCount = -1;
136 BlackboardArtifact(
SleuthkitCase sleuthkitCase,
long artifactID,
long sourceObjId,
long artifactObjID, Long dataSourceObjID,
int artifactTypeID, String artifactTypeName, String displayName,
ReviewStatus reviewStatus,
boolean isNew) {
137 this(sleuthkitCase, artifactID, sourceObjId, artifactObjID, dataSourceObjID, artifactTypeID, artifactTypeName, displayName, reviewStatus);
144 this.loadedCacheFromDb =
true;
155 return sleuthkitCase;
164 return this.artifactId;
174 return this.sourceObjId;
182 Long getDataSourceObjectID() {
183 return this.dataSourceObjId;
192 return this.artifactTypeId;
202 if (standardTypesValue != null) {
203 return standardTypesValue;
215 return this.artifactTypeName;
224 return this.displayName;
236 StringBuilder shortDescription =
new StringBuilder(
"");
238 case TSK_WEB_BOOKMARK:
240 case TSK_WEB_DOWNLOAD:
241 case TSK_WEB_HISTORY:
244 case TSK_KEYWORD_HIT:
247 case TSK_DEVICE_ATTACHED:
294 shortDescription.append(
" ");
295 shortDescription.append(MessageFormat.format(bundle.getString(
"BlackboardArtifact.shortDescriptionDate.text"), date.
getDisplayString()));
322 reviewStatus = newStatus;
337 attribute.setArtifactId(artifactId);
340 attrsCache.add(attribute);
352 ArrayList<BlackboardAttribute> attributes;
353 if (
false == loadedCacheFromDb) {
356 attrsCache.addAll(attributes);
357 loadedCacheFromDb =
true;
359 attributes =
new ArrayList<BlackboardAttribute>(attrsCache);
381 if (attribute.getAttributeType().equals(attributeType)) {
398 if (attributes.isEmpty()) {
402 attribute.setArtifactId(artifactId);
406 attrsCache.addAll(attributes);
426 if (Objects.isNull(attributes) || attributes.isEmpty()) {
427 throw new TskCoreException(
"Illegal argument passed to addAttributes: null or empty attributes passed to addAttributes");
429 if (Objects.isNull(caseDbTransaction)) {
430 throw new TskCoreException(
"Illegal argument passed to addAttributes: null caseDbTransaction passed to addAttributes");
434 attribute.setArtifactId(artifactId);
436 getSleuthkitCase().addBlackBoardAttribute(attribute, artifactTypeId, caseDbTransaction.getConnection());
438 attrsCache.addAll(attributes);
439 }
catch (SQLException ex) {
440 throw new TskCoreException(
"Error adding blackboard attributes", ex);
455 if (uniquePath == null) {
456 String tempUniquePath =
"";
458 if (myParent != null) {
463 uniquePath = tempUniquePath;
472 if (parent == null) {
473 ObjectInfo parentInfo;
475 if (parentInfo == null) {
494 return new ArrayList<BlackboardArtifact>();
504 return sleuthkitCase.
getBlackboard().getDataArtifactsBySource(artifactObjId);
531 return new ArrayList<BlackboardArtifact>();
547 return new ArrayList<BlackboardArtifact>();
562 return new ArrayList<BlackboardArtifact>();
676 return new ArrayList<>();
689 return new HashSet<String>();
707 throw new TskCoreException(
"Cannot create artifact of an artifact. Not supported.");
740 throw new TskCoreException(
"Cannot create data artifact of an artifact. Not supported.");
745 throw new TskCoreException(
"Cannot create data artifact of an artifact. Not supported.");
767 throw new TskCoreException(
"Cannot create artifact of an artifact. Not supported.");
780 return visitor.
visit(
this);
792 if (
object == null) {
795 if (getClass() !=
object.getClass()) {
810 hash = 41 * hash + (int) (this.artifactId ^ (this.artifactId >>> 32));
821 return "BlackboardArtifact{" +
"artifactID=" + artifactId +
", objID=" +
getObjectID() +
", artifactObjID=" + artifactObjId +
", artifactTypeID=" + artifactTypeId +
", artifactTypeName=" + artifactTypeName +
", displayName=" + displayName +
", Case=" +
getSleuthkitCase() +
'}';
836 return visitor.
visit(
this);
848 if (contentBytes == null) {
850 loadArtifactContent();
856 return contentBytes.length;
883 if (contentBytes == null) {
884 loadArtifactContent();
887 if (0 == contentBytes.length) {
892 long readLen = Math.min(contentBytes.length - offset, len);
893 System.arraycopy(contentBytes, 0, buf, 0, (
int) readLen);
895 return (
int) readLen;
915 StringBuilder artifactContents =
new StringBuilder();
920 }
catch (TskCoreException ex) {
921 throw new TskCoreException(
"Unable to get datasource for artifact: " + this.
toString(), ex);
923 if (dataSource == null) {
924 throw new TskCoreException(
"Datasource was null for artifact: " + this.
toString());
929 artifactContents.append(attribute.getAttributeType().getDisplayName());
930 artifactContents.append(
" : ");
931 artifactContents.append(attribute.getDisplayString());
932 artifactContents.append(System.lineSeparator());
934 }
catch (TskCoreException ex) {
935 throw new TskCoreException(
"Unable to get attributes for artifact: " + this.
toString(), ex);
939 contentBytes = artifactContents.toString().getBytes(
"UTF-8");
940 }
catch (UnsupportedEncodingException ex) {
941 throw new TskCoreException(
"Failed to convert artifact string to bytes for artifact: " + this.
toString(), ex);
949 public static final class Type implements Serializable {
951 private static final long serialVersionUID = 1L;
1295 static final Map<Integer, Type> STANDARD_TYPES = Collections.unmodifiableMap(Stream.of(
1305 TSK_DEVICE_ATTACHED,
1306 TSK_INTERESTING_FILE_HIT,
1309 TSK_WEB_SEARCH_QUERY,
1312 TSK_SERVICE_ACCOUNT,
1317 TSK_SPEED_DIAL_ENTRY,
1318 TSK_BLUETOOTH_PAIRING,
1320 TSK_GPS_LAST_KNOWN_LOCATION,
1323 TSK_ENCRYPTION_DETECTED,
1324 TSK_EXT_MISMATCH_DETECTED,
1325 TSK_INTERESTING_ARTIFACT_HIT,
1330 TSK_ENCRYPTION_SUSPECTED,
1331 TSK_OBJECT_DETECTED,
1335 TSK_BLUETOOTH_ADAPTER,
1336 TSK_WIFI_NETWORK_ADAPTER,
1337 TSK_VERIFICATION_FAILED,
1338 TSK_DATA_SOURCE_USAGE,
1339 TSK_WEB_FORM_AUTOFILL,
1340 TSK_WEB_FORM_ADDRESS,
1343 TSK_CLIPBOARD_CONTENT,
1344 TSK_ASSOCIATED_OBJECT,
1345 TSK_USER_CONTENT_SUSPECTED,
1348 TSK_WEB_ACCOUNT_TYPE,
1350 TSK_PROG_NOTIFICATIONS,
1353 TSK_USER_DEVICE_EVENT,
1356 TSK_WEB_CATEGORIZATION
1357 ).collect(Collectors.toMap(type -> type.getTypeID(), type -> type)));
1359 private final String typeName;
1360 private final int typeID;
1361 private final String displayName;
1372 Type(
int typeID, String typeName, String displayName,
Category category) {
1373 this.typeID = typeID;
1374 this.typeName = typeName;
1375 this.displayName = displayName;
1376 this.category = category;
1394 return this.typeName;
1412 return this.displayName;
1435 }
else if (!(that instanceof
Type)) {
1438 return ((Type) that).sameType(
this);
1449 private boolean sameType(
Type that) {
1463 hash = 83 * hash + Objects.hashCode(this.typeID);
1464 hash = 83 * hash + Objects.hashCode(this.displayName);
1465 hash = 83 * hash + Objects.hashCode(this.typeName);
1480 TSK_GEN_INFO(1,
"TSK_GEN_INFO",
1487 TSK_WEB_BOOKMARK(2,
"TSK_WEB_BOOKMARK",
1494 TSK_WEB_COOKIE(3,
"TSK_WEB_COOKIE",
1501 TSK_WEB_HISTORY(4,
"TSK_WEB_HISTORY",
1508 TSK_WEB_DOWNLOAD(5,
"TSK_WEB_DOWNLOAD",
1513 TSK_RECENT_OBJECT(6,
"TSK_RECENT_OBJ",
1521 TSK_GPS_TRACKPOINT(7,
"TSK_GPS_TRACKPOINT",
1526 TSK_INSTALLED_PROG(8,
"TSK_INSTALLED_PROG",
1531 TSK_KEYWORD_HIT(9,
"TSK_KEYWORD_HIT",
1536 TSK_HASHSET_HIT(10,
"TSK_HASHSET_HIT",
1541 TSK_DEVICE_ATTACHED(11,
"TSK_DEVICE_ATTACHED",
1547 TSK_INTERESTING_FILE_HIT(12,
"TSK_INTERESTING_FILE_HIT",
1552 TSK_EMAIL_MSG(13,
"TSK_EMAIL_MSG",
1557 TSK_EXTRACTED_TEXT(14,
"TSK_EXTRACTED_TEXT",
1562 TSK_WEB_SEARCH_QUERY(15,
"TSK_WEB_SEARCH_QUERY",
1567 TSK_METADATA_EXIF(16,
"TSK_METADATA_EXIF",
1575 TSK_TAG_FILE(17,
"TSK_TAG_FILE",
1583 TSK_TAG_ARTIFACT(18,
"TSK_TAG_ARTIFACT",
1588 TSK_OS_INFO(19,
"TSK_OS_INFO",
1594 TSK_OS_ACCOUNT(20,
"TSK_OS_ACCOUNT",
1599 TSK_SERVICE_ACCOUNT(21,
"TSK_SERVICE_ACCOUNT",
1607 TSK_TOOL_OUTPUT(22,
"TSK_TOOL_OUTPUT",
1615 TSK_CONTACT(23,
"TSK_CONTACT",
1623 TSK_MESSAGE(24,
"TSK_MESSAGE",
1631 TSK_CALLLOG(25,
"TSK_CALLLOG",
1636 TSK_CALENDAR_ENTRY(26,
"TSK_CALENDAR_ENTRY",
1641 TSK_SPEED_DIAL_ENTRY(27,
"TSK_SPEED_DIAL_ENTRY",
1646 TSK_BLUETOOTH_PAIRING(28,
"TSK_BLUETOOTH_PAIRING",
1651 TSK_GPS_BOOKMARK(29,
"TSK_GPS_BOOKMARK",
1656 TSK_GPS_LAST_KNOWN_LOCATION(30,
"TSK_GPS_LAST_KNOWN_LOCATION",
1661 TSK_GPS_SEARCH(31,
"TSK_GPS_SEARCH",
1666 TSK_PROG_RUN(32,
"TSK_PROG_RUN",
1671 TSK_ENCRYPTION_DETECTED(33,
"TSK_ENCRYPTION_DETECTED",
1676 TSK_EXT_MISMATCH_DETECTED(34,
"TSK_EXT_MISMATCH_DETECTED",
1682 TSK_INTERESTING_ARTIFACT_HIT(35,
"TSK_INTERESTING_ARTIFACT_HIT",
1689 TSK_GPS_ROUTE(36,
"TSK_GPS_ROUTE",
1694 TSK_REMOTE_DRIVE(37,
"TSK_REMOTE_DRIVE",
1699 TSK_FACE_DETECTED(38,
"TSK_FACE_DETECTED",
1704 TSK_ACCOUNT(39,
"TSK_ACCOUNT",
1709 TSK_ENCRYPTION_SUSPECTED(40,
"TSK_ENCRYPTION_SUSPECTED",
1714 TSK_OBJECT_DETECTED(41,
"TSK_OBJECT_DETECTED",
1719 TSK_WIFI_NETWORK(42,
"TSK_WIFI_NETWORK",
1724 TSK_DEVICE_INFO(43,
"TSK_DEVICE_INFO",
1729 TSK_SIM_ATTACHED(44,
"TSK_SIM_ATTACHED",
1734 TSK_BLUETOOTH_ADAPTER(45,
"TSK_BLUETOOTH_ADAPTER",
1739 TSK_WIFI_NETWORK_ADAPTER(46,
"TSK_WIFI_NETWORK_ADAPTER",
1744 TSK_VERIFICATION_FAILED(47,
"TSK_VERIFICATION_FAILED",
1749 TSK_DATA_SOURCE_USAGE(48,
"TSK_DATA_SOURCE_USAGE",
1756 TSK_WEB_FORM_AUTOFILL(49,
"TSK_WEB_FORM_AUTOFILL",
1763 TSK_WEB_FORM_ADDRESS(50,
"TSK_WEB_FORM_ADDRESSES ",
1772 TSK_DOWNLOAD_SOURCE(51,
"TSK_DOWNLOAD_SOURCE",
1777 TSK_WEB_CACHE(52,
"TSK_WEB_CACHE",
1782 TSK_TL_EVENT(53,
"TSK_TL_EVENT",
1787 TSK_CLIPBOARD_CONTENT(54,
"TSK_CLIPBOARD_CONTENT",
1792 TSK_ASSOCIATED_OBJECT(55,
"TSK_ASSOCIATED_OBJECT",
1797 TSK_USER_CONTENT_SUSPECTED(56,
"TSK_USER_CONTENT_SUSPECTED",
1802 TSK_METADATA(57,
"TSK_METADATA",
1809 TSK_GPS_TRACK(58,
"TSK_GPS_TRACK",
1814 TSK_WEB_ACCOUNT_TYPE(59,
"TSK_WEB_ACCOUNT_TYPE",
1819 TSK_SCREEN_SHOTS(60,
"TSK_SCREEN_SHOTS",
1824 TSK_PROG_NOTIFICATIONS(62,
"TSK_PROG_NOTIFICATIONS",
1829 TSK_BACKUP_EVENT(63,
"TSK_BACKUP_EVENT",
1834 TSK_DELETED_PROG(64,
"TSK_DELETED_PROG",
1839 TSK_USER_DEVICE_EVENT(65,
"TSK_USER_DEVICE_EVENT",
1844 TSK_YARA_HIT(66,
"TSK_YARA_HIT",
1849 TSK_GPS_AREA(67,
"TSK_GPS_AREA",
1851 TSK_WEB_CATEGORIZATION(68,
"TSK_WEB_CATEGORIZATION",
1859 private final String label;
1860 private final int typeId;
1861 private final String displayName;
1871 private ARTIFACT_TYPE(
int typeId, String label, String displayName) {
1884 this.typeId = typeId;
1886 this.displayName = displayName;
1887 this.category = category;
1914 return this.category;
1927 if (value.getLabel().equals(label)) {
1931 throw new IllegalArgumentException(
"No ARTIFACT_TYPE matching type: " + label);
1946 if (value.getTypeID() == id) {
1950 throw new IllegalArgumentException(
"No ARTIFACT_TYPE matching type: " +
id);
1975 return visitor.
visit(
this);
1989 DATA_ARTIFACT(0,
"DATA_ARTIFACT", ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle").getString(
"CategoryType.DataArtifact")),
1990 ANALYSIS_RESULT(1,
"ANALYSIS_RESULT", ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle").getString(
"CategoryType.AnalysisResult"));
1992 private final Integer id;
1993 private final String name;
1994 private final String displayName;
1996 private final static Map<Integer, Category> idToCategory =
new HashMap<Integer, Category>();
2000 idToCategory.put(status.getID(), status);
2011 private Category(Integer
id, String name, String displayName) {
2014 this.displayName = displayName;
2025 return idToCategory.get(
id);
2065 private final Integer id;
2066 private final String name;
2067 private final String displayName;
2068 private final static Map<Integer, ReviewStatus> idToStatus =
new HashMap<Integer, ReviewStatus>();
2072 idToStatus.put(status.getID(), status);
2084 private ReviewStatus(Integer
id, String name, String displayNameKey) {
2087 this.displayName = ResourceBundle.getBundle(
"org.sleuthkit.datamodel.Bundle").getString(displayNameKey);
2098 return idToStatus.get(
id);
2151 protected BlackboardArtifact(
SleuthkitCase sleuthkitCase,
long artifactID,
long objID,
long artifactObjID,
long dataSourceObjId,
int artifactTypeID, String artifactTypeName, String displayName) {
2152 this(sleuthkitCase, artifactID, objID, artifactObjID, dataSourceObjId, artifactTypeID, artifactTypeName, displayName,
ReviewStatus.
UNDECIDED);
2171 if (loadedCacheFromDb ==
false) {
2174 attrsCache.addAll(attrs);
2175 loadedCacheFromDb =
true;
2177 ArrayList<BlackboardAttribute> filteredAttributes =
new ArrayList<BlackboardAttribute>();
2179 if (attr.getAttributeType().getTypeID() == attributeType.getTypeID()) {
2180 filteredAttributes.add(attr);
2183 return filteredAttributes;
2188 return this.artifactObjId;
2201 List<Long> childrenIDs =
new ArrayList<Long>();
2203 childrenIDs.addAll(
getSleuthkitCase().getBlackboardArtifactChildrenIds(
this));
2210 if (childrenCount != -1) {
2211 return childrenCount;
2216 hasChildren = childrenCount > 0;
2217 checkedHasChildren =
true;
2219 return childrenCount;
2224 if (checkedHasChildren ==
true) {
2230 hasChildren = childrenCount > 0;
2231 checkedHasChildren =
true;
2246 List<Content> children =
new ArrayList<>();
static ARTIFACT_TYPE fromID(int id)
static final Type TSK_GPS_LAST_KNOWN_LOCATION
long getAllArtifactsCount()
ArrayList< BlackboardArtifact > getArtifacts(int artifactTypeID)
ArrayList< BlackboardAttribute > getBlackboardAttributes(final BlackboardArtifact artifact)
static ARTIFACT_TYPE fromLabel(String label)
static final Type TSK_WEB_DOWNLOAD
static final Type TSK_SPEED_DIAL_ENTRY
static final Type TSK_CLIPBOARD_CONTENT
DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection< BlackboardAttribute > attributesList, Long osAccountId)
void addBlackboardAttributes(Collection< BlackboardAttribute > attributes, int artifactTypeId)
CaseDbTransaction beginTransaction()
static final Type TSK_INSTALLED_PROG
static final Type TSK_WEB_ACCOUNT_TYPE
static final Type TSK_SCREEN_SHOTS
static final Type TSK_RECENT_OBJECT
static final Type TSK_SIM_ATTACHED
static final Type TSK_METADATA
Blackboard getBlackboard()
static final Type TSK_KEYWORD_HIT
static Category fromID(int id)
String getArtifactTypeName()
void addAttributes(Collection< BlackboardAttribute > attributes)
static final Type TSK_GPS_ROUTE
void addBlackboardAttribute(BlackboardAttribute attr, int artifactTypeId)
static final Type TSK_TL_EVENT
List< BlackboardAttribute > getAttributes(final BlackboardAttribute.ATTRIBUTE_TYPE attributeType)
static final Type TSK_WEB_HISTORY
static final Type TSK_DATA_SOURCE_USAGE
static final Type TSK_SERVICE_ACCOUNT
static final Type TSK_INTERESTING_ARTIFACT_HIT
static final Type TSK_DEVICE_ATTACHED
static final Type TSK_CALENDAR_ENTRY
static final Type TSK_OBJECT_DETECTED
long getArtifactsCount(int artifactTypeID)
Content getContentById(long id)
BlackboardArtifact getGenInfoArtifact()
static final Type TSK_WEB_CATEGORIZATION
static final Type TSK_EXT_MISMATCH_DETECTED
static final Type TSK_DELETED_PROG
final int read(byte[] buf, long offset, long len)
String getShortDescription()
SleuthkitCase getSleuthkitCase()
static final Type TSK_GPS_AREA
void addAttribute(BlackboardAttribute attribute)
boolean equals(Object object)
ReviewStatus getReviewStatus()
List< AnalysisResult > getAnalysisResults(long sourceObjId)
BlackboardArtifact.Type getType()
ArrayList< BlackboardArtifact > getArtifacts(BlackboardArtifact.ARTIFACT_TYPE type)
static final Type TSK_GPS_BOOKMARK
List< AnalysisResult > getAllAnalysisResults()
AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, Score score, String conclusion, String configuration, String justification, Collection< BlackboardAttribute > attributesList)
Set< String > getHashSetNames()
static final Type TSK_ENCRYPTION_DETECTED
static final Type TSK_BACKUP_EVENT
static final Type TSK_PROG_RUN
public< T > T accept(SleuthkitItemVisitor< T > visitor)
void addAttributes(Collection< BlackboardAttribute > attributes, final SleuthkitCase.CaseDbTransaction caseDbTransaction)
static final Type TSK_USER_DEVICE_EVENT
String getDisplayString()
BlackboardArtifact newArtifact(int artifactTypeID)
static final Type TSK_VERIFICATION_FAILED
static final Type TSK_REMOTE_DRIVE
static final Type TSK_YARA_HIT
static final Type TSK_GPS_SEARCH
BlackboardAttribute getAttribute(BlackboardAttribute.Type attributeType)
static final Type TSK_ACCOUNT
static final Type TSK_WEB_FORM_AUTOFILL
List< Long > getChildrenIds()
static final Type TSK_WEB_CACHE
static final Type TSK_WEB_FORM_ADDRESS
long getArtifactsCount(String artifactTypeName)
static final Type TSK_CALLLOG
static final Type TSK_EXTRACTED_TEXT
List< AnalysisResult > getAnalysisResults(BlackboardArtifact.Type artifactType)
static final Type TSK_METADATA_EXIF
BlackboardArtifact getGenInfoArtifact(boolean create)
BlackboardArtifact.Type getArtifactType(String artTypeName)
static final Type TSK_BLUETOOTH_PAIRING
static final Type TSK_GEN_INFO
List< DataArtifact > getAllDataArtifacts()
BlackboardAttribute.Type getAttributeType()
static final Type TSK_DEVICE_INFO
static final Type TSK_USER_CONTENT_SUSPECTED
AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, Score score, String conclusion, String configuration, String justification, Collection< BlackboardAttribute > attributesList, long dataSourceId)
ArrayList< BlackboardArtifact > getArtifacts(String artifactTypeName)
Score getAggregateScore()
static final Type TSK_CONTACT
List< BlackboardAttribute > getAttributes()
BlackboardArtifact(SleuthkitCase sleuthkitCase, long artifactID, long objID, long artifactObjID, long dataSourceObjId, int artifactTypeID, String artifactTypeName, String displayName)
List< Content > getChildren()
static final Type TSK_HASHSET_HIT
AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, long objId, Long dataSourceObjId, Score score, String conclusion, String configuration, String justification, Collection< BlackboardAttribute > attributesList)
static final Type TSK_WEB_SEARCH_QUERY
static final Type TSK_WIFI_NETWORK_ADAPTER
static final Type TSK_PROG_NOTIFICATIONS
boolean equals(Object that)
static final Type TSK_WEB_BOOKMARK
DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection< BlackboardAttribute > attributesList, Long osAccountId, long dataSourceId)
static final Type TSK_ASSOCIATED_OBJECT
ArrayList< BlackboardArtifact > getAllArtifacts()
static final Type TSK_EMAIL_MSG
void setReviewStatus(ReviewStatus newStatus)
long getArtifactsCount(BlackboardArtifact.ARTIFACT_TYPE type)
static final Type TSK_WEB_COOKIE
static final Type TSK_GPS_TRACK
DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection< BlackboardAttribute > attributesList)
static final Type TSK_OS_INFO
static final Type TSK_WIFI_NETWORK
ArrayList< BlackboardAttribute > getGenInfoAttributes(BlackboardAttribute.ATTRIBUTE_TYPE attr_type)
static ReviewStatus withID(int id)
static final Type TSK_MESSAGE
static final Type TSK_FACE_DETECTED
static final Type TSK_BLUETOOTH_ADAPTER
Score getAggregateScore(long objId)
static final Type TSK_ENCRYPTION_SUSPECTED
ScoringManager getScoringManager()
static final Type TSK_INTERESTING_FILE_HIT
BlackboardArtifact newArtifact(BlackboardArtifact.ARTIFACT_TYPE type)
void setReviewStatus(BlackboardArtifact artifact, BlackboardArtifact.ReviewStatus newStatus)