Run KICS on push #19
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 Security Scan | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
pull_request: | |
push: | |
merge_group: | |
schedule: | |
- cron: '15 6 * * 4' | |
jobs: | |
kics: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Mkdir results-dir | |
# make sure results dir is created | |
run: mkdir -p results-dir | |
- name: run kics Scan | |
uses: Checkmarx/kics-github-action@94469746ec2c43de89a42fb9d2a80070f5d25b16 # v2.1.3 | |
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 |