{"id":22768657,"url":"https://github.com/whitesource/wss-serverless-plugin","last_synced_at":"2025-07-09T18:33:29.134Z","repository":{"id":145588846,"uuid":"199863136","full_name":"whitesource/wss-serverless-plugin","owner":"whitesource","description":"whitesource serverless plugin","archived":false,"fork":false,"pushed_at":"2019-11-18T10:49:26.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-30T11:16:28.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitesource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-31T13:36:23.000Z","updated_at":"2021-03-15T11:38:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"03ba6594-7eaf-45f8-94df-4df2671a6a3d","html_url":"https://github.com/whitesource/wss-serverless-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whitesource/wss-serverless-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesource%2Fwss-serverless-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesource%2Fwss-serverless-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesource%2Fwss-serverless-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesource%2Fwss-serverless-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitesource","download_url":"https://codeload.github.com/whitesource/wss-serverless-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitesource%2Fwss-serverless-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502387,"owners_count":23618587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T14:12:21.226Z","updated_at":"2025-07-09T18:33:29.101Z","avatar_url":"https://github.com/whitesource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"serverless-whitesource\r\n=======\r\n\r\n\r\n\r\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\r\n\r\n\r\n[![WhiteSource](https://www.whitesourcesoftware.com/wp-content/uploads/2016/06/whitesource_logo_rgb-02.png)](https://www.whitesourcesoftware.com)\r\n\r\n\r\n\r\n# Description\r\n\r\nPerform a WhiteSource scan for Serverless functions after deployment. \r\n\r\n# Requirements\r\n\r\n- [Serverless Framework](https://github.com/serverless/serverless) 1.49.0 or higher\r\n- [WhiteSource Unified Agent] (https://whitesource.atlassian.net/wiki/spaces/WD/pages/33718339/Unified+Agent) 19.7.2 or higher\r\n\r\n# Installation\r\n\r\n```\r\nnpm install serverless-whitesource\r\n```\r\n```\r\nsudo npm install -g serverless #this step is required only in the first run\r\n```\r\n\r\n# Configuration\r\n\r\n### serverless.yml\r\n\r\n```yaml\r\n\r\nplugins:\r\n  - serverless-whitesource\r\n\r\ncustom:\r\n  whitesource:\r\n    pathToConfig: ${path-to-configuration-file}\r\n    pathToJar: ${path-to-UA-jar-file}\r\n    [optional] wss-{valid UA's command-line paramter}: {parameter value}\r\n```\r\n\r\n# Usage\r\n\r\n### 1. Download the UA jar\r\n```\r\ncurl -LJO https://wss-qa.s3.amazonaws.com/unified-agent/integration/wss-unified-agent\r\n```\r\n\r\n### 2. Install WhiteSource plugin\r\n```\r\nnpm install serverless-whitesource\r\n```\r\n\r\n### 3. Update the serverless.yml with the path to the configuration-file, jar-file and relevant parameters\r\n\r\n### 4. Deploy the serverless function(s)\r\n```\r\nsls deploy\r\n```\r\n\r\nAuthors\r\n-------\r\n\r\nCreated and maintained by [WhiteSource Software](https://www.whitesourcesoftware.com) (\u003cproduct@whitesourcesoftware.com\u003e)\r\n\r\nLicense\r\n-------\r\n\r\nApache 2.0 License (see [LICENSE](https://www.apache.org/licenses/LICENSE-2.0.txt))\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitesource%2Fwss-serverless-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitesource%2Fwss-serverless-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitesource%2Fwss-serverless-plugin/lists"}