Skip to content

Commit

Permalink
Upgrade AWS Security Hub to v0.0.2
Browse files Browse the repository at this point in the history
- Upgraded Go support to v1.19
- Modified location of function files to new version 0.0.2.
- Fixed CVE-2022-29526
  - Upgraded the golang.org/x/sys dependency indirectly as it relates to this issue: sirupsen/logrus#1402.
  • Loading branch information
ralongit committed Nov 20, 2023
1 parent 00b514f commit c9d631f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion collector/go.mod
@@ -1,10 +1,24 @@
module aws-security-hub/collector

go 1.15
go 1.19

require (
github.com/aws/aws-lambda-go v1.26.0
github.com/logzio/logzio-go v1.0.2
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.6.1
)

require (
github.com/StackExchange/wmi v1.2.0 // indirect
github.com/beeker1121/goque v2.1.0+incompatible // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/shirou/gopsutil/v3 v3.21.6 // indirect
github.com/syndtr/goleveldb v1.0.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/sys v0.1.0 // indirect, relates to: https://github.com/sirupsen/logrus/pull/1402
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
)
2 changes: 1 addition & 1 deletion collector/sam/template.yaml
Expand Up @@ -7,7 +7,7 @@ Resources:
Properties:
Code:
S3Bucket: logzio-aws-integrations-us-east-1
S3Key: aws-security-hub-collector/0.0.1/function.zip
S3Key: aws-security-hub-collector/0.0.2/function.zip
Description: >
Go executable of lambda function that receives an AWS Security Hub event and sends it to logz.io.
Environment:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,3 +1,3 @@
module aws-security-hub

go 1.15
go 1.19

0 comments on commit c9d631f

Please sign in to comment.