Skip to content

Commit

Permalink
Merge pull request #533 from G0ldenGunSec/master
Browse files Browse the repository at this point in the history
Constrained Delegation Edge Fix
  • Loading branch information
rvazarkar authored Mar 31, 2022
2 parents b47916f + c99acc3 commit d8da698
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/newingestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function buildComputerJsonNew(chunk) {
format = [LABEL_COMPUTER, LABEL_COMPUTER, EDGE_ALLOWED_TO_DELEGATE, NON_ACL_PROPS];

let props = allowedToDelegate.map((delegate) => {
return { source: identifier, target: delegate };
return { source: identifier, target: delegate.ObjectIdentifier };
});

insertNew(queries, format, props);
Expand Down Expand Up @@ -225,7 +225,7 @@ export function buildUserJsonNew(chunk) {

format = [LABEL_USER, LABEL_COMPUTER, EDGE_ALLOWED_TO_DELEGATE, NON_ACL_PROPS];
let props = allowedToDelegate.map((principal) => {
return { source: identifier, target: principal };
return { source: identifier, target: principal.ObjectIdentifier };
});

insertNew(queries, format, props);
Expand Down Expand Up @@ -1613,4 +1613,4 @@ export function buildAzureCloudApplicationAdmins(chunk) {
}

return queries;
}
}

0 comments on commit d8da698

Please sign in to comment.