Skip to content

Commit 6683f41

Browse files
committed
Learn Editor: Update validate-antimalware.md
1 parent 5a9fdd6 commit 6683f41

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

defender-endpoint/validate-antimalware.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,31 +59,29 @@ Run an AV detection test to verify that the device is properly onboarded and rep
5959

6060
### Linux/macOS
6161

62-
1. Ensure that real-time protection is enabled (denoted by a result of 1 from running the following command):
62+
1. Ensure that real-time protection is enabled (denoted by a result of "true" from running the following command):
6363

64-
```bash
65-
mdatp health --field real_time_protection_enabled
66-
```
64+
```bash
65+
mdatp health --field real_time_protection_enabled
66+
```
6767

68-
1. Open a Terminal window. Copy and execute the following command:
68+
2. Open a Terminal window. Copy and execute the following command:
6969

70-
71-
Linux
7270

71+
Linux
7372

7473
```bash
75-
curl -o ~/tmp/eicar.com.txt https://secure.eicar.org/eicar.com.txt
74+
```bash
75+
curl -o eicar.com.txt https://secure.eicar.org/eicar.com.txt
7676
```
77+
```macOS
7778
78-
macOS
79-
80-
79+
```
8180
```bash
8281
curl -o ~/Downloads/eicar.com.txt https://secure.eicar.org/eicar.com.txt
8382
```
83+
```3. Execute the following command and verify the file has been quarantined by Defender for Endpoint. The command will list all detected threats:
8484
85-
3. The file has been quarantined by Defender for Endpoint on Mac. Use the following command to list all the detected threats:
86-
87-
```bash
88-
mdatp threat list
89-
```
85+
```bash
86+
mdatp threat list
87+
```

0 commit comments

Comments
 (0)