Module Values.DetectorModelDefinitionSource

Information that defines how a detector operates.

Sourcetype nonrec t = {
  1. states : States.t;
    (*

    Information about the states of the detector.

    *)
  2. initialStateName : StateName.t;
    (*

    The state that is entered at the creation of each detector (instance).

    *)
}
Sourceval context_ : string
Sourceval make : states:States.t -> initialStateName:StateName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of StateName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Boolean of UseBase64.t | `Integer of Seconds.t | `String of VariableName.t | `Structure of (string * [> `Enum of string | `String of ContentExpression.t | `Structure of (string * [> `String of AssetPropertyStringValue.t ]) list ]) list ]) list ]) list ] list | `String of EventName.t ]) list ] list ]) list ]) list ] list | `String of StateName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t