Skip to content

Commit

Permalink
pull from artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
itaimarongwe-okta authored Oct 7, 2024
1 parent 2c1aae0 commit 2384fee
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/rl-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
run: ls -la build/libs

- name: Output build artifact
id: output_build_artifact
id: get_artifact
run: |
echo "scanfile=$(pwd)/build/libs/auth0-${{ steps.get_version.outputs.version }}.jar" >> $GITHUB_OUTPUT
echo "::set-output name=path::$(echo $(pwd)/build/libs/auth0-${{ steps.get_version.outputs.version }}.jar)" >> $GITHUB_OUTPUT
- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -58,24 +58,27 @@ jobs:
pip install --upgrade pip
pip install -r scripts/requirements.txt
- name: Configure test AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.TEST_AWS_ARN }}
aws-region: us-east-2
aws-region: us-east-1
mask-aws-account-id: true

- name: Run Reversing Labs Wrapper Scanner
env:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
PIP_EXTRA_INDEX_URL: "https://${{ secrets.PRODSEC_TOOLS_USER }}:${{ secrets.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple"
run: |
python scripts/rl-wrapper.py \
--artifact "${{ steps.output_build_artifact.outputs.scanfile }}" \
--name "${{ github.event.repository.name }}" \
pip install rl-wrapper && \
rl-wrapper \
--artifact "${{ steps.get_artifact.outputs.path }}" \
--version "${{ steps.get_version.outputs.version }}" \
--repository "${{ github.repository }}" \
--name "${{ github.event.repository.name }}" \
--repository "${{ github.repository_owner }}/${{ github.repository }}" \
--commit "${{ github.sha }}" \
--build-env "github_action"
--suppress_output
continue-on-error: true

0 comments on commit 2384fee

Please sign in to comment.