Skip to content

Instantly share code, notes, and snippets.

@danifitz
Created April 22, 2022 13:41
Show Gist options
  • Save danifitz/9a34fc660146ec7306c5947fbbcdee6c to your computer and use it in GitHub Desktop.
Save danifitz/9a34fc660146ec7306c5947fbbcdee6c to your computer and use it in GitHub Desktop.
lacework-tf-scan-azure-devops.yml
# This pipeline has a single step which installs the LW IAC CLI, setups an auth token
# stored as a pipeline variable and then scans TF code within a directory.
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- script: |
curl https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh
soluble auth set-access-token --access-token $ACCESS_TOKEN
soluble tf-scan -d aws/
env:
ACCESS_TOKEN: $(LW_IAC_ACCESS_TOKEN)
displayName: 'lacework iac scan'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment