Skip to content

/AWS1/CL_GDYSECURITYCONTEXT

Container security context.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_privileged TYPE /AWS1/GDYBOOLEAN /AWS1/GDYBOOLEAN

Whether the container is privileged.

iv_allowprivilegeescalation TYPE /AWS1/GDYBOOLEAN /AWS1/GDYBOOLEAN

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


Queryable Attributes

Privileged

Whether the container is privileged.

Accessible with the following methods

Method Description
GET_PRIVILEGED() Getter for PRIVILEGED, with configurable default
ASK_PRIVILEGED() Getter for PRIVILEGED w/ exceptions if field has no value
HAS_PRIVILEGED() Determine if PRIVILEGED has a value

AllowPrivilegeEscalation

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

Accessible with the following methods

Method Description
GET_ALLOWPRIVILEGEESCALATION() Getter for ALLOWPRIVILEGEESCALATION, with configurable defau
ASK_ALLOWPRIVILEGEESCALATION() Getter for ALLOWPRIVILEGEESCALATION w/ exceptions if field h
HAS_ALLOWPRIVILEGEESCALATION() Determine if ALLOWPRIVILEGEESCALATION has a value