Skip to content

Commit b00d8d7

Browse files
committed
ci: Replace local RL scanner with reusable action
1 parent 1c1461d commit b00d8d7

3 files changed

Lines changed: 12 additions & 80 deletions

File tree

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

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

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
2323
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
2424
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
25+
SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
2526
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
2627
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
2728
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
29+
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
2830

2931
release:
3032
needs: [rl-scanner-aspnetcore-api]

.github/workflows/rl-secure.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ on:
1717
required: true
1818
SIGNAL_HANDLER_TOKEN:
1919
required: true
20+
SIGNAL_HANDLER_DOMAIN:
21+
required: true
2022
PRODSEC_TOOLS_USER:
2123
required: true
2224
PRODSEC_TOOLS_TOKEN:
2325
required: true
2426
PRODSEC_TOOLS_ARN:
2527
required: true
28+
PRODSEC_PYTHON_TOOLS_REPO:
29+
required: true
2630

2731
jobs:
2832
rl-scanner:
@@ -63,17 +67,19 @@ jobs:
6367

6468
- name: Run RL Scanner
6569
id: rl-scan-conclusion
66-
uses: ./.github/actions/rl-scanner
70+
uses: auth0/devsecops-tooling/.github/actions/rl-scan@main
6771
with:
72+
artifact-name: ${{ inputs.artifact-name }}
6873
artifact-path: ${{ github.workspace }}/${{ inputs.artifact-name }}
6974
version: "${{ steps.get_version.outputs.version }}"
70-
env:
7175
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
7276
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
7377
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
78+
SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
79+
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
7480
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
7581
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
76-
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
77-
82+
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
83+
7884
- name: Output scan result
7985
run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)