45. Appendix 4 – Attributes & Tokens

The columns from the tables listed below contain the following data:

Attribute is the left operand used in Response preconditions. In older Wanguard versions the term used was “Conditional Parameter”
Token is a placeholder that can be used as parameter or script argument in most Response actions because, at run-time, the software translates it into the requested value. Each token is defined within curly brackets. In older Wanguard versions the term used was “dynamic parameters”
Data Type shows the returned value type and which comparison operators are accepted by the Attribute:
String returns a variable-length string. It accepts the comparison operators:
equal to - it implies a perfect match without any differences. E.g. if the Attribute is “apple” and the Value is also “apple”, then equal to is true
not equal to - it implies any difference qualifies for this condition to be true. E.g. if the Attribute is “apple” and the Value is “orange”, then not equal to is true
includes - the “Value” can be a part or a segment of the “Attribute”. E.g. if the Attribute is “apple pie” and the Value is “apple”, then includes is true because “apple pie” contains “apple”
included in - is true if the “Value” contains the “Attribute” as a substring. This is the inverse relationship of includes. E.g. if the Attribute is “apple” and the Value is “apple pie”, then included in is true because “apple” is part of the larger string “apple pie”
excludes - is true if the “Attribute” does not contain the “Value” as a substring. This indicates the absence of the “Value” within the “Attribute”. E.g. if the Attribute is “apple pie” and the Value is “cherry”, then excludes is true because “apple pie” does not contain “cherry”
excluded from - is true if the “Value” does not contain the “Attribute” as a substring. This is the opposite of included in. E.g. if the Attribute is “cherry” and the Value is “apple pie”, then excluded from is true because “cherry” is not part of “apple pie”
regexp - is true when the “Attribute” matches the regular expression from “Value”. E.g. when “Value” is “[A-Z]”, the precondition is true only when the “Attribute” contains an upper-case letter
Integer returns a 64-bit unsigned integer number. It accepts the comparison operators:
equal to - is true when “Attribute” and “Value” are identical
not equal to - is true when “Attribute” and “Value” are not identical
greater than - is true when “Attribute” is larger than “Value”
less than - is true when “Attribute” is smaller than “Value”
divisible by - is true when “Attribute” can be divided by “Value” without leaving a remainder
Integer* accepts the same comparison operators as Integer. The values can be returned in multiples of 1,000 by appending “_kilo” to the token name. The same goes for 1,000,000 by appending “_mega” and for 1,000,000,000 by appending “_giga”. To return the value and the biggest multiplier (k, M, G) for the value, append “_prefix”. To also return the decoder before the biggest multiplier (k, M, G) value, append “_decoder_prefix”
Float returns an unsigned floating point number when the comparison operator is greater than or less than, or an unsigned integer when the comparison operator is equal to, not equal to or divisible by
Prefix returns a string containing a subnet or IP. It accepts the comparison operators equal to, not equal to, includes, included in, excludes and excluded from. The inclusion/exclusion operators compare prefixes, not strings
Description provides a short explanation of the parameter

45.6. System-Wide Tokens

Attribute

Token

Data Type

Description

Anomalies (all Sensors, Decoders, Prefixes)

{anomalies}

Integer

Returns the total number of active anomalies from any Sensor, Decoder (incl. Unit) or Prefix

Anomalies (same Sensor)

{anomalies_sensor}

Integer

Returns the total number active anomalies from the same Sensor

Anomalies (same Decoder)

{anomalies_decoder}

Integer

Returns the total number active anomalies from the same Decoder and Unit (pkts/s or bits/s)

Anomalies (same Sensor, Decoder)

{anomalies_sensor_decoder}

Integer

Returns the total number active anomalies from the same Sensor and Decoder and Unit (pkts/s or bits/s)

Anomalies (same Sensor, Decoder, Prefix/X)

{anomalies_sensor_decoder_cidr_X}

Integer

Returns the total number active anomalies from the same Sensor, Decoder, Unit (pkts/s or bits/s) and Prefix/X, where X can be any CIDR mask