-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Describe the bug
The error is at the upload data at the GUI version of the latest 4.3.1 BloodHound. It seems that when i am uploading a json that was collected using Azure BloodHound collector - a reproduction is attached (anonymized numbers), this leads to the crash - bundle.js:85 TypeError: Cannot read property 'some' of undefined
Possibly there is no good processing for AZKeyVaultAccessPolicy , specially when the property "key" is missing ( for some AZKeyVaultAccessPolicy cases it may be missing)
{ "data": [ { "kind": "AZKeyVaultAccessPolicy", "data": { "objectId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "permissions": { "certificates": [ "Get" ], "secrets": [ "Get" ] }, "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "keyVaultId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/azrgnpservices01/providers/Microsoft.KeyVault/vaults/azkvnpservices01" } } ], "meta": { "type": "azure", "version": 5, "count": 1 } }
Same error will exists if any of the other fields like certificates will be missing - which is possible
