Module Values.StatusReasonSource

Provides additional context for the value of Compliance.Status.

Sourcetype nonrec t = {
  1. reasonCode : NonEmptyString.t;
    (*

    A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Compliance details for control findings in the Security Hub CSPM User Guide.

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

    The corresponding description for the status reason code.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> reasonCode:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.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