@@ -328,44 +328,45 @@ The previous command excludes all paths whose parent is `*/var/*`, such as `*/va
328
328
Folder exclusion configured successfully
329
329
```
330
330
331
- - Add an exclusion for a process:
331
+ #### Example 6: Add an exclusion for a process
332
332
333
- ``` bash
334
- mdatp exclusion process add --path /usr/bin/cat --scope global
335
- ```
333
+ You can add an exclusion for a process.
336
334
337
- ` ` ` console
338
- Process exclusion configured successfully
339
- ` ` `
335
+ ``` bash
336
+ mdatp exclusion process add --path /usr/bin/cat --scope global
337
+ ```
340
338
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
+ ```
348
342
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
352
350
353
- ` ` ` bash
354
- mdatp exclusion process add --name cat --scope epp
355
- ` ` `
351
+ ``` console
352
+ Process exclusion removed successfully
353
+ ```
356
354
357
- ` ` ` console
358
- Process exclusion configured successfully
359
- ` ` `
355
+ ``` bash
356
+ mdatp exclusion process add --name cat --scope epp
357
+ ```
360
358
359
+ ``` console
360
+ Process exclusion configured successfully
361
+ ```
361
362
362
- ` ` ` bash
363
- mdatp exclusion process remove --name cat --scope epp
364
- ` ` `
363
+ ``` bash
364
+ mdatp exclusion process remove --name cat --scope epp
365
+ ```
365
366
366
- ` ` ` console
367
- Process exclusion removed successfully
368
- ` ` `
367
+ ``` console
368
+ Process exclusion removed successfully
369
+ ```
369
370
370
371
- Add an exclusion for a second process:
371
372
0 commit comments