diff --git a/.github/workflows/Securin-aspm.yaml b/.github/workflows/Securin-aspm.yaml index c4a9913..953a376 100644 --- a/.github/workflows/Securin-aspm.yaml +++ b/.github/workflows/Securin-aspm.yaml @@ -13,7 +13,7 @@ jobs: env: APP_ID: 2d5dc9181d1d2bcb426d2661b049619cffa2f845bdacd52e3b09003e1049831e BRANCH_NAME: main - SCAN_ID: c6eafc83720a6c3400daca57a9ded7d9856dbf48069c82edb400b93d5f14f86d + SCAN_ID: e9a61cbb69a3e1a0a9480badeb690f16187c151a4b20512c2bc64625860ac1f1 REQ_URL_MAP: "${{toJSON('{\"SL_RESULT_API_HOST\":\"https://slresultapi.securin.io/resultapi\"\ ,\"SL_RESULTPARSER_API_HOST\":\"https://slresultparserapi.securin.io/resultparserapi\"\ }')}}" @@ -37,15 +37,10 @@ jobs: \ ) \ndocker login --username $usrVal --password $usrPassword $usrPrxyUrl\ \ \ndocker pull -q $usrImgTag \ndocker run -v ${{github.workspace}}:/src \ \ --volume ${{github.workspace}}:/workdir -v /var/run/docker.sock:/var/run/docker.sock\ - \ $usrImgTag -org_api_key ${{secrets.ORG_API_KEY}} -app_id ${{ env.APP_ID\ - \ }} -scan_id ${{ env.SCAN_ID }} -branch_name ${{ env.BRANCH_NAME }} -req_url_map\ - \ ${{ env.REQ_URL_MAP }} -tool_name github event:${{ github.event_name }}\ - \ pr_number:${{ github.event.number }} -upload_log true" - - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: "${{github.workspace}}/results/result.sarif" - if: hashFiles('**/result.sarif') !='' + \ $usrImgTag -api_key ${{secrets.ORG_API_KEY}} -wrkspc_id ${{secrets.WORKSPACE_ID}}\ + \ -app_id ${{ env.APP_ID }} -scan_id ${{ env.SCAN_ID }} -branch_name ${{ env.BRANCH_NAME\ + \ }} -req_url_map ${{ env.REQ_URL_MAP }} -tool_name github event:${{ github.event_name\ + \ }} pr_number:${{ github.event.number }} -upload_log true" - name: Evaluate build status run: "cat ${{github.workspace}}/results/status.txt\nexit 1\n" if: hashFiles('**/status.txt') !=''