Skip to content

Commit c9d631f

Browse files
committed
Upgrade AWS Security Hub to v0.0.2
- 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.
1 parent 00b514f commit c9d631f

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

collector/go.mod

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
module aws-security-hub/collector
22

3-
go 1.15
3+
go 1.19
44

55
require (
66
github.com/aws/aws-lambda-go v1.26.0
77
github.com/logzio/logzio-go v1.0.2
88
github.com/sirupsen/logrus v1.8.1
99
github.com/stretchr/testify v1.6.1
1010
)
11+
12+
require (
13+
github.com/StackExchange/wmi v1.2.0 // indirect
14+
github.com/beeker1121/goque v2.1.0+incompatible // indirect
15+
github.com/davecgh/go-spew v1.1.1 // indirect
16+
github.com/go-ole/go-ole v1.2.5 // indirect
17+
github.com/golang/snappy v0.0.4 // indirect
18+
github.com/pmezard/go-difflib v1.0.0 // indirect
19+
github.com/shirou/gopsutil/v3 v3.21.6 // indirect
20+
github.com/syndtr/goleveldb v1.0.0 // indirect
21+
go.uber.org/atomic v1.9.0 // indirect
22+
golang.org/x/sys v0.1.0 // indirect, relates to: https://github.com/sirupsen/logrus/pull/1402
23+
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
24+
)

collector/sam/template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Resources:
77
Properties:
88
Code:
99
S3Bucket: logzio-aws-integrations-us-east-1
10-
S3Key: aws-security-hub-collector/0.0.1/function.zip
10+
S3Key: aws-security-hub-collector/0.0.2/function.zip
1111
Description: >
1212
Go executable of lambda function that receives an AWS Security Hub event and sends it to logz.io.
1313
Environment:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module aws-security-hub
22

3-
go 1.15
3+
go 1.19

0 commit comments

Comments
 (0)