

# VulnerabilityCodeVulnerabilities
<a name="API_VulnerabilityCodeVulnerabilities"></a>

Provides details about the vulnerabilities found in your AWS Lambda function code. This field pertains to findings that AWS Security Hub CSPM receives from Amazon Inspector. 

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

 ** Cwes **   <a name="securityhub-Type-VulnerabilityCodeVulnerabilities-Cwes"></a>
 The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.   
Type: Array of strings  
Pattern: `.*\S.*`   
Required: No

 ** FilePath **   <a name="securityhub-Type-VulnerabilityCodeVulnerabilities-FilePath"></a>
 Provides details about where a code vulnerability is located in your AWS Lambda function.   
Type: [CodeVulnerabilitiesFilePath](API_CodeVulnerabilitiesFilePath.md) object  
Required: No

 ** SourceArn **   <a name="securityhub-Type-VulnerabilityCodeVulnerabilities-SourceArn"></a>
 The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.   
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_VulnerabilityCodeVulnerabilities_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/securityhub-2018-10-26/VulnerabilityCodeVulnerabilities) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/VulnerabilityCodeVulnerabilities) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/VulnerabilityCodeVulnerabilities) 