Skip to content

KubernetesApiCall

Source code in docs_src/capo_guardduty/types/kubernetes_api_call.py
class KubernetesApiCall(TypedDict, closed=True):
    cluster_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the cluster.</p>"""
    username: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes user name of the caller.</p>"""
    user_groups: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes groups of the caller.</p>"""
    user_id: NotRequired["capo_guardduty.types.string.String"]
    """<p>The ID of the caller.</p>"""
    verb: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes API verb, such as <code>get</code> or <code>create</code>.</p>"""
    resource_type: NotRequired["capo_guardduty.types.string.String"]
    """<p>The type of the Kubernetes resource.</p>"""
    resource_name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the Kubernetes resource.</p>"""
    namespace: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Kubernetes namespace of the resource.</p>"""
    request_uri: NotRequired["capo_guardduty.types.string.String"]
    """<p>The URI of the request.</p>"""
    status_code: NotRequired["capo_guardduty.types.integer.Integer"]
    """<p>The status code of the API call.</p>"""
    source_ips: NotRequired["capo_guardduty.types.string.String"]
    """<p>The source IP addresses of the API call.</p>"""
    user_agent: NotRequired["capo_guardduty.types.string.String"]
    """<p>The user agent of the caller.</p>"""
    event_count: NotRequired["capo_guardduty.types.count.Count"]
    """<p>The number of matching API calls.</p>"""

cluster_name instance-attribute

cluster_name: NotRequired[String]

The name of the cluster.

event_count instance-attribute

event_count: NotRequired[Count]

The number of matching API calls.

namespace instance-attribute

namespace: NotRequired[String]

The Kubernetes namespace of the resource.

request_uri instance-attribute

request_uri: NotRequired[String]

The URI of the request.

resource_name instance-attribute

resource_name: NotRequired[String]

The name of the Kubernetes resource.

resource_type instance-attribute

resource_type: NotRequired[String]

The type of the Kubernetes resource.

source_ips instance-attribute

source_ips: NotRequired[String]

The source IP addresses of the API call.

status_code instance-attribute

status_code: NotRequired[Integer]

The status code of the API call.

user_agent instance-attribute

user_agent: NotRequired[String]

The user agent of the caller.

user_groups instance-attribute

user_groups: NotRequired[String]

The Kubernetes groups of the caller.

user_id instance-attribute

user_id: NotRequired[String]

The ID of the caller.

username instance-attribute

username: NotRequired[String]

The Kubernetes user name of the caller.

verb instance-attribute

verb: NotRequired[String]

The Kubernetes API verb, such as get or create.