Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecurity/trivy: add a new security scanner
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PORTNAME= trivy | ||
DISTVERSION= 0.49.1 | ||
DISTVERSIONPREFIX= v | ||
CATEGORIES= security | ||
|
||
MAINTAINER= mfechner@FreeBSD.org | ||
COMMENT= Security scanner written in go | ||
WWW= https://github.com/aquasecurity/trivy | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
USES= go:modules,1.21 | ||
|
||
GO_MODULE= github.com/aquasecurity/trivy | ||
GO_TARGET= ./cmd/trivy | ||
GO_BUILDFLAGS= -ldflags=" \ | ||
-extldflags '-static' \ | ||
-X github.com/aquasecurity/trivy/pkg/version.ver=${DISTVERSION} \ | ||
-s -w" | ||
|
||
PLIST_FILES= bin/${PORTNAME} | ||
|
||
|
||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TIMESTAMP = 1709899091 | ||
SHA256 (go/security_trivy/trivy-v0.49.1/v0.49.1.mod) = 49e23b72ebeef255b19969704ddf58c118888efad7058ae732cb5701b15b1145 | ||
SIZE (go/security_trivy/trivy-v0.49.1/v0.49.1.mod) = 22827 | ||
SHA256 (go/security_trivy/trivy-v0.49.1/v0.49.1.zip) = 71fd4e3d5abf9e7fdcff4b844cdfdd28cac91a78d36c22de1f581e4bafbe567f | ||
SIZE (go/security_trivy/trivy-v0.49.1/v0.49.1.zip) = 40379854 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, | ||
code repositories, clouds and more |