From 5bda381a60ac928a92ca17bfbd5461623bb4218c Mon Sep 17 00:00:00 2001 From: Leonidas Vrachnis Date: Fri, 27 Sep 2024 15:11:11 +0200 Subject: [PATCH] chore: add gitleaks scan (#5036) * chore: add security scan in makefile * merge sec --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b689ade3c1..8d15ae9dcf 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ gotestsum=gotest.tools/gotestsum@v1.11.0 protoc-gen-go=google.golang.org/protobuf/cmd/protoc-gen-go@v1.33.0 protoc-gen-go-grpc=google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 actionlint=github.com/rhysd/actionlint/cmd/actionlint@latest +gitleaks=github.com/zricethezav/gitleaks/v8@v8.18.4 default: build @@ -129,6 +130,7 @@ generate-openapi-spec: install-tools .PHONY: sec sec: ## Run security checks + $(GO) run $(gitleaks) detect . $(GO) run $(govulncheck) ./... ./build/scan_docker.sh ./build/scan_docker.sh -f ./suppression-backup-service/Dockerfile \ No newline at end of file