Skip to content

Commit

Permalink
Fix warnings in terrascan for protobuf by adding compile time flag in…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
nmoretenable authored Sep 10, 2024
1 parent dedd034 commit 822beb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ builds:
- windows
- darwin
main: ./cmd/terrascan/main.go
ldflags:
- -s -w -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore
ignore:
- goos: windows
goarch: arm64
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ Terrascan is licensed under the [Apache 2.0 License](LICENSE).

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

###
####

0 comments on commit 822beb3

Please sign in to comment.