Module Values.CreateInsightRequestSource

Creates a custom insight in Security Hub CSPM. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation. To group the related findings in the insight, use the GroupByAttribute.

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

    The name of the custom insight to create.

    *)
  2. filters : AwsSecurityFindingFilters.t;
    (*

    One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.

    *)
  3. groupByAttribute : NonEmptyString.t;
    (*

    The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.

    *)
}
Sourceval context_ : string
Sourceval make : name:NonEmptyString.t -> filters:AwsSecurityFindingFilters.t -> groupByAttribute:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t ]) list ]) list ] 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