Skip to content

Commit

Permalink
Merge pull request #5 from appvia/use_trivy_in_make_targets
Browse files Browse the repository at this point in the history
fix: update make targets to use trivy
  • Loading branch information
gambol99 authored May 30, 2024
2 parents 598daff + d0c3024 commit b98d8c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ init:

security:
@echo "--> Running Security checks"
@tfsec .
@trivy config .
$(MAKE) security-examples

security-examples:
@echo "--> Running Security checks on examples"
@find examples -type d -mindepth 1 -maxdepth 1 | while read -r dir; do \
echo "--> Validating $$dir"; \
tfsec $$dir; \
trivy config $$dir; \
done

validate-all:
Expand Down

0 comments on commit b98d8c4

Please sign in to comment.