File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 - run :
4747 name : Download Reverse Labs Scanner
4848 command : |
49- curl https://dso-resources.oktasecurity.com/scanner \
50- -H "x-api-key: $RESOURCE_TOKEN" \
49+ curl --fail --show-error --location \
50+ https://dso-resources.oktasecurity.com/scanner \
51+ -H "x-api-key: $DSO_RLSECURE_TOKEN" \
5152 --output rl_wrapper-0.0.2+35ababa-py3-none-any.whl
53+
54+ # Verify the downloaded file is a valid wheel
55+ file rl_wrapper-0.0.2+35ababa-py3-none-any.whl
56+ if ! file rl_wrapper-0.0.2+35ababa-py3-none-any.whl | grep -q "Zip archive"; then
57+ echo "ERROR: Downloaded file is not a valid wheel archive"
58+ cat rl_wrapper-0.0.2+35ababa-py3-none-any.whl
59+ exit 1
60+ fi
5261 # Install the wrapper that was downloaded
5362 - run :
5463 name : Install RL Wrapper
@@ -88,4 +97,4 @@ workflows:
8897 jobs :
8998 - reversing-labs :
9099 context :
91- - okta-dcp
100+ - static-analysis
You can’t perform that action at this time.
0 commit comments