Module Values.DataProtectionSource

Specifies the protection behavior for a field type. This is part of the data protection configuration for a web ACL.

Sourcetype nonrec t = {
  1. field : FieldToProtect.t;
    (*

    Specifies the field type and optional keys to apply the protection behavior to.

    *)
  2. action : DataProtectionAction.t;
    (*

    Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution. One-way hash example: ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e Substitution example: REDACTED

    *)
  3. excludeRuleMatchDetails : Boolean.t option;
    (*

    Specifies whether to also exclude any rule match details from the data protection you have enabled for a given field. WAF logs these details for non-terminating matching rules and for the terminating matching rule. For additional information, see Log fields for web ACL traffic in the WAF Developer Guide. Default: FALSE

    *)
  4. excludeRateBasedDetails : Boolean.t option;
    (*

    Specifies whether to also exclude any rate-based rule details from the data protection you have enabled for a given field. If you specify this exception, RateBasedDetails will show the value of the field. For additional information, see the log field rateBasedRuleList at Log fields for web ACL traffic in the WAF Developer Guide. Default: FALSE

    *)
}
Sourceval context_ : string
Sourceval make : ?excludeRuleMatchDetails:??? -> ?excludeRateBasedDetails:??? -> field:FieldToProtect.t -> action:DataProtectionAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of FieldToProtectKeyName.t ] list ]) list ]) 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