This repo contains sample terraform modules and scripts required to deploy ShiftLeft NG SAST to your organization. Following providers are supported:
Provider | Create Secrets | Create Pipeline definition | Commit config to repo |
---|---|---|---|
GitHub | Y | Y | Y |
GitLab | Y | N | N |
Bitbucket | Y | N | N |
Azure DevOps | Y | Y | N |
The user should have administrative access to the organization accounts with the provider, such as GitHub or GitLab.
Visit https://shiftleft.io/register to signup for a free trial. Once you've logged in, click on your avatar in the upper-right, then Account Settings
and copy the access token.
There are a handful of sample deployments available within deployments
directory.
cd deployments/sample-github
terraform init
Create a file called terraform.tfvars
inside sample-github
directory. The file should have following contents. This file should not be committed to the git repository or made public.
sl_access_token = "Access Token"
sl_api_token = "Public API Token"
github_token = "GitHub personal access token"
Proceed with terraform plan and apply commands.
terraform plan --out=gh.plan
terraform apply gh.plan