Module Values.SeverityLevelSource

Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that match the custom data identifier's detection criteria.

Sourcetype nonrec t = {
  1. occurrencesThreshold : Awso.Import.Int64.t;
    (*

    The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

    *)
  2. severity : DataIdentifierSeverity.t;
    (*

    The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

    *)
}
Sourceval context_ : string
Sourceval make : occurrencesThreshold:Awso.Import.Int64.t -> severity:DataIdentifierSeverity.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Awso.Import.Int64.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