Skip to content

Commit

Permalink
chore: add gitleaks scan (#5036)
Browse files Browse the repository at this point in the history
* chore: add security scan in makefile

* merge sec
  • Loading branch information
lvrach committed Sep 27, 2024
1 parent 0536285 commit 5bda381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit 5bda381

Please sign in to comment.