Skip to content

Commit

Permalink
Elevate DomainSid and IsDomainController properties to Computer model
Browse files Browse the repository at this point in the history
  • Loading branch information
definitelynotagoblin committed Jan 18, 2024
1 parent e5f03e7 commit 4651320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CommonLib/OutputTypes/Computer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace SharpHoundCommonLib.OutputTypes
public class Computer : OutputBase
{
public string PrimaryGroupSID { get; set; }
public string DomainSid { get; set; }
public TypedPrincipal[] AllowedToDelegate { get; set; } = Array.Empty<TypedPrincipal>();
public TypedPrincipal[] AllowedToAct { get; set; } = Array.Empty<TypedPrincipal>();
public TypedPrincipal[] HasSIDHistory { get; set; } = Array.Empty<TypedPrincipal>();
Expand All @@ -19,6 +20,7 @@ public class Computer : OutputBase
public UserRightsAssignmentAPIResult[] UserRights { get; set; } = Array.Empty<UserRightsAssignmentAPIResult>();
public DCRegistryData DCRegistryData { get; set; } = new();
public ComputerStatus Status { get; set; }
public bool IsDomainController { get; set; }
}

public class DCRegistryData
Expand Down

0 comments on commit 4651320

Please sign in to comment.