diff --git a/.github/workflows/Secrets.yml b/.github/workflows/Secrets.yml index de503e6328..82bc31269f 100644 --- a/.github/workflows/Secrets.yml +++ b/.github/workflows/Secrets.yml @@ -1,16 +1,16 @@ name: Build COMPOSER Package for Secrets on: push: - branches: [ main ] + branches: [ PROD ] pull_request: - branches: [ main ] + branches: [ PROD ] permissions: checks: write contents: read packages: read env: - API_URL: https://app.stage.veribom.com + API_URL: https://app.invisirisk.com jobs: create_scan_in_IR_Portal: @@ -24,7 +24,7 @@ jobs: with: url: '${{env.API_URL}}/utilityapi/v1/scan' method: 'POST' - data: '{"api_key": "${{secrets.VB_API_KEY_STAGE}}"}' + data: '{"api_key": "${{secrets.VB_API_KEY_PROD}}"}' - name: Parse Response id: parseResponse run: echo "scan_id=${{fromJSON(steps.createScan.outputs.response).data.scan_id}}" >> "$GITHUB_OUTPUT" @@ -40,7 +40,7 @@ jobs: id: fetchECRDetails uses: fjogeleit/http-request-action@v1.15.1 with: - url: '${{env.API_URL}}/utilityapi/v1/registry?api_key=${{secrets.VB_API_KEY_STAGE}}' + url: '${{env.API_URL}}/utilityapi/v1/registry?api_key=${{secrets.VB_API_KEY_PROD}}' method: 'GET' - name: Decoding VB Token id: parseToken @@ -58,15 +58,15 @@ jobs: needs: [create_scan_in_IR_Portal, ecr_details] services: pse: - image: 282904853176.dkr.ecr.us-west-2.amazonaws.com/invisirisk/pse-proxy:dev-test + image: 282904853176.dkr.ecr.us-west-2.amazonaws.com/invisirisk/pse-proxy:latest credentials: username: ${{needs.ecr_details.outputs.ecr_username}} password: ${{needs.ecr_details.outputs.ecr_token}} env: PSE_DEBUG_FLAG: --alsologtostderr POLICY_LOG: t - INVISIRISK_JWT_TOKEN: ${{secrets.VB_API_KEY_STAGE}} - INVISIRISK_PORTAL: https://app.stage.veribom.com + INVISIRISK_JWT_TOKEN: ${{secrets.VB_API_KEY_PROD}} + INVISIRISK_PORTAL: https://app.invisirisk.com GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} container: image: ubuntu:latest