VulnerabilityCodeVulnerabilities - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

VulnerabilityCodeVulnerabilities

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

Contents

Cwes

The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.

Type: Array of strings

Pattern: .*\S.*

Required: No

FilePath

Provides details about where a code vulnerability is located in your Amazon Lambda function.

Type: CodeVulnerabilitiesFilePath object

Required: No

SourceArn

The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: