Skip to content

Commit 7e456a2

Browse files
authored
fix: update make targets to use trivy (#21)
1 parent 3f318c0 commit 7e456a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ init:
5959

6060
security:
6161
@echo "--> Running Security checks"
62-
@tfsec .
62+
@trivy config .
6363
$(MAKE) security-modules
6464
$(MAKE) security-examples
6565

@@ -68,7 +68,7 @@ security-modules:
6868
@if [ -d modules ]; then \
6969
find modules -type d -mindepth 1 -maxdepth 1 | while read -r dir; do \
7070
echo "--> Validating $$dir"; \
71-
tfsec $$dir; \
71+
trivy config $$dir; \
7272
done; \
7373
fi
7474

@@ -77,7 +77,7 @@ security-examples:
7777
@if [ -d examples ]; then \
7878
find examples -type d -mindepth 1 -maxdepth 1 | while read -r dir; do \
7979
echo "--> Validating $$dir"; \
80-
tfsec $$dir; \
80+
trivy config $$dir; \
8181
done; \
8282
fi
8383

0 commit comments

Comments
 (0)