Skip to content

Commit d0c3024

Browse files
committed
fix: update make targets to use trivy
1 parent 598daff commit d0c3024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ init:
4343

4444
security:
4545
@echo "--> Running Security checks"
46-
@tfsec .
46+
@trivy config .
4747
$(MAKE) security-examples
4848

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

5656
validate-all:

0 commit comments

Comments
 (0)