Skip to content

Instantly share code, notes, and snippets.

@danifitz
Last active October 13, 2022 15:40
Show Gist options
  • Save danifitz/19b948b4657bebedabdf06c740128f05 to your computer and use it in GitHub Desktop.
Save danifitz/19b948b4657bebedabdf06c740128f05 to your computer and use it in GitHub Desktop.
stages: # List of stages for jobs, and their order of execution
- iac-scan
docker:image:
stage: iac-scan
image: docker:1.11
services:
- docker:dind
script:
- echo "Installing Soluble CLI"
- curl https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh
- echo "setting soluble cli access-token"
- soluble auth set-access-token --access-token ${LW_IAC_ACCESS_TOKEN}
- echo "scanning AWS TF code"
- soluble terraform-scan -d aws/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment