Skip to content

CreateInsightRequest

Source code in docs_src/capo_securityhub/types/create_insight_request.py
class CreateInsightRequest(TypedDict, closed=True):
    name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the custom insight to create.</p>"""
    filters: NotRequired[
        "capo_securityhub.types.aws_security_finding_filters.AwsSecurityFindingFilters"
    ]
    """<p>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.</p>"""
    group_by_attribute: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>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.</p>"""

filters instance-attribute

filters: NotRequired[AwsSecurityFindingFilters]

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.

group_by_attribute instance-attribute

group_by_attribute: NotRequired[NonEmptyString]

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.

name instance-attribute

name: NotRequired[NonEmptyString]

The name of the custom insight to create.