feat(cwe): add cwe into sarif report and KICS CLI results #5762
Workflow file for this run
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-github-action | |
on: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
kics-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run KICS Scan | |
uses: checkmarx/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
path: "./Dockerfile" | |
ignore_on_exit: results | |
enable_comments: true | |
output_path: ./results | |
output_formats: json,html | |
type: dockerfile | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: results | |
path: ./results |