Created
April 22, 2022 13:41
-
-
Save danifitz/9a34fc660146ec7306c5947fbbcdee6c to your computer and use it in GitHub Desktop.
lacework-tf-scan-azure-devops.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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