Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Overview

WhiteSource serverless integration enables you to scan and monitor deployed Lambda functions. Once a scan is initiated, WhiteSource automatically identifies all the open source components and dependencies. It then checks it against the definitive database of open source repositories, for security vulnerabilities and licenses. Once detected, you can apply automatic policies, define workflows and collaborate the information within your team.

Prerequisites

  • AWS CLI is installed and configured. You’ll need both a valid Secret Access Key and a valid Access Key ID.
    You can find and create Access Key IDs for an IAM user from the IAM console. The Secret Access Key can also be obtained by downloading the security credentials.
    Alternatively, you can use the AWS CLI to generate an Access Key ID for a user as well as download the rest of their security credentials.
  • Lambda functions are deployed in AWS.
  • The default output format of AWS CLI is JSON.

Scan Lambda Functions

Serverless Lambda integrates with the Unified agent. To get started with the Unified Agent, click here.

To scan your Lambda functions, simply use the following parameters:

ParameterTypeDescriptionRequiredDefault
serverless.providerStringName of the provider for serverless integrationyesaws-lambda
serverless.scanFunctionsBooleanEnables/Disables the scan functionsyesfalse
serverless.functionNamesStringThe function names that you would like to scan. yesempty list
serverless.regionStringThe region where your functions are deployed yes
serverless.maxFunctionsIntegerMaximum functions for scanningyes10

The results are displayed on the WhiteSource GUI:


  • No labels