Skip to content

Commit

Permalink
sidHistory attribute decoded as SID
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Apr 18, 2022
1 parent 367f080 commit 093e807
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/integrations/activedirectory/rawobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ func EncodeAttributeData(attribute engine.Attribute, values []string) engine.Att
}
case ObjectCategory:
attributevalue = engine.AttributeValueString(value)
case ObjectSid:
case ObjectSid, SIDHistory:
attributevalue = engine.AttributeValueSID(value)
fallthrough
default:
// Just use string encoding
if intval, err := strconv.ParseInt(value, 10, 64); err == nil {
Expand Down

0 comments on commit 093e807

Please sign in to comment.