Skip to content

[DO NOT MERGE] test code ql detection #11618

[DO NOT MERGE] test code ql detection

[DO NOT MERGE] test code ql detection #11618

Triggered via pull request July 31, 2024 00:17
Status Failure
Total duration 10m 13s
Artifacts

golangci.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
Lint (1.21.x, ubuntu-latest): cns/restserver/api.go#L803
Error return value of `nc.Create` is not checked (errcheck)
Lint (1.21.x, ubuntu-latest): cns/networkcontainers/networkcontainers.go#L66
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, ubuntu-latest): cns/restserver/api.go#L794
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, ubuntu-latest): cns/restserver/api.go#L800
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, ubuntu-latest): cni/network/network.go#L421
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, ubuntu-latest)
issues found
Lint (1.21.x, windows-latest): cns/restserver/api.go#L803
Error return value of `nc.Create` is not checked (errcheck)
Lint (1.21.x, windows-latest): cns/networkcontainers/networkcontainers.go#L66
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): cns/networkcontainers/networkcontainers_windows.go#L36
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): cns/networkcontainers/networkcontainers_windows.go#L38
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): cns/restserver/api.go#L794
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): cns/restserver/api.go#L800
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): network/endpoint_windows.go#L415
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest): cni/network/network.go#L421
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
Lint (1.21.x, windows-latest)
issues found
Lint (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
Lint (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum