Skip to content

Commit

Permalink
Merge pull request #115 from Checkmarx/gabriel-cx-patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
gabriel-cx committed Jun 12, 2024
2 parents aacf8e8 + 2376e99 commit 53e5f46
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
# scanning two directories: ./terraform/ ./cfn-templates/ plus a single file
path: 'terraform,cfn-templates,my-other-sub-folder/Dockerfile'
Expand All @@ -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.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: 'terraform'
ignore_on_exit: results
Expand All @@ -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.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: 'terraform,my-other-sub-folder/Dockerfile'
fail_on: high,medium
Expand All @@ -188,7 +188,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: run kics Scan
uses: checkmarx/kics-github-action@v2.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: test/samples/positive1.tf,test/samples/positive2.tf
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -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.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: 'terraform'
profiling: MEM
Expand Down Expand Up @@ -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.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: 'terraform'
# when provided with a directory on output_path
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
}
EOF
- name: Run KICS Scan using config
uses: checkmarx/kics-github-action@v2.0.0
uses: checkmarx/kics-github-action@v2.1.0
with:
path: 'terraform'
config_path: ./kics.config
Expand Down

0 comments on commit 53e5f46

Please sign in to comment.