Skip to content

Commit 822beb3

Browse files
authored
Fix warnings in terrascan for protobuf by adding compile time flag in go releaser (#1703)
* fix for crash in lambda function cft yaml if code key is not present * removed duplicate tag image tag * bump up the version to 1.18.5 * added feature to parse cft template for ssm parameter * bumped the version to 1.18.7 * bump up version to v1.18.8 * Sanitize the cft template file for aws:: words as it causes parser to fail * Sanitize the cft template file for aws:: words as it causes parser to fail * increment version * fix tests * fix docker file parsing and rego after go.mod changes * Fix go-getter vulnerability * fix CVE-2022-30636 crypto vulnerability * fix CVE-2022-30636 crypto vulnerability * ignore protobuf warnings * ignore protobuf warnings * remove commented lines * Fix protobuf warnings to be ignored in goreleaser * retrigger sonar analysis
1 parent dedd034 commit 822beb3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ builds:
1414
- windows
1515
- darwin
1616
main: ./cmd/terrascan/main.go
17+
ldflags:
18+
- -s -w -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore
1719
ignore:
1820
- goos: windows
1921
goarch: arm64

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,4 @@ Terrascan is licensed under the [Apache 2.0 License](LICENSE).
233233

234234
[![Forkers @tenable/terrascan](https://reporoster.com/forks/tenable/terrascan)](https://github.com/tenable/terrascan/network/members)
235235

236-
###
236+
####

0 commit comments

Comments
 (0)