microsoft / ARI

Azure Resource Inventory - It's a Powerful tool to create EXCEL inventory from Azure Resources with low effort
MIT License
1.12k stars 397 forks source link

AntiVirus (Defender) blocking AzureResourceInventory.ps1 #209

Closed miked1903 closed 2 months ago

miked1903 commented 2 months ago

From the release of v3.1.22, onwards I receive the following

If I do a global remove of the change from 3,1,21, removing "(get-date -Format 'yyyy-MM-dd_HH_mm_ss')+' - '+" . The script will run as expected.

Does anybody else see this issue?

Claudio-Merola commented 2 months ago

Hello, this is very odd. I really don't see why the AV would complain of date formatting at all.

anyway, I just released the version 3.5 of ARI and since we changed a lot of how the script works (it's no longer a script, but a Powershell Module) and we completely remove the need of az cli as we changed 100% to powershell. This might have changed the previous behavior.

Do you mind and give a try to new version so we can validate how the AV will behave with this version?

Thanks

miked1903 commented 2 months ago

Hello Claudio, tested and working. And a few bugs I had noted have been corrected too.

thank you for prompt response