Skip to content

Commit

Permalink
Update bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/int…
Browse files Browse the repository at this point in the history
…ernal/WindowsDefenderConfigurator.java

Co-authored-by: Hannes Wellmann <[email protected]>
  • Loading branch information
sratz and HannesWell authored Oct 27, 2024
1 parent 4844dc4 commit 4b00b26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private static boolean isWindowsDefenderActive(IProgressMonitor monitor) throws
// Known values as listed in
// https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/microsoft-defender-antivirus-windows#use-powershell-to-check-the-status-of-microsoft-defender-antivirus
// "not running" status appears to be undocumented (https://github.com/eclipse-platform/eclipse.platform.ui/issues/2447)
case "sxs passive mode", "passive mode", "not running", "" -> false; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
case "sxs passive mode", "passive mode", "not running", "" -> false; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
case "normal", "edr block mode" -> true; //$NON-NLS-1$//$NON-NLS-2$
default -> throw new IOException("Process terminated with unexpected result:\n" + String.join("\n", lines)); //$NON-NLS-1$//$NON-NLS-2$
};
Expand Down

0 comments on commit 4b00b26

Please sign in to comment.