Skip to content

Commit

Permalink
Add security/tfsec: Security scanner for Terraform
Browse files Browse the repository at this point in the history
PR:		267319
  • Loading branch information
dtrsh authored and lwhsu committed Oct 25, 2022
1 parent 8022bde commit 0155f0a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
SUBDIR += kc24
SUBDIR += kdbxviewer
SUBDIR += keepass
SUBDIR += keepass-diff
SUBDIR += keepass-plugin-keepassrpc
SUBDIR += keepassxc
SUBDIR += keybase
Expand Down Expand Up @@ -1243,6 +1244,7 @@
SUBDIR += teleport
SUBDIR += testssl.sh
SUBDIR += tfhe
SUBDIR += tfsec
SUBDIR += theonionbox
SUBDIR += tinc
SUBDIR += tinc-devel
Expand Down
22 changes: 22 additions & 0 deletions security/tfsec/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PORTNAME= tfsec
DISTVERSIONPREFIX= v
DISTVERSION= 1.28.0
CATEGORIES= security

MAINTAINER= 0xdutra@gmail.com
COMMENT= Security scanner for Terraform
WWW= https://aquasecurity.github.io/tfsec

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= go:modules

GO_MODULE= github.com/aquasecurity/tfsec
GO_TARGET= ./cmd/${PORTNAME}

GO_BUILDFLAGS= -ldflags="version.Version=${DISTVERSION}"

PLIST_FILES= bin/${PORTNAME}

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions security/tfsec/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TIMESTAMP = 1663944299
SHA256 (go/security_tfsec/tfsec-v1.28.0/v1.28.0.mod) = 7d4d1b7236665ee2d02aa052acc61b5afe2456ebbc3f2c014a66840469a62185
SIZE (go/security_tfsec/tfsec-v1.28.0/v1.28.0.mod) = 5092
SHA256 (go/security_tfsec/tfsec-v1.28.0/v1.28.0.zip) = 08cc1cbff5f2f41751d36d7a690a835fd797d25e03852c733f79cd9d831cab4c
SIZE (go/security_tfsec/tfsec-v1.28.0/v1.28.0.zip) = 6830052
3 changes: 3 additions & 0 deletions security/tfsec/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tool for static analysis of your terraform code to spot misconfigurations.
Scan remote and local Terraform modules, support modules outputs formats:
JSON, SARIF, CSV, CheckStyle, JUnit, text, Gif.

0 comments on commit 0155f0a

Please sign in to comment.