edits for linux exclusions

This commit is contained in:
Marty Hernandez Avedon 2020-09-23 13:01:56 -04:00
parent d71dde7786
commit 4134fce2dd

View File

@ -46,6 +46,9 @@ File | A specific file identified by the full path | `/var/log/test.log`<br/>`/v
Folder | All files under the specified folder (recursively) | `/var/log/`<br/>`/var/*/`
Process | A specific process (specified either by the full path or file name) and all files opened by it | `/bin/cat`<br/>`cat`<br/>`c?t`
> [!IMPORTANT]
> The paths above must be hard links, not symbolic links, in order to be successfully excluded. You can check if a path is a symbolic link by running `file <path-name>`.
File, folder, and process exclusions support the following wildcards:
Wildcard | Description | Example | Matches | Does not match
@ -104,6 +107,16 @@ Examples:
```bash
mdatp exclusion folder add --path "/var/*/"
```
> [!NOTE]
> This will only exclude paths one level below */var/*, but not folders which are more deeply nested; for example, */var/this-subfolder/but-not-this-subfolder*.
```bash
mdatp exclusion folder add --path "/var/"
```
> [!NOTE]
> This will exclude all paths whose parent is */var/*; for example, */var/this-subfolder/and-this-subfolder-as-well*.
```Output
Folder exclusion configured successfully
```