Values.CreateInsightRequestSourceCreates 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.
type nonrec t = {name : NonEmptyString.t;The name of the custom insight to create.
*)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.
*)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.
*)}val make :
name:NonEmptyString.t ->
filters:AwsSecurityFindingFilters.t ->
groupByAttribute:NonEmptyString.t ->
unit ->
tval 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 ]