Skip to content

Commit 674ab92

Browse files
author
David Wertenteil
authored
Merge pull request #45 from kubescape/update-ks-version
Updating KS image tag to 2.3.6
2 parents e6dd875 + ab1f55b commit 674ab92

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/kubescape/kubescape:v2.3.0
1+
FROM quay.io/kubescape/kubescape:v2.3.6
22

33
# Kubescape uses root privileges for writing the results to a file
44
USER root

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ inputs:
7878
If enabled, Kubescape will make fixes to the input files. You can then
7979
use these fixes to open Pull Requests from your CI/CD pipeline.
8080
required: false
81-
default: false
81+
default: "false"
8282
runs:
8383
using: docker
8484
image: Dockerfile

entrypoint.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,8 @@ severity_threshold_opt=$(
9696
echo ""
9797
)
9898

99-
# The `kubescape fix` subcommand requires the latest "json" format version.
100-
# Other formats ignore this flag.
101-
format_version_opt="--format-version v2"
102-
10399
# TODO: include artifacts_opt once https://github.com/kubescape/kubescape/issues/1040 is resolved
104-
scan_command="kubescape scan ${frameworks_cmd} ${controls_cmd} ${files} ${account_opt} ${fail_threshold_opt} ${severity_threshold_opt} --format ${output_formats} ${format_version_opt} --output ${output_file} ${verbose} ${exceptions} ${controls-config}"
100+
scan_command="kubescape scan ${frameworks_cmd} ${controls_cmd} ${files} ${account_opt} ${fail_threshold_opt} ${severity_threshold_opt} --format ${output_formats} --output ${output_file} ${verbose} ${exceptions} ${controls-config}"
105101

106102
echo "${scan_command}"
107103
eval "${scan_command}"

0 commit comments

Comments
 (0)