Skip to content

Commit 90f1bf1

Browse files
committed
Update linux-exclusions.md
1 parent aff741f commit 90f1bf1

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

defender-endpoint/linux-exclusions.md

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -328,44 +328,45 @@ The previous command excludes all paths whose parent is `*/var/*`, such as `*/va
328328
Folder exclusion configured successfully
329329
```
330330

331-
- Add an exclusion for a process:
331+
#### Example 6: Add an exclusion for a process
332332

333-
```bash
334-
mdatp exclusion process add --path /usr/bin/cat --scope global
335-
```
333+
You can add an exclusion for a process.
336334

337-
```console
338-
Process exclusion configured successfully
339-
```
335+
```bash
336+
mdatp exclusion process add --path /usr/bin/cat --scope global
337+
```
340338

341-
```bash
342-
mdatp exclusion process remove --path /usr/bin/cat --scope global
343-
```
344-
345-
> [!NOTE]
346-
> Only full path is supported for setting process exclusion with `global` scope.
347-
> Use only `--path` flag
339+
```console
340+
Process exclusion configured successfully
341+
```
348342

349-
```console
350-
Process exclusion removed successfully
351-
```
343+
```bash
344+
mdatp exclusion process remove --path /usr/bin/cat --scope global
345+
```
346+
347+
> [!NOTE]
348+
> Only full path is supported for setting process exclusion with `global` scope.
349+
> Use only `--path` flag
352350
353-
```bash
354-
mdatp exclusion process add --name cat --scope epp
355-
```
351+
```console
352+
Process exclusion removed successfully
353+
```
356354

357-
```console
358-
Process exclusion configured successfully
359-
```
355+
```bash
356+
mdatp exclusion process add --name cat --scope epp
357+
```
360358

359+
```console
360+
Process exclusion configured successfully
361+
```
361362

362-
```bash
363-
mdatp exclusion process remove --name cat --scope epp
364-
```
363+
```bash
364+
mdatp exclusion process remove --name cat --scope epp
365+
```
365366

366-
```console
367-
Process exclusion removed successfully
368-
```
367+
```console
368+
Process exclusion removed successfully
369+
```
369370

370371
- Add an exclusion for a second process:
371372

0 commit comments

Comments
 (0)