

# SecurityContext
<a name="API_SecurityContext"></a>

Container security context.

## Contents
<a name="API_SecurityContext_Contents"></a>

 ** allowPrivilegeEscalation **   <a name="guardduty-Type-SecurityContext-allowPrivilegeEscalation"></a>
Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.  
Type: Boolean  
Required: No

 ** privileged **   <a name="guardduty-Type-SecurityContext-privileged"></a>
Whether the container is privileged.  
Type: Boolean  
Required: No

## See Also
<a name="API_SecurityContext_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/guardduty-2017-11-28/SecurityContext) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/SecurityContext) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/SecurityContext) 