dataplat / dbops

⚙ dbops - Powershell module that provides continuous database deployments on any scale
MIT License
156 stars 39 forks source link

Import-module dbops is being blocked by security software. #160

Open AEaston99 opened 1 year ago

AEaston99 commented 1 year ago

Hello,

I was at SQLbits last week where they mentioned this as a good solution to what I need.

I plan on running this in a Dev-ops Pipeline. But I want to test on my machine.

However, My companies security software is blocking is as malware. I have reached out to our security team and they have confirmed it.

Obviously, this is false. However, what within the function could be causing this? So that I can justify an exception in the system. Additionally if you could provide a way around it.

nvarscar commented 1 year ago

Possibly related to https://github.com/dataplat/dbatools/issues/8241 Which AV software is causing this? What is the error that you see?

AEaston99 commented 1 year ago

It was carbon black that was blocking it. I recived this as the best error for now...

"The application pwsh.exe ran a script ....\Documents\PowerShell\Modules\PSFramework\1.7.270\PSFramework.psm1 that contains suspicious obfuscation techniques. This script contains highly suspicious obfuscated PowerShell code. A Deny policy action was applied."

nvarscar commented 1 year ago

Thanks for providing the details! Carbon Black seems to have an issue with the dependency module PSFramework. Here's a relevant issue to track: https://github.com/PowershellFrameworkCollective/psframework/issues/517