use application profile instead of sbomp for relevancy #1341
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: Kubescape scanning for misconfigurations | |
on: | |
push: | |
paths: | |
- 'charts/**.yaml' | |
- 'charts/**.tpl' | |
jobs: | |
kubescape: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: kubescape/github-action@main | |
continue-on-error: true | |
with: | |
frameworks: "allcontrols,workloadscan" | |
format: sarif | |
outputFile: results.sarif | |
severityThreshold: critical | |
account: ${{secrets.KUBESCAPE_ACCOUNT }} | |
accessKey: ${{secrets.KUBESCAPE_ACCESS_KEY }} | |
- name: Upload Kubescape scan results to Github Code Scanning | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: results.sarif |