Merge "Clean up documentation on introspection rules conditions"
This commit is contained in:
commit
003a321566
@ -61,11 +61,15 @@ Conditions
|
|||||||
|
|
||||||
A condition is represented by an object with fields:
|
A condition is represented by an object with fields:
|
||||||
|
|
||||||
``op`` the type of comparison operation, default available operators include :
|
``op`` the type of comparison operation, default available operators include:
|
||||||
``eq``, ``le``, ``ge``, ``ne``, ``lt``, ``gt`` (basic comparison operators),
|
|
||||||
``in-net`` (checks that IP address is in a given network), ``contains``,
|
* ``eq``, ``le``, ``ge``, ``ne``, ``lt``, ``gt`` - basic comparison operators;
|
||||||
``matches`` (check field against a regular expression, matches require a full
|
|
||||||
match).
|
* ``in-net`` - checks that an IP address is in a given network;
|
||||||
|
|
||||||
|
* ``matches`` - requires a full match against a given regular expression;
|
||||||
|
|
||||||
|
* ``contains`` - requires a value to contain a given regular expression.
|
||||||
|
|
||||||
``field`` a `JSON path <http://goessner.net/articles/JsonPath/>`_ to the field
|
``field`` a `JSON path <http://goessner.net/articles/JsonPath/>`_ to the field
|
||||||
in the introspection data to use in comparison.
|
in the introspection data to use in comparison.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user