Bump Checkmarx/kics-github-action from 4063ea7186bec9fed1bf055e095a4658693f9998 to adb675615871acaa5238d433dce4807d485f993f #524
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: KICS Security Scan | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| logLevel: | |
| description: 'Log level' | |
| required: true | |
| default: 'warning' | |
| type: choice | |
| options: | |
| - info | |
| - warning | |
| - debug | |
| pull_request: | |
| push: | |
| branches: | |
| - 'main' | |
| merge_group: | |
| schedule: | |
| - cron: '15 6 * * 4' | |
| jobs: | |
| kics: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Mkdir results-dir | |
| # make sure results dir is created | |
| run: mkdir -p results-dir | |
| - name: run kics Scan | |
| uses: Checkmarx/kics-github-action@adb675615871acaa5238d433dce4807d485f993f # v2.1.19 | |
| with: | |
| # path: 'roles,plugins' | |
| path: '.' | |
| # fail_on: high | |
| ignore_on_exit: results | |
| output_formats: 'json,sarif' | |
| output_path: results-dir | |
| - name: Upload SARIF file | |
| uses: github/codeql-action/upload-sarif@af56b044b5d41c317aef5d19920b3183cb4fbbec # v3 | |
| with: | |
| sarif_file: results-dir/results.sarif |