You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2019. It is now read-only.
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : {"status":"CLIENT_ERROR","message":"None is not of type 'string'"}
At C:\Program Files\WindowsPowerShell\Modules\CyCLI\0.9.7\CyAPI.ps1:548 char:9
How do we change the status of a detection by detection rule name and command line.
The below command is not working, any help is much appreciated.
Get-CylanceDetections | where DetectionRuleName -like "SVC*" |Get-CylanceDetection |Get-CylanceArtifact| where commandline -like “msmpeng” | Update-CyDetection -Status 'False Positive'
Error:
Invoke-RestMethod : {"status":"CLIENT_ERROR","message":"None is not of type 'string'"}
At C:\Program Files\WindowsPowerShell\Modules\CyCLI\0.9.7\CyAPI.ps1:548 char:9