Process¶
Summary
Matches while a process with the given name exists or does not exist. The name is compared with a match type.
Example¶
Options¶
| Option | Default | Description |
|---|---|---|
name |
required | Name of the process to check. |
exists |
required | Whether the process is expected to exist (true) or not (false). |
match |
exact, case-sensitive | How the name is matched, see Match Types. |
Details¶
- Process names usually differ between platforms (e.g.
firefox.exeon Windows,firefoxon Linux and macOS). Use acontainsorregexmatch to write one policy for several platforms.
Related¶
-
Continuous evaluation and
--dry-run. -
Run commands when a rule matches.
-
Detect modifications of policies and scripts.