Merge "Clean up documentation on introspection rules conditions"

This commit is contained in:
Jenkins 2016-02-11 10:29:19 +00:00 committed by Gerrit Code Review
commit 003a321566

View File

@ -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.