Skip to content

Update listing with threatintel-2024-06-30_00-02-27 #1843

Update listing with threatintel-2024-06-30_00-02-27

Update listing with threatintel-2024-06-30_00-02-27 #1843

Triggered via push June 30, 2024 00:14
Status Failure
Total duration 44s
Artifacts
lint-server
34s
lint-server
lint-bootstrapper
28s
lint-bootstrapper
lint-utils
22s
lint-utils
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 4 warnings
lint-utils: deepfence_utils/controls/agent.go#L45
ST1003: should not use ALL_CAPS in Go names; use CamelCase instead (stylecheck)
lint-utils: deepfence_utils/controls/agent.go#L144
ST1003: struct field ScanId should be ScanID (stylecheck)
lint-utils: deepfence_utils/controls/agent.go#L145
ST1003: struct field AccountId should be AccountID (stylecheck)
lint-utils: deepfence_utils/controls/agent.go#L151
ST1003: struct field AgentNodeId should be AgentNodeID (stylecheck)
lint-utils: deepfence_utils/controls/agent.go#L157
ST1003: struct field Id should be ID (stylecheck)
lint-utils: deepfence_utils/controls/agent.go#L163
ST1003: struct field NodeId should be NodeID (stylecheck)
lint-utils: deepfence_utils/directory/neo4j.go#L31
SA1019: neo4j.Config is deprecated: please use config.Config directly. This alias will be removed in 6.0. (staticcheck)
lint-utils
issues found
lint-bootstrapper: deepfence_bootstrapper/supervisor/process.go#L355
commentFormatting: put a space between `//` and comment text (gocritic)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L117
Error return value of `conn.SetReadDeadline` is not checked (errcheck)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L162
Error return value of `conn.SetReadDeadline` is not checked (errcheck)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L118
unslice: could simplify buf[:] to buf (gocritic)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L163
unslice: could simplify buf[:] to buf (gocritic)
lint-bootstrapper: deepfence_bootstrapper/router/upgrade.go#L82
exitAfterDefer: log.Fatal will exit, and `defer os.Remove(dir)` will not run (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L133
commentFormatting: put a space between `//` and comment text (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L149
commentFormatting: put a space between `//` and comment text (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L49
ifElseChain: rewrite if-else to switch statement (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L39
var `binaryOnly` is unused (unused)
lint-server: deepfence_server/ingesters/scan_status.go#L337
ineffectual assignment to hostNeo4jNodeType (ineffassign)
lint-server: deepfence_server/pkg/registry/ecr/client.go#L58
func `getAWSAccountID` is unused (unused)
lint-server: deepfence_server/pkg/registry/ecr/ecr.go#L17
var `errAccountIDMissing` is unused (unused)
lint-server: deepfence_server/pkg/registry/harbor/client.go#L70
File is not `gofmt`-ed with `-s` (gofmt)
lint-server: deepfence_server/pkg/registry/harbor/client.go#L71
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint-server: deepfence_server/pkg/registry/harbor/client.go#L106
printf: (*github.com/rs/zerolog.Event).Msgf format %s has arg artifacts of wrong type []github.com/deepfence/ThreatMapper/deepfence_server/pkg/registry/harbor.Artifact (govet)
lint-server: deepfence_server/controls/agent.go#L642
commentFormatting: put a space between `//` and comment text (gocritic)
lint-server: deepfence_server/controls/agent.go#L90
ineffectual assignment to workNumToExtract (ineffassign)
lint-server: deepfence_server/controls/kubernetes_cluster.go#L41
ineffectual assignment to workNumToExtract (ineffassign)
lint-server: deepfence_server/pkg/registry/dockerprivate/client.go#L69
File is not `gofmt`-ed with `-s` (gofmt)
lint-utils
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-bootstrapper
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-server
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-server
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/