Share via


SecurityContextV1.AllowPrivilegeEscalation Property

Definition

Gets or sets a value that determines whether the container is allowed to gain additional privileges. If set to true, the container is allowed to elevate its privileges. If false, the container cannot escalate privileges even if it tries, providing additional security to the container.

[YamlDotNet.Serialization.YamlMember(Alias="allowPrivilegeEscalation")]
public bool? AllowPrivilegeEscalation { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="allowPrivilegeEscalation")>]
member this.AllowPrivilegeEscalation : Nullable<bool> with get, set
Public Property AllowPrivilegeEscalation As Nullable(Of Boolean)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to