CodeVulnerabilityDetails
Contains information on the code vulnerability identified in your Lambda function.
Contents
- cwes
- 
               The Common Weakness Enumeration (CWE) item associated with the detected vulnerability. Type: Array of strings Array Members: Minimum number of 1 item. Maximum number of 10 items. Length Constraints: Minimum length of 1. Required: Yes 
- detectorId
- 
               The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru Detector Library. Type: String Length Constraints: Minimum length of 1. Required: Yes 
- detectorName
- 
               The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library. Type: String Length Constraints: Minimum length of 1. Required: Yes 
- filePath
- 
               Contains information on where the code vulnerability is located in your code. Type: CodeFilePath object Required: Yes 
- detectorTags
- 
               The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags. Type: Array of strings Array Members: Minimum number of 1 item. Maximum number of 10 items. Length Constraints: Minimum length of 1. Required: No 
- referenceUrls
- 
               A URL containing supporting documentation about the code vulnerability detected. Type: Array of strings Array Members: Minimum number of 1 item. Maximum number of 10 items. Length Constraints: Minimum length of 1. Required: No 
- ruleId
- 
               The identifier for a rule that was used to detect the code vulnerability. Type: String Length Constraints: Minimum length of 1. Required: No 
- sourceLambdaLayerArn
- 
               The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in. Type: String Pattern: arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+Required: No 
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: