Perform a WhiteSource scan for Serverless functions after deployment.
- Serverless Framework 1.49.0 or higher
- [WhiteSource Unified Agent] (https://whitesource.atlassian.net/wiki/spaces/WD/pages/33718339/Unified+Agent) 19.7.2 or higher
npm install serverless-whitesource
sudo npm install -g serverless #this step is required only in the first run
plugins:
- serverless-whitesource
custom:
whitesource:
pathToConfig: ${path-to-configuration-file}
pathToJar: ${path-to-UA-jar-file}
[optional] wss-{valid UA's command-line paramter}: {parameter value}
curl -LJO https://wss-qa.s3.amazonaws.com/unified-agent/integration/wss-unified-agent
npm install serverless-whitesource
3. Update the serverless.yml with the path to the configuration-file, jar-file and relevant parameters
sls deploy
Created and maintained by WhiteSource Software ([email protected])
Apache 2.0 License (see LICENSE)