Skip to content

Commit 11994cd

Browse files
chore: Configure ProcessACL for async enumerable ACE collection (#220)
* fix: Configure ProcessACL for async enumerable ACE collection * fix: yield break on Overflow exception in ProcessACLf * chore: Disabling very very noisy ProcessACL log message
1 parent f27ae9a commit 11994cd

File tree

3 files changed

+373
-374
lines changed

3 files changed

+373
-374
lines changed

src/CommonLib/OutputTypes/ACE.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ public class ACE {
77
public string RightName { get; set; }
88
public bool IsInherited { get; set; }
99
public string InheritanceHash { get; set; }
10+
public bool IsPermissionForOwnerRightsSid {get; set; }
11+
public bool IsInheritedPermissionForOwnerRightsSid { get; set; }
1012

1113
public override string ToString() {
1214
return $"{PrincipalType} {PrincipalSID} - {RightName} {(IsInherited ? "" : "Not")} Inherited";

src/CommonLib/OutputTypes/OutputBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace SharpHoundCommonLib.OutputTypes
99
public class OutputBase
1010
{
1111
public Dictionary<string, object> Properties = new();
12-
public ACE[] Aces { get; set; } = Array.Empty<ACE>();
12+
public IEnumerable<ACE> Aces { get; set; } = Array.Empty<ACE>();
1313
public string ObjectIdentifier { get; set; }
1414
public bool IsDeleted { get; set; }
1515
public bool IsACLProtected { get; set; }

0 commit comments

Comments
 (0)