File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,11 @@ jobs:
1414 env :
1515 SCAN_PATH : " ." # Set the relative path in the repo to scan
1616
17- # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
1817 defaults :
1918 run :
2019 shell : bash
2120
2221 steps :
23- # Checkout the repository to the GitHub Actions runner
2422 - name : Check out repository
2523 uses : actions/checkout@v2
2624
@@ -42,12 +40,17 @@ jobs:
4240 env :
4341 SCAN_PATH : " ." # Set the relative path in the repo to scan
4442
45- # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
4643 defaults :
4744 run :
4845 shell : bash
4946
5047 steps :
48+ - name : Check out repository
49+ uses : actions/checkout@v2
50+
51+ - name : Download Wiz CLI
52+ run : curl -o wizcli https://downloads.wiz.io/wizcli/latest/wizcli-linux-amd64 && chmod +x wizcli
53+
5154 - name : Authenticate to Wiz
5255 run : ./wizcli auth --id "$WIZ_CLIENT_ID" --secret "$WIZ_CLIENT_SECRET"
5356 env :
5659
5760 - name : Run wiz CLI Dir scan
5861 run : ./wizcli dir scan --path $SCAN_PATH
59-
You can’t perform that action at this time.
0 commit comments