Skip to content

Add SaladCloud API Key detector #7703

Add SaladCloud API Key detector

Add SaladCloud API Key detector #7703

Re-run triggered October 11, 2024 03:40
Status Failure
Total duration 4m 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
golangci-lint: pkg/detectors/saladcloudapikey/saladcloudapikey.go#L21
cannot use (*Scanner)(nil) (value of type *Scanner) as detectors.Detector value in variable declaration: *Scanner does not implement detectors.Detector (missing method Description) (typecheck)
golangci-lint: main.go#L457
metrics.ChunksScanned undefined (type metrics has no field or method ChunksScanned) (typecheck)
golangci-lint: main.go#L458
metrics.BytesScanned undefined (type metrics has no field or method BytesScanned) (typecheck)
golangci-lint: main.go#L459
metrics.VerifiedSecretsFound undefined (type metrics has no field or method VerifiedSecretsFound) (typecheck)
golangci-lint: main.go#L460
metrics.UnverifiedSecretsFound undefined (type metrics has no field or method UnverifiedSecretsFound) (typecheck)
golangci-lint: main.go#L461
metrics.ScanDuration undefined (type metrics has no field or method ScanDuration) (typecheck)
golangci-lint: pkg/engine/defaults.go#L592
could not import github.com/trufflesecurity/trufflehog/v3/pkg/detectors/saladcloudapikey (-: # github.com/trufflesecurity/trufflehog/v3/pkg/detectors/saladcloudapikey
golangci-lint: pkg/detectors/saladcloudapikey/saladcloudapikey.go#L21
cannot use (*Scanner)(nil) (value of type *Scanner) as detectors.Detector value in variable declaration: *Scanner does not implement detectors.Detector (missing method Description)) (typecheck)
golangci-lint
issues found
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/trufflehog/trufflehog. Supported file pattern: go.sum