⛔ [DEPRECATED] This repository will be inaccessible starting January 9th, 2023.
The GitLab Multi-Repo Scanner (gitlab-scanner) is a bash utlity for scanning multiple code repositories from GitLab using the dockerized unified agent
- GitLab
- Linux (Bash): CentOS, Debian, Ubuntu, RedHat
- Docker
git clone https://github.com/whitesource-ft/ws-multi-repo-scanner.git & cd ws-multi-repo-scanner
chmod +x gitlab-scanner.sh
export GITLAB_TOKEN=<your-gitlab-personal-access-token>
export GITLAB_USER=<your-gitlab-username>
git config --global url."https://${GITLAB_USER}:${GITLAB_TOKEN}@gitlab.com".insteadOf "https://gitlab.com"
You can double-check your global git config by using git config --global --list
export WS_APIKEY=<your-api-key>
export WS_USERKEY=<your-user-key>
./gitlab-scanner.sh gitlab.com <your-gitlab-group-id> $GITLAB_TOKEN
The WhiteSource SAST Multi-Repo Scanners (WS-SAST-Scanners) are a group of bash scripts for scanning multiple code repositories using WhiteSource SAST & ThunderScan.
- List of Git repositories
- Linux (Bash): CentOS, Debian, Ubuntu, RedHat
- git
- curl
- jq
- tscli or wscli
- Individual script usage instructions are located within each script, but the general usage is the following where scanlist.txt is a list of git repositories for cloning
chmod +x script.sh
./script.sh scanlist.txt
- ws-sast-scanner - WS-SAST
- ts-scanner - ThunderScan script without templates
- ts-scanner-template - ThunderScan script that uses templates