Update synopsys-blackduck.yml #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Polaris Security Scan | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| - stage | |
| - release | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| - stage | |
| - release | |
| workflow_dispatch: {} | |
| jobs: | |
| polaris: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Polaris Security Scan | |
| id: polaris-scan | |
| uses: blackduck-inc/black-duck-security-scan@v2 | |
| with: | |
| polaris_server_url: ${{ vars.POLARIS_URL }} | |
| polaris_access_token: ${{ secrets.POLARIS_ACCESS_TOKEN }} | |
| polaris_application_name: mkoishi-${{ github.event.repository.name }} | |
| polaris_assessment_types: SAST,SCA | |
| polaris_waitForScan: true | |
| mark_build_status: failure | |
| include_diagnostics: false | |
| polaris_prComment_enabled: false | |
| polaris_reports_sarif_create: false | |
| polaris_upload_sarif_report: false |