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 3 Next »

Report the structure of your build to SeaLights. Following this step, you will see the build structure in the SeaLights dashboard.
Statically instrument the code files, creating a version of the files for testing (the original code is not modified). The instrumentation inserts code to gather and send coverage (function signatures only, no runtime arguments) to SeaLights.

Scanning a standalone project

./slcli scan  /
    --bsid buildSessionId.txt  
    --path-to-scanner ./<path-to-build-scanner-app> / 
    --workspacepath <path-to-app-dir> 
    --scm git 
    --scmBaseUrl <base-url> 
    --scmVersion "0" 
    --scmProvider github

Scanning a Lambda project

slcli scan  \
    --collector-url http://<your-collector-url>/api \ 
    --light-mode true \
    --bsid buildSessionId.txt \ 
    --path-to-scanner ./<path-to-build-scanner-app> \ 
    --workspacepath <path-to-app-dir> \
    --scm git \
    --scmBaseUrl <base-url> \ 
    --scmVersion "0" \
    --scmProvider github 

  • No labels