Mazars-Tech / AD_Miner

AD Miner is an Active Directory audit tool that leverages cypher queries to crunch data from the #Bloodhound graph database to uncover security weaknesses
GNU General Public License v3.0
1.09k stars 110 forks source link

Adding Azurehound data to bloodhound result in a crash of the tool #120

Closed AdrienIT closed 7 months ago

AdrienIT commented 7 months ago

Describe the bug After adding data dumped from Azurehound, relaunching the tool with no cache (fresh start) will result in the following error

Terminal Output

Traceback (most recent call last):
  File "/home/adrien/.local/bin/AD-miner", line 8, in <module>
    sys.exit(main())
  File "/home/adrien/.local/pipx/venvs/ad-miner/lib/python3.9/site-packages/ad_miner/__main__.py", line 186, in main
    azure = Azure(arguments, neo4j, domains)
  File "/home/adrien/.local/pipx/venvs/ad-miner/lib/python3.9/site-packages/ad_miner/sources/modules/azure.py", line 66, in __init__
    self.genAzureAdminsAndOnPrem()
  File "/home/adrien/.local/pipx/venvs/ad-miner/lib/python3.9/site-packages/ad_miner/sources/modules/azure.py", line 261, in genAzureAdminsAndOnPrem
    "Name": '<i class="bi bi-gem"></i> ' + user["Name"]
KeyError: 'Name'