-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix action name to the repo name (#45)
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ And official documentation page <a href="https://docs.kics.io">docs.kics.io</a> | |
- uses: actions/checkout@v2 | ||
# Scan Iac with kics | ||
- name: run kics Scan | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
# scanning two directories: ./terraform/ ./cfn-templates/ plus a single file | ||
path: 'terraform,cfn-templates,my-other-sub-folder/Dockerfile' | ||
|
@@ -111,7 +111,7 @@ If you want KICS to ignore the results and return exit status code 0 unless a KI | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: run kics Scan | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
path: 'terraform' | ||
ignore_on_exit: results | ||
|
@@ -129,7 +129,7 @@ If want your pipeline just to fail on HIGH and MEDIUM severity results and KICS | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: run kics Scan | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
path: 'terraform,my-other-sub-folder/Dockerfile' | ||
fail_on: high,medium | ||
|
@@ -155,7 +155,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: run kics Scan | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
path: test/samples/positive1.tf,test/samples/positive2.tf | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -214,7 +214,7 @@ You can only enable one profiler at a time, CPU or MEM. | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: run kics Scan | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
path: 'terraform' | ||
profiling: MEM | ||
|
@@ -245,7 +245,7 @@ jobs: | |
# 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: | ||
path: 'terraform' | ||
# when provided with a directory on output_path | ||
|
@@ -310,7 +310,7 @@ jobs: | |
} | ||
EOF | ||
- name: Run KICS Scan using config | ||
uses: checkmarx/[email protected] | ||
uses: checkmarx/kics-github-[email protected] | ||
with: | ||
path: 'terraform' | ||
config_path: ./kics.config | ||
|