-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Description
- Query ID set in include_query within the with parameter is not being passed as an argument to the command.
Reproduce
actions
steps:
- name: kics
uses: checkmarx/[email protected]
with:
include_queries: '229588ef-8fde-40c8-8756-f4f2b5825ded'
path: ./kicsExpected Behavior
- The following command is executed
kics -p ./kics -o ./ --report-formats json -q /app/bin/assets/queries --ignore-on-exit results -i 229588ef-8fde-40c8-8756-f4f2b5825ded
Actual Behavior
09:11 - INF : about to scan directory ./kics
09:11 - INF : kics command kics -p ./kics -o ./ --report-formats json -q /app/bin/assets/queries --ignore-on-exit results -i
Error: flag needs an argument: 'i' in -i
Proposed Modification
- Fix the variable definition in entrypoint.sh
kics-github-action/entrypoint.sh
Line 31 in 8a44970
[[ ! -z "$INPUT_INCLUDE_QUERIES" ]] && INCLUDE_QUERIES_PARAM="-i $INPUT_PROFILING"
[[ ! -z "$INPUT_INCLUDE_QUERIES" ]] && INCLUDE_QUERIES_PARAM="-i $INPUT_INCLUDE_QUERIES" cndsv
Metadata
Metadata
Assignees
Labels
No labels