chore: revert e6b9f238775f6c7122c54dd019ddf9d1084e72b #52
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: security | |
on: | |
push: | |
branches: [main] | |
paths: [Dockerfile] | |
pull_request: | |
branches: [main] | |
paths: [Dockerfile] | |
permissions: | |
# required for all workflows | |
security-events: write | |
# only required for workflows in private repositories | |
actions: read | |
contents: read | |
jobs: | |
kics: | |
runs-on: ubuntu-latest | |
name: kics | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run KICS Scan with SARIF result | |
uses: checkmarx/[email protected] | |
with: | |
path: 'Dockerfile' | |
platform_type: Dockerfile | |
fail_on: high | |
output_formats: 'json,sarif' | |
exclude_queries: b03a748a-542d-44f4-bb86-9199ab4fd2d5,fd54f200-402c-4333-a5a4-36ef6709af2f | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif |