Modify polaris assessment types and disable reports #45
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
| # example workflow for Polaris scans using the Black Duck Security Scan Action | |
| # https://github.com/marketplace/actions/black-duck-security-scan | |
| name: polaris-ss-action | |
| on: | |
| push: | |
| branches: [ main, master, develop, stage, release ] | |
| pull_request: | |
| branches: [ main, master, develop, stage, release ] | |
| workflow_dispatch: | |
| jobs: | |
| polaris: | |
| runs-on: linux64-vpn | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v6 | |
| - name: Setup Java JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: temurin | |
| cache: maven | |
| - name: Polaris Scan | |
| uses: blackduck-inc/black-duck-security-scan@v2 | |
| env: | |
| BRIDGE_SIGNAL_LLM_URL: ${{ vars.LLM_URL }} | |
| BRIDGE_SIGNAL_LLM_KEY: ${{ secrets.LLM_KEY }} | |
| with: | |
| polaris_server_url: ${{ vars.POLARIS_SERVERURL }} | |
| polaris_access_token: ${{ secrets.POLARIS_ACCESSTOKEN }} | |
| polaris_assessment_types: AI | |
| polaris_application_name: chuckaude-${{ github.event.repository.name }} | |
| polaris_prComment_enabled: false | |
| polaris_reports_sarif_create: false | |
| polaris_upload_sarif_report: false | |
| coverity_build_command: mvn -B -DskipTests package | |
| coverity_clean_command: mvn -B clean | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| include_diagnostics: false |