Skoči na vsebino

Metarule condition

Availability of the condition

A metarule inherits the requirements of the conditions it combines: its availability is that of its components, assembled by its operator.

A metarule combines several existing conditions with an AND or an OR. It is the only way to express a compound requirement, conditions attached to a contract being otherwise evaluated independently.

Use cases

A metarule allows two statements that are not possible otherwise:

  • AND: "from the internal network and during business hours". Both criteria must hold together.
  • OR: "from the internal network or with a security key". This form allows opening remote access on condition that it be better authenticated: one compensates for the other.

Without a metarule, attaching two separate conditions would require both: OR only exists through it.

Both operators combine by nesting metarules. This is how different checks depending on the workstation's system are applied: an OR metarule groups two AND metarules, one combining an operating system condition "Windows" with the checks suited to Windows (antivirus, firewall, Windows Security Center…), the other combining "macOS" with the checks suited to macOS. Each workstation is checked against what applies to its system.

Construction

Choose the operator (AND by default), then drag at least two existing conditions from the left column to the right one. The combined conditions must therefore be created first.

Propagation of "client required"

A metarule inherits the requirements of what it combines. Bringing in a condition that assumes the client is installed (antivirus, system, MD5) makes the whole thing dependent on the client:

  • with AND, the metarule becomes not valid as soon as the client is missing;
  • with OR, it remains evaluable through its other branches, which allows "managed workstation or stronger authentication" to be written.

Limits

  • Two conditions minimum.
  • A metarule cannot reference itself, nor a metarule already present in its own hierarchy: cycles are refused.
  • The operator is single for the whole metarule: there is no bracketing, hence no "A and (B or C)" in one object. Such an expression requires nesting one metarule inside another.

The details of the fields are in the module reference.