add support for rules download in cli mode #342
Annotations
10 errors and 1 warning
lint:
pkg/server/grpc.go#L145
captLocal: `ExtractorConfig' should not be capitalized (gocritic)
|
lint:
pkg/server/grpc.go#L147
captLocal: `ScanMap' should not be capitalized (gocritic)
|
lint:
pkg/server/grpc.go#L198
captLocal: `InactiveThreshold' should not be capitalized (gocritic)
|
lint:
pkg/server/grpc.go#L30
var `cntnrPathPrefixRegexObj` is unused (unused)
|
lint:
pkg/threatintel/utils.go#L33
Error return value of `file.WriteString` is not checked (errcheck)
|
lint:
pkg/threatintel/utils.go#L48
Error return value of `r.WriteSource` is not checked (errcheck)
|
lint:
pkg/scan/process_image.go#L25
var `execMimeTypes` is unused (unused)
|
lint:
pkg/scan/process_image.go#L26
var `sharedMimeTypesList` is unused (unused)
|
lint:
pkg/scan/process_image.go#L30
type `manifestItem` is unused (unused)
|
lint:
pkg/scan/process_image.go#L76
func `isSharedLibrary` is unused (unused)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|