Constants that describe the operator
to use within a
condition
.
The following statement:
{
or: [{
and: [{
name: 'HostInfo',
output: 'ip_address',
op: 'EQUALS',
value: '192.168.1.1'
}]
}]
}
Can be rewritten to use OperatorConstants
as follows:
{
or: [{
and: [{
name: 'HostInfo',
output: 'ip_address',
op: OperatorConstants.EQUALS,
value: '192.168.1.1'
}]
}]
}
- Source:
Members
(static) AFTER
'After' operator
- Source:
(static) BEFORE
'Before' operator
- Source:
(static) CONTAINS
'Contains' operator
- Source:
(static) ENDS_WITH
'Ends with' operator
- Source:
(static) EQUALS
'Equals' operator
- Source:
(static) GREATER_EQUAL_THAN
'Greater than or equal to' operator
- Source:
(static) GREATER_THAN
'Greater than' operator
- Source:
(static) LESS_EQUAL_THAN
'Less than or equal to' operator
- Source:
(static) LESS_THAN
'Less than' operator
- Source:
(static) STARTS_WITH
'Starts with' operator
- Source: