Skip to content

Commit

Permalink
merge sec
Browse files Browse the repository at this point in the history
  • Loading branch information
lvrach committed Sep 27, 2024
1 parent cca1696 commit 32dd2dc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ fmt: install-tools ## Formats all go files
$(GO) run .github/tools/matrixchecker/main.go
./build/docker-go-version.sh Dockerfile ./suppression-backup-service/Dockerfile

.PHONY: sec
sec: ## Run security checks
$(GO) run $(gitleaks) detect .
$(GO) run $(govulncheck) ./...
trufflehog filesystem . --no-verification -x .trufflehogignore

.PHONY: proto
proto: install-tools ## Generate protobuf files
protoc --go_out=paths=source_relative:. proto/**/*.proto
Expand All @@ -136,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 32dd2dc

Please sign in to comment.