Skip to content

Commit f9aca5f

Browse files
authoredMar 30, 2022
Merge pull request accuknox#445 from Ankurk99/dev
update go modules
2 parents e5ed464 + 1bffa74 commit f9aca5f

File tree

5 files changed

+534
-117
lines changed

5 files changed

+534
-117
lines changed
 

‎.github/workflows/ci-go.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-go@v2
1717
with:
18-
go-version: v1.16
18+
go-version: v1.18
1919

2020
- name: Check gofmt
2121
run: gofmt -s -d $(find . -type f -name '*.go' -print)
@@ -40,11 +40,11 @@ jobs:
4040

4141
- uses: actions/setup-go@v2
4242
with:
43-
go-version: v1.16
43+
go-version: v1.18
4444

4545
- name: Run Gosec Security Scanner
4646
run: |
47-
go get -u github.com/securego/gosec/v2/cmd/gosec
47+
go install github.com/securego/gosec/v2/cmd/gosec@latest
4848
go get .
4949
gosec -exclude=G204,G304,G107 -exclude-dir=protobuf/ ./...
5050
working-directory: src

‎.github/workflows/ci-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-go@v2
1717
with:
18-
go-version: v1.16
18+
go-version: v1.18
1919

2020
- name: Unit Test
2121
run: ./tests/test-go-unit.sh
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/setup-go@v2
3030
with:
31-
go-version: v1.16
31+
go-version: v1.18
3232

3333
- name: Setup Env
3434
run: |

‎.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Set up Go
2222
uses: actions/setup-go@v2
2323
with:
24-
go-version: 1.17
24+
go-version: 1.18
2525
-
2626
name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v2

‎src/go.mod

+51-10
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,71 @@
11
module github.com/accuknox/auto-policy-discovery/src
22

3-
go 1.15
3+
go 1.17
44

55
replace (
66
github.com/miekg/dns => github.com/cilium/dns v1.1.4-0.20190417235132-8e25ec9a0ff3
77
github.com/optiopay/kafka => github.com/cilium/kafka v0.0.0-20180809090225-01ce283b732b
8-
k8s.io/client-go => github.com/cilium/client-go v0.0.0-20201020205429-459391bae0e6
98
)
109

1110
require (
1211
github.com/DATA-DOG/go-sqlmock v1.5.0
13-
github.com/cilium/cilium v1.9.5
12+
github.com/cilium/cilium v1.10.0
1413
github.com/confluentinc/confluent-kafka-go v1.6.1
1514
github.com/go-sql-driver/mysql v1.5.0
1615
github.com/google/go-cmp v0.5.5
1716
github.com/kubearmor/KubeArmor/protobuf v0.0.0-20220310101419-a9af4bd8b9f5
1817
github.com/robfig/cron v1.2.0
1918
github.com/rs/zerolog v1.25.0
20-
github.com/spf13/viper v1.6.1
21-
github.com/stretchr/testify v1.6.1
19+
github.com/spf13/viper v1.7.1
20+
github.com/stretchr/testify v1.7.0
2221
go.mongodb.org/mongo-driver v1.5.1
23-
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 // indirect
24-
google.golang.org/grpc v1.35.0
22+
google.golang.org/grpc v1.36.1
2523
google.golang.org/protobuf v1.27.1
2624
gopkg.in/natefinch/lumberjack.v2 v2.0.0
27-
gopkg.in/yaml.v2 v2.3.0
28-
k8s.io/apimachinery v0.19.8
29-
k8s.io/client-go v11.0.0+incompatible
25+
gopkg.in/yaml.v2 v2.4.0
26+
k8s.io/apimachinery v0.23.5
27+
k8s.io/client-go v0.23.5
28+
)
29+
30+
require (
31+
cloud.google.com/go v0.81.0 // indirect
32+
github.com/davecgh/go-spew v1.1.1 // indirect
33+
github.com/fsnotify/fsnotify v1.4.10-0.20200417215612-7f4cf4dd2b52 // indirect
34+
github.com/go-logr/logr v1.2.0 // indirect
35+
github.com/gogo/protobuf v1.3.2 // indirect
36+
github.com/golang/protobuf v1.5.2 // indirect
37+
github.com/google/gofuzz v1.1.0 // indirect
38+
github.com/googleapis/gnostic v0.5.5 // indirect
39+
github.com/hashicorp/hcl v1.0.0 // indirect
40+
github.com/imdario/mergo v0.3.5 // indirect
41+
github.com/json-iterator/go v1.1.12 // indirect
42+
github.com/magiconair/properties v1.8.1 // indirect
43+
github.com/mitchellh/mapstructure v1.4.0 // indirect
44+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
45+
github.com/modern-go/reflect2 v1.0.2 // indirect
46+
github.com/pelletier/go-toml v1.7.0 // indirect
47+
github.com/pmezard/go-difflib v1.0.0 // indirect
48+
github.com/spf13/afero v1.3.4 // indirect
49+
github.com/spf13/cast v1.3.0 // indirect
50+
github.com/spf13/jwalterweatherman v1.0.0 // indirect
51+
github.com/spf13/pflag v1.0.5 // indirect
52+
github.com/subosito/gotenv v1.2.0 // indirect
53+
golang.org/x/net v0.0.0-20211209124913-491a49abca63 // indirect
54+
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
55+
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e // indirect
56+
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
57+
golang.org/x/text v0.3.7 // indirect
58+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
59+
google.golang.org/appengine v1.6.7 // indirect
60+
google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1 // indirect
61+
gopkg.in/inf.v0 v0.9.1 // indirect
62+
gopkg.in/ini.v1 v1.62.0 // indirect
63+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
64+
k8s.io/api v0.23.5 // indirect
65+
k8s.io/klog/v2 v2.30.0 // indirect
66+
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
67+
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
68+
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
69+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
70+
sigs.k8s.io/yaml v1.2.0 // indirect
3071
)

‎src/go.sum

+477-101
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.