SecurityContextDefinitionResponse

data class SecurityContextDefinitionResponse(val allowPrivilegeEscalation: Boolean? = null, val capabilities: SecurityContextCapabilitiesDefinitionResponse? = null, val privileged: Boolean? = null, val runAsGroup: Int? = null, val runAsUser: Int? = null, val seccompProfile: String? = null)

The security context for the container.

Constructors

Link copied to clipboard
constructor(allowPrivilegeEscalation: Boolean? = null, capabilities: SecurityContextCapabilitiesDefinitionResponse? = null, privileged: Boolean? = null, runAsGroup: Int? = null, runAsUser: Int? = null, seccompProfile: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A boolean value indicating whether the init process can elevate its privileges

Link copied to clipboard

The capabilities to add or drop from a container.

Link copied to clipboard
val privileged: Boolean? = null

The flag to determine if the container permissions is elevated to Privileged.

Link copied to clipboard
val runAsGroup: Int? = null

Sets the User GID for the container.

Link copied to clipboard
val runAsUser: Int? = null

Sets the User UID for the container.

Link copied to clipboard
val seccompProfile: String? = null

a base64 encoded string containing the contents of the JSON in the seccomp profile