Skip to content

Commit b98d8c4

Browse files
authored
Merge pull request #5 from appvia/use_trivy_in_make_targets
fix: update make targets to use trivy
2 parents 598daff + d0c3024 commit b98d8c4

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)