Skip to content

Distribution

Source code in docs_src/capo_guardduty/types/distribution.py
class Distribution(TypedDict, closed=True):
    dimension: NotRequired[
        "capo_guardduty.types.distribution_dimension.DistributionDimension"
    ]
    """<p>The dimension of the breakdown. The value identifies the breakdown that the record describes: <code>SEVERITY</code> (<code>SeverityBreakdown</code>), <code>TYPE</code> (<code>FindingTypes</code> or <code>TopFindingTypes</code>), <code>RESOURCE</code> (<code>Resources</code>), <code>ATTACK_VECTOR</code> (<code>AttackVectors</code>), and <code>ARCHIVE</code> (<code>Archive</code>).</p>"""
    total_findings: NotRequired["capo_guardduty.types.count.Count"]
    """<p>The total number of findings in the breakdown.</p>"""
    severity_breakdown: NotRequired[
        "capo_guardduty.types.severity_breakdown.SeverityBreakdown"
    ]
    """<p>The number of findings at each severity level.</p>"""
    finding_types: NotRequired[
        "capo_guardduty.types.type_distributions.TypeDistributions"
    ]
    """<p>The findings broken down by finding type, with counts and percentages.</p>"""
    top_finding_types: NotRequired[
        "capo_guardduty.types.finding_type_counts.FindingTypeCounts"
    ]
    """<p>The finding types that have the most findings, with counts.</p>"""
    resources: NotRequired[
        "capo_guardduty.types.resource_distributions.ResourceDistributions"
    ]
    """<p>The findings broken down by affected resource.</p>"""
    attack_vectors: NotRequired["capo_guardduty.types.tactic_coverages.TacticCoverages"]
    """<p>The findings broken down by MITRE ATT&amp;CK tactic.</p>"""
    archive: NotRequired[
        "capo_guardduty.types.archive_distribution.ArchiveDistribution"
    ]
    """<p>The number and percentage of archived and unarchived findings.</p>"""

archive instance-attribute

archive: NotRequired[ArchiveDistribution]

The number and percentage of archived and unarchived findings.

attack_vectors instance-attribute

attack_vectors: NotRequired[TacticCoverages]

The findings broken down by MITRE ATT&CK tactic.

dimension instance-attribute

dimension: NotRequired[DistributionDimension]

The dimension of the breakdown. The value identifies the breakdown that the record describes: SEVERITY (SeverityBreakdown), TYPE (FindingTypes or TopFindingTypes), RESOURCE (Resources), ATTACK_VECTOR (AttackVectors), and ARCHIVE (Archive).

finding_types instance-attribute

finding_types: NotRequired[TypeDistributions]

The findings broken down by finding type, with counts and percentages.

resources instance-attribute

resources: NotRequired[ResourceDistributions]

The findings broken down by affected resource.

severity_breakdown instance-attribute

severity_breakdown: NotRequired[SeverityBreakdown]

The number of findings at each severity level.

top_finding_types instance-attribute

top_finding_types: NotRequired[FindingTypeCounts]

The finding types that have the most findings, with counts.

total_findings instance-attribute

total_findings: NotRequired[Count]

The total number of findings in the breakdown.