@@ -38,23 +38,23 @@ jobs:
38
38
echo "Gem name: ${{ steps.build-apm-ruby-ci-reverse-lab.outputs.current_gem }}"
39
39
echo "Gem version: ${{ steps.build-apm-ruby-ci-reverse-lab.outputs.gem_version }}"
40
40
41
- - name : Run Reverse Lab Scan
41
+ - name : Scan build artifact on the Portal
42
+ id : rl-scan
43
+
44
+ env :
45
+ RLPORTAL_ACCESS_TOKEN : ${{ secrets.REVERSE_LAB_TOKEN }}
46
+
47
+ uses : reversinglabs/gh-action-rl-scanner-cloud-only@v1
48
+ with :
49
+ artifact-to-scan : ${{ steps.build-apm-ruby-ci-reverse-lab.outputs.current_gem }}
50
+ rl-verbose : true
51
+ rl-portal-server : solarwinds
52
+ rl-portal-org : SolarWinds
53
+ rl-portal-group : SaaS-Agents-SWO
54
+ rl-package-url : solarwinds-apm-ruby/apm-ruby@${{ steps.build-apm-ruby-ci-reverse-lab.outputs.gem_version }}
55
+
56
+ - name : report the scan status
57
+ if : success() || failure()
42
58
run : |
43
- docker run --rm \
44
- -u $(id -u):$(id -g) \
45
- -v "$(pwd)/:/packages:ro" \
46
- -v "$(pwd)/reports:/reports" \
47
- -e RLPORTAL_ACCESS_TOKEN=${{ secrets.REVERSE_LAB_TOKEN }} \
48
- reversinglabs/rl-scanner-cloud \
49
- rl-scan \
50
- --rl-portal-server solarwinds \
51
- --rl-portal-org SolarWinds \
52
- --rl-portal-group "SaaS-Agents-SWO" \
53
- --purl solarwinds-apm-ruby/apm-ruby@${{ steps.build-apm-ruby-ci-reverse-lab.outputs.gem_version }} \
54
- --file-path /packages/${{ steps.build-apm-ruby-ci-reverse-lab.outputs.current_gem }} \
55
- --report-path /reports \
56
- --report-format all
57
-
58
- - name : Check Scan Status
59
- working-directory : .github/workflows/scripts
60
- run : ruby ci-reverse-lab-scan.rb
59
+ echo "The status is: '${{ steps.rl-scan.outputs.status }}'"
60
+ echo "The description is: '${{ steps.rl-scan.outputs.description }}'"
0 commit comments