Skip to main content

Detection Condition

Reference for the Detection Condition JSON element.

See also: Detection Condition

Example

{
"type": "line_cross",
"line_name": "entry-line",
"alert_direction": "positive",
"objects": []
}

Fields

FieldTypeDescription
typestringCondition type.
countnumberCount used by count-based conditions.
line_namestringLine name used by line_cross.
alert_directionstringDirection used by line_cross.
objectsDetection Object[]Objects that satisfied the condition.