Skip to content

Commit

Permalink
fix: update make targets to use trivy (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
myjaffoo authored May 30, 2024
1 parent 9c8d8fe commit 413df9f
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 413df9f

Please sign in to comment.