Skip to content

Commit

Permalink
remove extra char
Browse files Browse the repository at this point in the history
  • Loading branch information
birkan-kolcu committed Mar 11, 2024
1 parent fee2a89 commit a656216
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config-checks.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
- if [ ! -e ${TRIVY_CACHE_DIR}config-checks.tpl ]; then wget --no-verbose https://raw.githubusercontent.com/ambient-innovation/gitlab-trivy-config-checks/main/config-checks.tpl -O ${TRIVY_CACHE_DIR}config-checks.tpl; fi
allow_failure: true
script:
## Report results to json file
# Report results to json file
- trivy config --ignorefile ${TRIVY_IGNOREFILE_DIR} --exit-code 0 --format template --template "@{TRIVY_CACHE_DIR}config-checks.tpl" -o ${FILENAME} ${DIRECTORY} >/dev/null 2>&1 || true
## Report results as table
# Report results as table
- trivy config --ignorefile ${TRIVY_IGNOREFILE_DIR} --exit-code ${EXIT_CODE_ON_FINDINGS} --format table ${DIRECTORY}
cache:
paths:
Expand Down
4 changes: 2 additions & 2 deletions config-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ config_scanning:
- if [ ! -e ${TRIVY_CACHE_DIR}config-checks.tpl ]; then wget --no-verbose https://raw.githubusercontent.com/ambient-innovation/gitlab-trivy-config-checks/main/config-checks.tpl -O ${TRIVY_CACHE_DIR}config-checks.tpl; fi
allow_failure: true
script:
## Report results to json file
# Report results to json file
- trivy config --ignorefile ${TRIVY_IGNOREFILE_DIR} --exit-code 0 --format template --template "@{TRIVY_CACHE_DIR}config-checks.tpl" -o ${FILENAME} ${DIRECTORY} >/dev/null 2>&1 || true
## Report results as table
# Report results as table
- trivy config --ignorefile ${TRIVY_IGNOREFILE_DIR} --exit-code ${EXIT_CODE_ON_FINDINGS} --format table ${DIRECTORY}
cache:
paths:
Expand Down

0 comments on commit a656216

Please sign in to comment.