Skip to content

Commit

Permalink
#1728 Changes the name of the new owner properties extracted from the…
Browse files Browse the repository at this point in the history
… file system.
  • Loading branch information
hauck-jvsh committed Jun 26, 2023
1 parent a6e296d commit 533de36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions iped-api/src/main/java/iped/properties/ExtraProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ public class ExtraProperties {

public static final String FACE_ENCODINGS = "face_encodings";

public static final String OWNER_SID = "ownerSID";
public static final String OWNER_ID = "fs:ownerID";

public static final String OWNER_LOGIN = "ownerLogin";
public static final String OWNER_LOGIN = "fs:ownerLogin";

public static final String OWNER_FULL_NAME = "ownerFullName";
public static final String OWNER_FULL_NAME = "fs:ownerFullName";

public static final List<String> COMMUNICATION_BASIC_PROPS = Arrays.asList(MESSAGE_SUBJECT, COMMUNICATION_DATE.getName(),
MESSAGE_BODY, COMMUNICATION_FROM, COMMUNICATION_TO, Message.MESSAGE_CC, Message.MESSAGE_BCC,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ private IItem addItem(AbstractFile absFile, Item evidence, boolean unalloc) thro
}

if (absFile.getOwnerUid().isPresent()) {
evidence.setExtraAttribute(ExtraProperties.OWNER_SID, absFile.getOwnerUid().get());
evidence.setExtraAttribute(ExtraProperties.OWNER_ID, absFile.getOwnerUid().get());
}
if (absFile.getOsAccountObjectId().isPresent()) {
OsAccount user = sleuthCase.getOsAccountManager()
Expand Down

0 comments on commit 533de36

Please sign in to comment.