Serverless Function Scanning

Note: This feature is in early availability and is subject to change. Functionality and support may be limited. To request access or share feedback, contact your Tenable representative.

Use Tenable One Cloud Exposure to scan your serverless functions for software vulnerabilities. Gain visibility into the code and dependencies deployed in your AWS Lambda functions, and identify risks that server-based scanning does not cover. Give your DevOps teams the information they need to remediate vulnerabilities in function packages and container images quickly.

Supported Cloud Providers and Resources

Tenable currently scans serverless functions in AWS only. More providers coming soon.

 

How Tenable Scans Serverless Functions

A serverless function has no persistent disk to snapshot and no operating system to scan. Tenable scans the code and dependencies that you deploy instead, and identifies vulnerabilities in the packages it finds.

A Lambda function is deployed as one of two package types. Tenable scans each type differently:

  • Zip package — Tenable unzips the deployment package and scans the packages inside it. Tenable shows vulnerabilities on the Lambda function.
  • Container image — Tenable scans the container image that the function uses. Tenable shows vulnerabilities on the container image and identifies which Lambda function uses it.

Tenable scans the last revision of each function.

The vulnerabilities that are detected appear in the Vulnerabilities page and in the View Resource Details.

Note: Keep the following in mind when you scan serverless functions:
  • To scan Lambda functions that use container images, enable ECR scanning for the AWS account and grant Tenable permissions to the image repository. See ECR Scanning Workload Protection Policy.
  • Vulnerability findings are not yet available for serverless functions.

Licensing and Cost

Serverless function scanning requires an Advanced license or the CNAPP Complete add-on. There is no additional cost for customers with eligible licenses.

Required Permissions

To scan Lambda functions, add the Lambda function scanning policy to the dedicated IAM role that you created for Tenable when you connected your AWS account. For the policy, see Lambda Function Scanning Policy.