Skip to content

Commit e0de762

Browse files
authored
Merge pull request #2638 from AruneemaXD/AruneemaXD-patch-5
Update linux-exclusions.md
2 parents ed4b546 + 3d8abcb commit e0de762

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

defender-endpoint/linux-exclusions.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Examples:
175175
Extension exclusion removed successfully
176176
```
177177

178-
- Add/Remove an exclusion for a file *(File path should already be present in case of adding or removing exclusion with global scope)* :
178+
- Add or Remove an exclusion for a file *(File path should already be present in case of adding or removing exclusion with global scope)*:
179179

180180
```bash
181181
mdatp exclusion file add --path /var/log/dummy.log --scope epp
@@ -209,7 +209,7 @@ Examples:
209209
File exclusion removed successfully"
210210
```
211211

212-
- Add/Remove an exclusion for a folder:
212+
- Add or Remove an exclusion for a folder:
213213

214214
```bash
215215
mdatp exclusion folder add --path /var/log/ --scope epp
@@ -285,23 +285,27 @@ Examples:
285285
- Add an exclusion for a process:
286286
287287
```bash
288-
mdatp exclusion process add --name /usr/bin/cat --scope global
288+
mdatp exclusion process add --path /usr/bin/cat --scope global
289289
```
290290
291291
```console
292292
Process exclusion configured successfully
293293
```
294294
295295
```bash
296-
mdatp exclusion process remove --name /usr/bin/cat --scope global
296+
mdatp exclusion process remove --path /usr/bin/cat --scope global
297297
```
298+
299+
> [!NOTE]
300+
> Only full path is supported for setting process exclusion with `global` scope.
301+
> Use only `--path` flag
298302
299303
```console
300304
Process exclusion removed successfully
301305
```
302306
303307
```bash
304-
mdatp exclusion process add --name /usr/bin/cat --scope epp
308+
mdatp exclusion process add --name cat --scope epp
305309
```
306310
307311
```console
@@ -310,7 +314,7 @@ Examples:
310314
311315
312316
```bash
313-
mdatp exclusion process remove --name /usr/bin/cat --scope epp
317+
mdatp exclusion process remove --name cat --scope epp
314318
```
315319
316320
```console
@@ -321,15 +325,13 @@ Examples:
321325
322326
```bash
323327
mdatp exclusion process add --name cat --scope epp
324-
mdatp exclusion process add --name /usr/bin/dog --scope global
328+
mdatp exclusion process add --path /usr/bin/dog --scope global
325329
```
326330
327331
```console
328332
Process exclusion configured successfully
329333
```
330334
331-
> [!NOTE]
332-
> Use full path for process exclusion with `global` scope.
333335
334336
## Validate exclusions lists with the EICAR test file
335337

0 commit comments

Comments
 (0)