feat: Added some standard workflows. #1
Annotations
10 errors
Scan for issues:
cmd/root.go#L320
type must not be placed after func (desired order: const,var,type,func) (decorder)
|
Scan for issues:
crowdstrike/crowdstrike.go#L54
Error return value of `response.Body.Close` is not checked (errcheck)
|
Scan for issues:
crowdstrike/crowdstrike.go#L91
Error return value of `response.Body.Close` is not checked (errcheck)
|
Scan for issues:
crowdstrike/crowdstrike.go#L121
Error return value of `response.Body.Close` is not checked (errcheck)
|
Scan for issues:
crowdstrike/crowdstrike.go#L128
Error return value of `f.Close` is not checked (errcheck)
|
Scan for issues:
cmd/utils.go#L57
cognitive complexity 158 of func `filterData` is high (> 20) (gocognit)
|
Scan for issues:
cmd/utils.go#L63
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Scan for issues:
cmd/utils.go#L70
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Scan for issues:
cmd/utils.go#L80
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Scan for issues:
cmd/utils.go#L98
ifElseChain: rewrite if-else to switch statement (gocritic)
|