Skip to content

feat: Added some standard workflows. #1

feat: Added some standard workflows.

feat: Added some standard workflows. #1

Triggered via push April 30, 2024 17:19
Status Failure
Total duration 3m 22s
Artifacts
Scan for issues
3m 11s
Scan for issues
Fit to window
Zoom out
Zoom in

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)