@@ -21,12 +21,13 @@ To detect the existance of you can use the following keys. If all found detect e
...
@@ -21,12 +21,13 @@ To detect the existance of you can use the following keys. If all found detect e
| Key | Type | Description |
| Key | Type | Description |
|--- |--- |--- |
|--- |--- |--- |
| binary | string | Binary that must be found in path. Use comma to separate multiple binaries.
| file[] | string | full path of a file. It must match "type". It can be given multiple times.
| file[] | string | full path of a file. It must match "type". It can be given multiple times.
| process | regex | A binary to be matched in the process list
| process | regex | A binary to be matched in the process list
| tcp | integer | A tcp port number that must match
| tcp | integer | A tcp port number that must be in use
| tcp-process | regex | A process name offering the local tcp port (regex for last column in netstat -tulpen)
| tcp-process | regex | A process name offering the local tcp port (regex for last column in `netstat -tulpen`). If process names can differ depending on an os use a pipe to set alternatives eg `postgres|postmaster`
| tcp-target | string | A hostname for tcp port check, eg localhost
| tcp-target | string | A hostname for tcp port check, eg localhost
| type | regex | a matching regex for file -b FILE | grep -i REGEX; see "file[]"
| type | regex | a matching regex for `file -b FILE | grep -i REGEX; see "file[]"`