Skip to main content
The following guide walks through how to set up Github Actions to run both SCA and SAST scans using the StartLeft extension available on the Github Marketplace. https://github.com/marketplace/actions/sls-pipeline-scanner

Setup the required secrets.

  1. Navigate to Repo Settings -> Secrets and Variables -> Actions
  2. Select Manage Organization Secrets then Add organization secret and add the following:
  • SLS_CLIENT_ID & SLS_CLIENT_SECRET - used to authenticate to the StartLeft Container Registry.
  1. Then add a New repository secret
  • SLS_SCAN_KEY - The Scan Key can be found under Product Data Sources -> Start Left Scanner -> Scan Key (It is also available on the Asset details page for the repository.)

Setup the Github Action

  1. Create the sls.yml under Actions -> New Workflow then choose set up a workflow yourself
  2. Replace main.yml with a meaningful name eg. sls-scan.yml
  3. Paste the script below into the file contents:
  1. Commit changes.
  2. The scan job starts automatically upon detecting the committed sls.yml file.
You can toggle specific scan types by adjusting the the runSCA or runSAST options.