Skip to content

Commit b81874a

Browse files
authored
fix: update make targets to use trivy (#14)
* fix: update make targets to use trivy * fix: ignore aws check
1 parent 5bcd83a commit b81874a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.trivyignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
AVD-AWS-0066
12
AVD-AWS-0067
23
AVD-AWS-0057

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ init:
6060

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

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

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

0 commit comments

Comments
 (0)