config: allow matching on client tag
This commit is contained in:
parent
596909cd25
commit
8b19315f50
13 changed files with 76 additions and 8 deletions
|
|
@ -742,6 +742,14 @@
|
|||
"exe-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the `/proc/pid/exe` of the client with a regular expression."
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"description": "Matches the tag of the client verbatim."
|
||||
},
|
||||
"tag-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the tag of the client with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -1242,6 +1242,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `tag` (optional):
|
||||
|
||||
Matches the tag of the client verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `tag-regex` (optional):
|
||||
|
||||
Matches the tag of the client with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-ClientMatchExactly"></a>
|
||||
### `ClientMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3823,6 +3823,14 @@ ClientMatch:
|
|||
kind: string
|
||||
required: false
|
||||
description: Matches the `/proc/pid/exe` of the client with a regular expression.
|
||||
tag:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the tag of the client verbatim.
|
||||
tag-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the tag of the client with a regular expression.
|
||||
|
||||
|
||||
ClientMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue