Skip to content

SecurityContext

Source code in docs_src/capo_guardduty/types/security_context.py
class SecurityContext(TypedDict, closed=True):
    privileged: NotRequired["capo_guardduty.types.boolean.Boolean"]
    """<p>Whether the container is privileged.</p>"""
    allow_privilege_escalation: NotRequired["capo_guardduty.types.boolean.Boolean"]
    """<p>Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.</p>"""

allow_privilege_escalation instance-attribute

allow_privilege_escalation: NotRequired[Boolean]

Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.

privileged instance-attribute

privileged: NotRequired[Boolean]

Whether the container is privileged.