Module Values.ValidatePolicyFindingSource

A finding in a policy. Each finding is an actionable recommendation that can be used to improve the policy.

Sourcetype nonrec t = {
  1. findingDetails : String_.t option;
    (*

    A localized message that explains the finding and provides guidance on how to address it.

    *)
  2. findingType : ValidatePolicyFindingType.t option;
    (*

    The impact of the finding. Security warnings report when the policy allows access that we consider overly permissive. Errors report when a part of the policy is not functional. Warnings report non-security issues when a policy does not conform to policy writing best practices. Suggestions recommend stylistic improvements in the policy that do not impact access.

    *)
  3. issueCode : IssueCode.t option;
    (*

    The issue code provides an identifier of the issue associated with this finding.

    *)
  4. locations : LocationList.t option;
    (*

    The list of locations in the policy document that are related to the finding. The issue code provides a summary of an issue identified by the finding.

    *)
}
Sourceval make : ?findingDetails:??? -> ?findingType:??? -> ?issueCode:??? -> ?learnMoreLink:??? -> ?locations:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `Integer of Integer.t ]) list ]) list ]) list ] list | `String of String_.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