Skip to content

Commit

Permalink
Update reference to KICS github action
Browse files Browse the repository at this point in the history
Use kics-github-action instead of kics-action
  • Loading branch information
kaplanlior committed Dec 8, 2022
1 parent e8de947 commit 820a34f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kics-gh-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Run KICS Scan
uses: checkmarx/[email protected]
uses: checkmarx/kics-github-[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: "./Dockerfile"
Expand Down
16 changes: 8 additions & 8 deletions docs/integrations_ghactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ An entry should describe the error and in which line it occurred:
run: mkdir -p results-dir
# Scan Iac with kics
- name: run kics Scan
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform'
output_path: results-dir
Expand Down Expand Up @@ -107,7 +107,7 @@ If you want your pipeline just to fail on HIGH, MEDIUM severity results and KICS
# make sure results dir is created
run: mkdir -p results-dir
- name: run kics Scan
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform,my-other-sub-folder/Dockerfile'
fail_on: high,medium
Expand All @@ -128,7 +128,7 @@ If you want KICS to ignore the results and return exit status code 0 unless a KI
# make sure results dir is created
run: mkdir -p results-dir
- name: run kics Scan
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform'
ignore_on_exit: results
Expand All @@ -152,7 +152,7 @@ You can only enable one profiler at a time, CPU or MEM.
# make sure results dir is created
run: mkdir -p results-dir
- name: run kics Scan
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform'
profiling: MEM
Expand All @@ -175,15 +175,15 @@ on:
jobs:
kics-job:
runs-on: ubuntu-latest
name: kics-action
name: kics-github-action
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Mkdir results-dir
# make sure results dir is created
run: mkdir -p results-dir
- name: Run KICS Scan with SARIF result
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform'
# when provided with a directory on output_path
Expand Down Expand Up @@ -221,7 +221,7 @@ on:
jobs:
kics-job:
runs-on: ubuntu-latest
name: kics-action
name: kics-github-action
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand All @@ -248,7 +248,7 @@ jobs:
}
EOF
- name: Run KICS Scan using config
uses: checkmarx/kics-action@latest
uses: checkmarx/kics-github-action@latest
with:
path: 'terraform'
config_path: ./kics.config
Expand Down
4 changes: 2 additions & 2 deletions examples/github/kics-docker-runner-sarif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
jobs:
kics-job:
runs-on: ubuntu-latest
name: kics-action
name: kics-github-action
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Mkdir results-dir
# make sure results dir is created
run: mkdir -p results-dir
- name: Run KICS Scan with SARIF result
uses: checkmarx/[email protected]
uses: checkmarx/kics-github-[email protected]
with:
# comma separated list of paths
path: 'terraform,my-subdir,my-other-subdir/my-file.tf'
Expand Down

0 comments on commit 820a34f

Please sign in to comment.