Skip to content

Commit 09be150

Browse files
authored
Merge branch 'main' into bugfix/10.5.20/update-agent-hostname
2 parents 81d26dd + 97c3529 commit 09be150

File tree

8 files changed

+75
-80
lines changed

8 files changed

+75
-80
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# UTMStack 10.5.20 Release Notes
22
## Bug Fixes
33
- Fixed the IP location component to accurately determine whether an IP address is public or private.
4+
- Fixed communication from/to agents using secure connections.
5+
- Fixed negative operator evaluation matching on wrong input value due to insufficient checking in correlation engine.
6+
- Reorganized GeoIP database and threat intelligence loading into more modular functions for improved maintainability and code readability. Simplified caching, removed unused database function, and restructured rule-handling logic. Addressed minor variable renames and logging adjustments for consistency.
7+
- Removed unused docker volume configuration for GeoIp.
8+
- Fixed Kernel modules wheren't loaded because incorrect function call
49

510
## New Features
611
- Introduced new standards, sections, dashboards, and visualizations to compliance reports.
7-
- Update ip address to agent
8-
- Alert generation for down data sources
12+
- Update ip address to agent.
13+
- Alert generation for down data sources.

correlation/cache/operators.go

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ import (
1212

1313
func inCIDR(addr, network string) (bool, error) {
1414
_, subnet, err := net.ParseCIDR(network)
15-
if err == nil {
16-
ip := net.ParseIP(addr)
17-
if ip != nil {
18-
if subnet.Contains(ip) {
19-
return true, nil
20-
}
21-
}
15+
if err != nil {
16+
return false, fmt.Errorf("invalid CIDR")
17+
}
18+
ip := net.ParseIP(addr)
19+
if ip == nil {
2220
return false, fmt.Errorf("invalid IP address")
2321
}
24-
return false, err
22+
return subnet.Contains(ip), nil
2523
}
2624

2725
func equal(val1, val2 string) bool {
@@ -54,25 +52,25 @@ func endWith(str, suff string) bool {
5452
return strings.HasSuffix(str, suff)
5553
}
5654

57-
func expresion(exp, str string) (bool, error) {
55+
func expression(exp, str string) (bool, error) {
5856
re, err := regexp.Compile(exp)
59-
if err == nil {
60-
if re.MatchString(str) {
61-
return true, nil
62-
}
57+
if err != nil {
58+
return false, err
6359
}
64-
return false, err
60+
return re.MatchString(str), nil
6561
}
6662

6763
func parseFloats(val1, val2 string) (float64, float64, error) {
68-
f1, err1 := strconv.ParseFloat(val1, 64)
69-
if err1 != nil {
70-
return 0, 0, err1
64+
f1, err := strconv.ParseFloat(val1, 64)
65+
if err != nil {
66+
return 0, 0, err
7167
}
72-
f2, err2 := strconv.ParseFloat(val2, 64)
73-
if err2 != nil {
74-
return 0, 0, err2
68+
69+
f2, err := strconv.ParseFloat(val2, 64)
70+
if err != nil {
71+
return 0, 0, err
7572
}
73+
7674
return f1, f2, nil
7775
}
7876

@@ -105,17 +103,17 @@ func compare(operator, val1, val2 string) bool {
105103
case "not end with":
106104
return !endWith(val1, val2)
107105
case "regexp":
108-
matched, err := expresion(val2, val1)
106+
matched, err := expression(val2, val1)
109107
if err != nil {
110108
return false
111109
}
112110
return matched
113111
case "not regexp":
114-
matched, err := expresion(val2, val1)
112+
matched, err := expression(val2, val1)
115113
if err != nil {
116114
return false
117115
}
118-
return matched
116+
return !matched
119117
case "<":
120118
f1, f2, err := parseFloats(val1, val2)
121119
if err != nil {
@@ -144,24 +142,24 @@ func compare(operator, val1, val2 string) bool {
144142
return true
145143
case "in cidr":
146144
matched, err := inCIDR(val1, val2)
147-
if err == nil {
148-
return matched
145+
if err != nil {
146+
return false
149147
}
150-
return false
148+
return matched
151149
case "not in cidr":
152150
matched, err := inCIDR(val1, val2)
153-
if err == nil {
154-
return !matched
151+
if err != nil {
152+
return false
155153
}
156-
return false
154+
return !matched
157155
default:
158156
return false
159157
}
160158
}
161159

162160
func evalElement(elem, field, operator, value string) bool {
163-
if gjson.Get(elem, field).Exists() {
164-
return compare(operator, gjson.Get(elem, field).String(), value)
161+
if elem := gjson.Get(elem, field); elem.Exists() {
162+
return compare(operator, elem.String(), value)
165163
} else if operator == "not exist" {
166164
return true
167165
}

correlation/config.yml.prod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
rulesFolder: /app/rulesets/
2-
geoipFolder: /app/geosets/
32
elasticsearch: "http://ELASTICSEARCH_HOST:ELASTICSEARCH_PORT"
43
postgresql:
54
server: POSTGRESQL_HOST

correlation/go.mod

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/utmstack/UTMStack/correlation
22

3-
go 1.22.0
4-
5-
toolchain go1.23.5
3+
go 1.23
64

75
require (
86
github.com/fsnotify/fsnotify v1.8.0
@@ -20,7 +18,7 @@ require (
2018

2119
require (
2220
github.com/KyleBanks/depth v1.2.1 // indirect
23-
github.com/bytedance/sonic v1.12.8 // indirect
21+
github.com/bytedance/sonic v1.12.9 // indirect
2422
github.com/bytedance/sonic/loader v0.2.3 // indirect
2523
github.com/cloudwego/base64x v0.1.5 // indirect
2624
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
@@ -32,7 +30,7 @@ require (
3230
github.com/go-openapi/swag v0.23.0 // indirect
3331
github.com/go-playground/locales v0.14.1 // indirect
3432
github.com/go-playground/universal-translator v0.18.1 // indirect
35-
github.com/go-playground/validator/v10 v10.24.0 // indirect
33+
github.com/go-playground/validator/v10 v10.25.0 // indirect
3634
github.com/goccy/go-json v0.10.5 // indirect
3735
github.com/google/go-querystring v1.1.0 // indirect
3836
github.com/josharian/intern v1.0.0 // indirect

correlation/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc=
22
github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE=
3-
github.com/bytedance/sonic v1.12.8 h1:4xYRVRlXIgvSZ4e8iVTlMF5szgpXd4AfvuWgA8I8lgs=
4-
github.com/bytedance/sonic v1.12.8/go.mod h1:uVvFidNmlt9+wa31S1urfwwthTWteBgG0hWuoKAXTx8=
3+
github.com/bytedance/sonic v1.12.9 h1:Od1BvK55NnewtGaJsTDeAOSnLVO2BTSLOe0+ooKokmQ=
4+
github.com/bytedance/sonic v1.12.9/go.mod h1:uVvFidNmlt9+wa31S1urfwwthTWteBgG0hWuoKAXTx8=
55
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
66
github.com/bytedance/sonic/loader v0.2.3 h1:yctD0Q3v2NOGfSWPLPvG2ggA2kV6TS6s4wioyEqssH0=
77
github.com/bytedance/sonic/loader v0.2.3/go.mod h1:N8A3vUdtUebEY2/VQC0MyhYeKUFosQU6FxH2JmUe6VI=
@@ -38,8 +38,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
3838
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
3939
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
4040
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
41-
github.com/go-playground/validator/v10 v10.24.0 h1:KHQckvo8G6hlWnrPX4NJJ+aBfWNAE/HH+qdL2cBpCmg=
42-
github.com/go-playground/validator/v10 v10.24.0/go.mod h1:GGzBIJMuE98Ic/kJsBXbz1x/7cByt++cQ+YOuDM5wus=
41+
github.com/go-playground/validator/v10 v10.25.0 h1:5Dh7cjvzR7BRZadnsVOzPhWsrwUr0nmsZJxEAnFLNO8=
42+
github.com/go-playground/validator/v10 v10.25.0/go.mod h1:GGzBIJMuE98Ic/kJsBXbz1x/7cByt++cQ+YOuDM5wus=
4343
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
4444
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
4545
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=

installer/go.mod

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
11
module github.com/utmstack/UTMStack/installer
22

3-
go 1.21.0
4-
toolchain go1.22.5
3+
go 1.23.0
4+
5+
toolchain go1.23.5
56

67
require (
7-
github.com/cloudfoundry/gosigar v1.3.84
8+
github.com/cloudfoundry/gosigar v1.3.88
89
github.com/levigross/grequests v0.0.0-20231203190023-9c307ef1f48d
10+
github.com/lib/pq v1.10.9
911
github.com/shirou/gopsutil/v3 v3.24.5
10-
gopkg.in/yaml.v2 v2.4.0
1112
gopkg.in/yaml.v3 v3.0.1
1213
)
1314

1415
require (
16+
github.com/go-ole/go-ole v1.3.0 // indirect
1517
github.com/google/go-querystring v1.1.0 // indirect
18+
github.com/kr/pretty v0.3.1 // indirect
19+
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
1620
github.com/pkg/errors v0.9.1 // indirect
21+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
1722
github.com/rogpeppe/go-internal v1.12.0 // indirect
1823
github.com/shoenig/go-m1cpu v0.1.6 // indirect
1924
github.com/shoenig/test v1.8.0 // indirect
20-
github.com/tklauser/numcpus v0.7.0 // indirect
25+
github.com/tklauser/go-sysconf v0.3.14 // indirect
26+
github.com/tklauser/numcpus v0.9.0 // indirect
2127
github.com/yusufpapurcu/wmi v1.2.4 // indirect
22-
golang.org/x/net v0.34.0 // indirect
23-
golang.org/x/sys v0.29.0 // indirect
24-
)
25-
26-
require (
27-
github.com/go-ole/go-ole v1.3.0 // indirect
28-
github.com/kr/pretty v0.3.1 // indirect
29-
github.com/lib/pq v1.10.9
30-
github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74 // indirect
31-
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
32-
github.com/tklauser/go-sysconf v0.3.13 // indirect
28+
golang.org/x/net v0.35.0 // indirect
29+
golang.org/x/sys v0.30.0 // indirect
3330
)

installer/go.sum

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/cloudfoundry/gosigar v1.3.84 h1:6WINPBQQLHcJwJTFaUpFcN9WwPRfuzQidxeq3xZiwoM=
2-
github.com/cloudfoundry/gosigar v1.3.84/go.mod h1:EQ0zg38VQKzEYkmFgaYQ4ETQvI7TDgHhd/8Rk0XjhdI=
1+
github.com/cloudfoundry/gosigar v1.3.88 h1:5DMK13C0wKBYBtDfFEXcgW9LpJK0gGdZRWH2kFeFfnk=
2+
github.com/cloudfoundry/gosigar v1.3.88/go.mod h1:lC508fd/yfkk9XciYdbB/G0KlfaMm8nuhC9aGpZzxxY=
33
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
44
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
55
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -15,8 +15,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1515
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
1616
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
1717
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
18-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg=
19-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
18+
github.com/google/pprof v0.0.0-20250208200701-d0013a598941 h1:43XjGa6toxLpeksjcxs1jIoIyr+vUfOqY2c6HB4bpoc=
19+
github.com/google/pprof v0.0.0-20250208200701-d0013a598941/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
2020
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2121
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
2222
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
@@ -25,8 +25,8 @@ github.com/levigross/grequests v0.0.0-20231203190023-9c307ef1f48d h1:8fVmm2qScPn
2525
github.com/levigross/grequests v0.0.0-20231203190023-9c307ef1f48d/go.mod h1:dFu6nuJHC3u9kCDcyGrEL7LwhK2m6Mt+alyiiIjDrRY=
2626
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
2727
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
28-
github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74 h1:1KuuSOy4ZNgW0KA2oYIngXVFhQcXxhLqCVK7cBcldkk=
29-
github.com/lufia/plan9stats v0.0.0-20240408141607-282e7b5d6b74/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k=
28+
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 h1:7UMa6KCCMjZEMDtTVdcGu0B1GmmC7QJKiCCjyTAWQy0=
29+
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k=
3030
github.com/onsi/ginkgo/v2 v2.22.2 h1:/3X8Panh8/WwhU/3Ssa6rCKqPLuAkVY2I0RoyDLySlU=
3131
github.com/onsi/ginkgo/v2 v2.22.2/go.mod h1:oeMosUL+8LtarXBHu/c0bx2D/K9zyQ6uX3cTyztHwsk=
3232
github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8=
@@ -49,28 +49,26 @@ github.com/shoenig/test v1.8.0 h1:8f4lrmjkoSykT+EfiTtJuWbV4eaNEBWsYXcl1n6C6BY=
4949
github.com/shoenig/test v1.8.0/go.mod h1:UxJ6u/x2v/TNs/LoLxBNJRV9DiwBBKYxXSyczsBHFoI=
5050
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
5151
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
52-
github.com/tklauser/go-sysconf v0.3.13 h1:GBUpcahXSpR2xN01jhkNAbTLRk2Yzgggk8IM08lq3r4=
53-
github.com/tklauser/go-sysconf v0.3.13/go.mod h1:zwleP4Q4OehZHGn4CYZDipCgg9usW5IJePewFCGVEa0=
54-
github.com/tklauser/numcpus v0.7.0 h1:yjuerZP127QG9m5Zh/mSO4wqurYil27tHrqwRoRjpr4=
55-
github.com/tklauser/numcpus v0.7.0/go.mod h1:bb6dMVcj8A42tSE7i32fsIUCbQNllK5iDguyOZRUzAY=
52+
github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
53+
github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY=
54+
github.com/tklauser/numcpus v0.9.0 h1:lmyCHtANi8aRUgkckBgoDk1nHCux3n2cgkJLXdQGPDo=
55+
github.com/tklauser/numcpus v0.9.0/go.mod h1:SN6Nq1O3VychhC1npsWostA+oW+VOQTxZrS604NSRyI=
5656
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
5757
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
58-
golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0=
59-
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
58+
golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=
59+
golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk=
6060
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6161
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6262
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
63-
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
64-
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
65-
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
66-
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
67-
golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE=
68-
golang.org/x/tools v0.29.0/go.mod h1:KMQVMRsVxU6nHCFXrBPhDB8XncLNLM0lIy/F14RP588=
63+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
64+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
65+
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
66+
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
67+
golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY=
68+
golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY=
6969
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
7070
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
7171
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
7272
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
73-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
74-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
7573
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
7674
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

installer/utils/os.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os/exec"
77
"path/filepath"
88

9-
"gopkg.in/yaml.v2"
9+
"gopkg.in/yaml.v3"
1010
)
1111

1212
func RunEnvCmd(env []string, command string, arg ...string) error {

0 commit comments

Comments
 (0)