Merge pull request #123 from Checkmarx/v2.1.4-updates

Update to KICS v2.1.4
This commit is contained in:
Miguel Silva
2025-01-22 17:24:13 +00:00
committed by GitHub
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
FROM checkmarx/kics:v2.1.3 as kics-env
FROM checkmarx/kics:v2.1.4 as kics-env
FROM cgr.dev/chainguard/wolfi-base:latest

View File

@ -121,7 +121,7 @@ Ensure that you're using the <a href="https://github.com/Checkmarx/kics-github-a
- uses: actions/checkout@v3
# Scan Iac with kics
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
# scanning two directories: ./terraform/ ./cfn-templates/ plus a single file
path: 'terraform,cfn-templates,my-other-sub-folder/Dockerfile'
@ -144,7 +144,7 @@ If you want KICS to ignore the results and return exit status code 0 unless a KI
steps:
- uses: actions/checkout@v3
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: 'terraform'
ignore_on_exit: results
@ -162,7 +162,7 @@ If want your pipeline just to fail on HIGH and MEDIUM severity results and KICS
steps:
- uses: actions/checkout@v3
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: 'terraform,my-other-sub-folder/Dockerfile'
fail_on: high,medium
@ -188,7 +188,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: test/samples/positive1.tf,test/samples/positive2.tf
token: ${{ secrets.GITHUB_TOKEN }}
@ -202,7 +202,7 @@ jobs:
<img alt="KICS Logo" src="https://user-images.githubusercontent.com/111127232/203838108-ad537fea-4573-495a-9619-18500ee81dd9.png">
**KICS version: 2.1.3**
**KICS version: 2.1.4**
<table>
<tr></tr>
@ -247,7 +247,7 @@ You can only enable one profiler at a time, CPU or MEM.
steps:
- uses: actions/checkout@v3
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: 'terraform'
profiling: MEM
@ -278,7 +278,7 @@ jobs:
# make sure results dir is created
run: mkdir -p results-dir
- name: Run KICS Scan with SARIF result
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: 'terraform'
# when provided with a directory on output_path
@ -344,7 +344,7 @@ jobs:
}
EOF
- name: Run KICS Scan using config
uses: checkmarx/kics-github-action@v2.1.3
uses: checkmarx/kics-github-action@v2.1.4
with:
path: 'terraform'
config_path: ./kics.config