Module Values_0.ViolationEventSource

Information about a Device Defender security profile behavior violation.

Sourcetype nonrec t = {
  1. violationId : ViolationId.t option;
    (*

    The ID of the violation event.

    *)
  2. thingName : DeviceDefenderThingName.t option;
    (*

    The name of the thing responsible for the violation event.

    *)
  3. securityProfileName : SecurityProfileName.t option;
    (*

    The name of the security profile whose behavior was violated.

    *)
  4. behavior : Behavior.t option;
    (*

    The behavior that was violated.

    *)
  5. metricValue : MetricValue.t option;
    (*

    The value of the metric (the measurement).

    *)
  6. violationEventAdditionalInfo : ViolationEventAdditionalInfo.t option;
    (*

    The details of a violation event.

    *)
  7. violationEventType : ViolationEventType.t option;
    (*

    The type of violation event.

    *)
  8. verificationState : VerificationState.t option;
    (*

    The verification state of the violation (detect alarm).

    *)
  9. verificationStateDescription : VerificationStateDescription.t option;
    (*

    The description of the verification state of the violation.

    *)
  10. violationEventTime : Timestamp.t option;
    (*

    The time the violation event occurred.

    *)
}
Sourceval make : ?violationId:??? -> ?thingName:??? -> ?securityProfileName:??? -> ?behavior:??? -> ?metricValue:??? -> ?violationEventAdditionalInfo:??? -> ?violationEventType:??? -> ?verificationState:??? -> ?verificationStateDescription:??? -> ?violationEventTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ViolationId.t | `Structure of (string * [> `Boolean of SuppressAlerts.t | `Double of Number.t | `Enum of string | `List of [> `Double of Number.t | `Integer of Port.t | `String of Cidr.t ] list | `Long of UnsignedLong.t | `String of BehaviorName.t | `Structure of (string * [> `Enum of string | `Integer of DurationSeconds.t | `String of DimensionName.t | `Structure of (string * [> `Double of Number.t | `Enum of string | `List of [> `Double of Number.t | `Integer of Port.t | `String of Cidr.t ] list | `Long of UnsignedLong.t | `String of EvaluationStatistic.t ]) list ]) list ]) list | `Timestamp of Timestamp.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