Skip to content

KubernetesPolicyViolation

Source code in docs_src/capo_guardduty/types/kubernetes_policy_violation.py
class KubernetesPolicyViolation(TypedDict, closed=True):
    violation_type: NotRequired["capo_guardduty.types.string.String"]
    """<p>The type of the violation.</p>"""
    affected_resource: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes resource that the violation affects.</p>"""
    subject: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes subject, such as a user, a group, or a service account, that the violation involves.</p>"""
    granted_access: NotRequired["capo_guardduty.types.string.String"]
    """<p>The access that the violation grants.</p>"""
    exposure_vector: NotRequired[
        "capo_guardduty.types.investigation_text.InvestigationText"
    ]
    """<p>How the misconfiguration exposes the resource.</p>"""
    misconfiguration_impact: NotRequired[
        "capo_guardduty.types.investigation_text.InvestigationText"
    ]
    """<p>The potential impact of the misconfiguration.</p>"""

affected_resource instance-attribute

affected_resource: NotRequired[String]

The Kubernetes resource that the violation affects.

exposure_vector instance-attribute

exposure_vector: NotRequired[InvestigationText]

How the misconfiguration exposes the resource.

granted_access instance-attribute

granted_access: NotRequired[String]

The access that the violation grants.

misconfiguration_impact instance-attribute

misconfiguration_impact: NotRequired[InvestigationText]

The potential impact of the misconfiguration.

subject instance-attribute

subject: NotRequired[String]

The Kubernetes subject, such as a user, a group, or a service account, that the violation involves.

violation_type instance-attribute

violation_type: NotRequired[String]

The type of the violation.