Module Values.ThreatSource

Provides information about the threat detected in a security finding and the file paths that were affected by the threat.

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

    The name of the threat. Length Constraints: Minimum of 1 length. Maximum of 128 length.

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

    The severity of the threat. Length Constraints: Minimum of 1 length. Maximum of 128 length.

    *)
  3. itemCount : Integer.t option;
    (*

    This total number of items in which the threat has been detected.

    *)
  4. filePaths : FilePathList.t option;
    (*

    Provides information about the file paths that were affected by the threat. Array Members: Minimum number of 1 item. Maximum number of 5 items.

    *)
}
Sourceval make : ?name:??? -> ?severity:??? -> ?itemCount:??? -> ?filePaths:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `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