Skip to content

Commit

Permalink
Added Foreign-Security-Principals to "Everyone" and "Authenticated Us…
Browse files Browse the repository at this point in the history
…ers" groups
  • Loading branch information
lkarlslund committed Dec 30, 2021
1 parent 10966c7 commit 822840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/integrations/activedirectory/analyze/analyze-ad.go
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ func init() {
}

// Crude special handling for Everyone and Authenticated Users
if object.Type() == engine.ObjectTypeUser || object.Type() == engine.ObjectTypeComputer || object.Type() == engine.ObjectTypeManagedServiceAccount {
if object.Type() == engine.ObjectTypeUser || object.Type() == engine.ObjectTypeComputer || object.Type() == engine.ObjectTypeManagedServiceAccount || object.Type() == engine.ObjectTypeForeignSecurityPrincipal {
everyone.AddMember(object)
authenticatedusers.AddMember(object)
}
Expand Down

0 comments on commit 822840a

Please sign in to comment.