OPSEXP-2916: Add ACS audit component image build #413
This file contains 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 | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
permissions: | |
security-events: write | |
contents: write | |
jobs: | |
kics: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run KICS Scan | |
uses: checkmarx/kics-github-action@94469746ec2c43de89a42fb9d2a80070f5d25b16 # v2.1.3 | |
with: | |
path: './' | |
ignore_on_exit: results | |
output_path: report-dir/ | |
token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
enable_jobs_summary: true | |
platform_type: dockerfile | |
disable_secrets: true | |
output_formats: sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 | |
with: | |
sarif_file: report-dir/results.sarif |