Skip to content

Update listing with threatintel-2024-06-29_00-02-25 #1840

Update listing with threatintel-2024-06-29_00-02-25

Update listing with threatintel-2024-06-29_00-02-25 #1840

Triggered via push June 29, 2024 00:14
Status Failure
Total duration 49s
Artifacts
lint-server
38s
lint-server
lint-bootstrapper
36s
lint-bootstrapper
lint-utils
20s
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/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/reporters/graph/threat_graph.go#L294
SA1019: node.Id is deprecated: Id is deprecated and will be removed in 6.0. Use ElementId instead. (staticcheck)
lint-server: deepfence_server/reporters/graph/threat_graph.go#L298
SA1019: node.Id is deprecated: Id is deprecated and will be removed in 6.0. Use ElementId instead. (staticcheck)
lint-server: deepfence_server/reporters/graph/threat_graph.go#L301
SA1019: node.Id is deprecated: Id is deprecated and will be removed in 6.0. Use ElementId instead. (staticcheck)
lint-server: deepfence_server/pkg/registry/jfrog/client.go#L72
File is not `gofmt`-ed with `-s` (gofmt)
lint-server: deepfence_server/pkg/registry/jfrog/client.go#L73
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint-server: deepfence_server/ingesters/scan_status.go#L337
ineffectual assignment to hostNeo4jNodeType (ineffassign)
lint-server: deepfence_server/pkg/constants/version.go#L17
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
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/