From 32a6cff380fb52a49bf6c190ac0299e965eb69cb Mon Sep 17 00:00:00 2001 From: apriestman <apriestman@basistech.com> Date: Thu, 29 Jul 2021 12:00:42 -0400 Subject: [PATCH] Add TSK_OTHER_CASES attribute --- .../src/org/sleuthkit/datamodel/BlackboardAttribute.java | 7 ++++++- .../java/src/org/sleuthkit/datamodel/Bundle.properties | 1 + .../src/org/sleuthkit/datamodel/Bundle.properties-MERGED | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bindings/java/src/org/sleuthkit/datamodel/BlackboardAttribute.java b/bindings/java/src/org/sleuthkit/datamodel/BlackboardAttribute.java index 969c283d1..508c45bd7 100755 --- a/bindings/java/src/org/sleuthkit/datamodel/BlackboardAttribute.java +++ b/bindings/java/src/org/sleuthkit/datamodel/BlackboardAttribute.java @@ -611,6 +611,7 @@ public static final class Type implements Serializable { public static final Type TSK_IS_ADMIN = new Type(156, "TSK_IS_ADMIN", bundle.getString("BlackboardAttribute.tskIsAdmin.text"), TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER); public static final Type TSK_CORRELATION_TYPE = new Type(157, "TSK_CORRELATION_TYPE", bundle.getString("BlackboardAttribute.tskCorrelationType.text"), TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING); public static final Type TSK_CORRELATION_VALUE = new Type(158, "TSK_CORRELATION_VALUE", bundle.getString("BlackboardAttribute.tskCorrelationValue.text"), TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING); + public static final Type TSK_OTHER_CASES = new Type(159, "TSK_OTHER_CASES", bundle.getString("BlackboardAttribute.tskOtherCases.text"), TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING); // NOTE: When adding a new standard BlackboardAttribute.Type, add the instance and then add to the STANDARD_TYPES list. /** @@ -766,7 +767,8 @@ public static final class Type implements Serializable { TSK_HOME_DIR, TSK_IS_ADMIN, TSK_CORRELATION_TYPE, - TSK_CORRELATION_VALUE + TSK_CORRELATION_VALUE, + TSK_OTHER_CASES )); private static final long serialVersionUID = 1L; @@ -1540,6 +1542,9 @@ public enum ATTRIBUTE_TYPE { TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING), TSK_CORRELATION_VALUE(158, "TSK_CORRELATION_VALUE", bundle.getString("BlackboardAttribute.tskCorrelationValue.text"), + TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING), + TSK_OTHER_CASES(159, "TSK_OTHER_CASES", + bundle.getString("BlackboardAttribute.tskOtherCases.text"), TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING),; private final int typeID; diff --git a/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties b/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties index a90f29655..19cb42b05 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties +++ b/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties @@ -220,6 +220,7 @@ BlackboardAttribute.tskHomeDir.text=Home Directory BlackboardAttribute.tskIsAdmin.text=Is Administrator BlackboardAttribute.tskCorrelationType.text=Correlation Type BlackboardAttribute.tskCorrelationValue.text=Correlation Value +BlackboardAttribute.tskOtherCases.text=Other Cases AbstractFile.readLocal.exception.msg4.text=Error reading local file\: {0} AbstractFile.readLocal.exception.msg1.text=Error reading local file, local path is not set AbstractFile.readLocal.exception.msg2.text=Error reading local file, it does not exist at local path\: {0} diff --git a/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties-MERGED b/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties-MERGED index a90f29655..19cb42b05 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties-MERGED +++ b/bindings/java/src/org/sleuthkit/datamodel/Bundle.properties-MERGED @@ -220,6 +220,7 @@ BlackboardAttribute.tskHomeDir.text=Home Directory BlackboardAttribute.tskIsAdmin.text=Is Administrator BlackboardAttribute.tskCorrelationType.text=Correlation Type BlackboardAttribute.tskCorrelationValue.text=Correlation Value +BlackboardAttribute.tskOtherCases.text=Other Cases AbstractFile.readLocal.exception.msg4.text=Error reading local file\: {0} AbstractFile.readLocal.exception.msg1.text=Error reading local file, local path is not set AbstractFile.readLocal.exception.msg2.text=Error reading local file, it does not exist at local path\: {0} -- GitLab