Skip to content

Commit ca81b0b

Browse files
authored
Merge pull request #54 from hazcod/dep/update
Dependency Updates
2 parents 1092845 + 224b439 commit ca81b0b

File tree

3 files changed

+85
-3
lines changed

3 files changed

+85
-3
lines changed

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ func main() {
113113
}
114114

115115
if !hasDevice {
116-
117116
isWhitelisted := false
117+
118118
for _, whitelist := range config.Email.Whitelist {
119-
if strings.EqualFold(whitelist, userEmail) {
119+
if strings.EqualFold(strings.TrimSpace(whitelist), strings.TrimSpace(userEmail)) {
120120
isWhitelisted = true
121121
break
122122
}

go.mod

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,28 @@ module github.com/hazcod/crowdstrike-spotlight-slacker
33
go 1.16
44

55
require (
6-
github.com/crowdstrike/gofalcon v0.2.14-0.20211026142948-62733f384b4d
6+
github.com/aws/aws-sdk-go v1.34.28 // indirect
7+
github.com/crowdstrike/gofalcon v0.2.19
8+
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 // indirect
9+
github.com/golang/protobuf v1.5.2 // indirect
10+
github.com/gorilla/websocket v1.5.0 // indirect
711
github.com/kelseyhightower/envconfig v1.4.0
12+
github.com/kisielk/errcheck v1.2.0 // indirect
13+
github.com/kr/pty v1.1.5 // indirect
14+
github.com/pborman/uuid v1.2.0 // indirect
815
github.com/pkg/errors v0.9.1
916
github.com/sirupsen/logrus v1.8.1
1017
github.com/slack-go/slack v0.10.2
18+
github.com/stretchr/objx v0.2.0 // indirect
19+
github.com/vektah/gqlparser v1.1.2 // indirect
20+
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect
21+
github.com/xdg/stringprep v0.0.0-20180714160509-73f8eece6fdc // indirect
22+
go.mongodb.org/mongo-driver v1.8.4 // indirect
23+
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
24+
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a // indirect
25+
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f // indirect
26+
google.golang.org/appengine v1.6.7 // indirect
27+
google.golang.org/protobuf v1.28.0 // indirect
1128
gopkg.in/errgo.v2 v2.1.0
1229
gopkg.in/yaml.v2 v2.4.0
1330
)

0 commit comments

Comments
 (0)