Module Values.RuleStatusCountsSource

A summary of rule results, providing counts for each status type.

Sourcetype nonrec t = {
  1. failed : Integer.t option;
    (*

    The number of rules that failed.

    *)
  2. warning : Integer.t option;
    (*

    The number of rules that returned warnings.

    *)
  3. info : Integer.t option;
    (*

    The number of rules that returned informational results.

    *)
  4. passed : Integer.t option;
    (*

    The number of rules that passed.

    *)
  5. unknown : Integer.t option;
    (*

    The number of rules with unknown status.

    *)
}
Sourceval make : ?failed:??? -> ?warning:??? -> ?info:??? -> ?passed:??? -> ?unknown:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.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