Module Values.RuleResultSource

Represents the result of a single rule within a configuration check.

Sourcetype nonrec t = {
  1. id : RuleResultId.t option;
    (*

    The unique identifier of the rule result.

    *)
  2. description : String_.t option;
    (*

    A description of what the rule validates.

    *)
  3. status : RuleResultStatus.t option;
    (*

    The status of the rule result.

    *)
  4. message : String_.t option;
    (*

    A message providing details about the rule result.

    *)
  5. metadata : RuleResultMetadata.t option;
    (*

    Additional metadata associated with the rule result.

    *)
}
Sourceval make : ?id:??? -> ?description:??? -> ?status:??? -> ?message:??? -> ?metadata:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of RuleResultMetadataKey.t ] * [> `String of RuleResultMetadataValue.t ]) list | `String of RuleResultId.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