Skip to content

Commit 20d6e31

Browse files
committed
Add info log message to get the raw info of the found entra id related accounts
1 parent d56be12 commit 20d6e31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nxc/modules/entra-id.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ def on_login(self, context, connection):
3030
searchFilter="(sAMAccountName=MSOL_*)",
3131
attributes=["sAMAccountName", "cn", "description"],
3232
))
33+
self.context.log.info(f"Found the following MSOL accounts: {msol_parsed}")
3334
adsync_parsed = parse_result_attributes(connection.search(
3435
searchFilter="(sAMAccountName=ADSyncMSA*)",
3536
attributes=["sAMAccountName", "cn", "msDS-HostServiceAccountBL"],
3637
))
38+
self.context.log.info(f"Found the following ADSyncMSA accounts: {adsync_parsed}")
3739

3840
hosts = []
3941
for acc in msol_parsed:

0 commit comments

Comments
 (0)