Skip to content

Commit

Permalink
Revert skipdir change
Browse files Browse the repository at this point in the history
  • Loading branch information
markgov committed Feb 15, 2024
1 parent e7d9a2a commit 93d18be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-static-analysis/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ run_trivy(){
echo "Running Trivy in ${directory}"
terraform_working_dir="${GITHUB_WORKSPACE}/${directory}"
if [[ "${directory}" != *"templates"* ]]; then
trivy fs --scanners vuln,misconfig,secret --exit-code 1 --no-progress --ignorefile ${INPUT_TRIVY_IGNORE} --skip-dirs ${INPUT_TRIVY_SKIP_DIR} --severity ${INPUT_TRIVY_SEVERITY} ${terraform_working_dir} 2>&1
trivy fs --scanners vuln,misconfig,secret --exit-code 1 --no-progress --ignorefile ${INPUT_TRIVY_IGNORE} --severity ${INPUT_TRIVY_SEVERITY} ${terraform_working_dir} 2>&1
trivy_exitcode+=$?
echo "trivy_exitcode=${trivy_exitcode}"
else
Expand Down

0 comments on commit 93d18be

Please sign in to comment.