Skip to content

Commit b37e552

Browse files
authored
chore: Migrate RL Scanner to usable Action (#248)
1 parent b17fc88 commit b37e552

3 files changed

Lines changed: 13 additions & 76 deletions

File tree

.github/actions/rl-scanner/action.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ jobs:
2424
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
2525
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
2626
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
27+
SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
2728
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
2829
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
2930
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
31+
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
3032

3133
release:
3234
uses: ./.github/workflows/java-release.yml

.github/workflows/rl-secure.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ on:
1616
required: true
1717
SIGNAL_HANDLER_TOKEN:
1818
required: true
19+
SIGNAL_HANDLER_DOMAIN:
20+
required: true
1921
PRODSEC_TOOLS_USER:
2022
required: true
2123
PRODSEC_TOOLS_TOKEN:
2224
required: true
2325
PRODSEC_TOOLS_ARN:
2426
required: true
27+
PRODSEC_PYTHON_TOOLS_REPO:
28+
required: true
2529

2630
jobs:
2731
checkout-build-scan-only:
@@ -58,17 +62,19 @@ jobs:
5862
5963
- name: Run RL Scanner
6064
id: rl-scan-conclusion
61-
uses: ./.github/actions/rl-scanner
65+
uses: auth0/devsecops-tooling/.github/actions/rl-scan@main
6266
with:
63-
artifact-path: "$(pwd)/${{ inputs.artifact-name }}"
64-
version: "${{ steps.get_version.outputs.version }}"
65-
env:
67+
artifact-name: "${{ github.event.repository.name }}"
68+
artifact-path: "${{ github.workspace }}/${{ inputs.artifact-name }}"
69+
version: ${{ steps.get_version.outputs.version }}
6670
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
6771
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
6872
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
73+
SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
74+
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
6975
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
7076
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
71-
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
77+
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
7278

7379
- name: Output scan result
7480
run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)