Patch malicious tarballs directory traversal vuln (#7057) #21597
Annotations
10 errors and 10 warnings
pkg/git/factory/gitfactory.go#L35
cyclomatic complexity 12 of func `Build` is high (> 10) (gocyclo)
|
pkg/git/factory/gitfactory.go#L26
exported: exported type GitTools should have comment or be unexported (revive)
|
pkg/git/factory/gitfactory.go#L33
exported: exported type GitToolsOpt should have comment or be unexported (revive)
|
pkg/git/factory/gitfactory.go#L130
exported: exported function WithRepositoryDirectory should have comment or be unexported (revive)
|
pkg/git/factory/gitfactory.go#L37
var-naming: var repoUrl should be repoURL (revive)
|
pkg/git/factory/gitfactory.go#L98
var-naming: func parameter repoUrl should be repoURL (revive)
|
pkg/providers/snow/reconciler/reconciler.go#L21
exported: exported type CNIReconciler should have comment or be unexported (revive)
|
pkg/providers/snow/reconciler/reconciler.go#L25
exported: exported type RemoteClientRegistry should have comment or be unexported (revive)
|
pkg/providers/snow/reconciler/clientbuilder.go#L87
var-naming: func parseIpConfiguration should be parseIPConfiguration (revive)
|
pkg/providers/snow/reconciler/credentials.go#L12
exported: exported const BoostrapSecretName should have comment or be unexported (revive)
|
pkg/tar/walker.go#L11
exported: exported function NewFolderWalker should have comment or be unexported (revive)
|
pkg/tar/walker.go#L18
exported: exported type FolderWalker should have comment or be unexported (revive)
|
pkg/tar/walker.go#L22
exported: exported method FolderWalker.Walk should have comment or be unexported (revive)
|
pkg/tar/gzip.go#L9
exported: exported function GzipTarFolder should have comment or be unexported (revive)
|
pkg/tar/tar.go#L10
exported: exported function TarFolder should have comment or be unexported (revive)
|
pkg/tar/packager.go#L3
exported: exported type Packager should have comment or be unexported (revive)
|
pkg/tar/router.go#L15
exported: exported type FolderRouter should have comment or be unexported (revive)
|
pkg/tar/gzip_packager.go#L3
exported: exported type GzipPackager should have comment or be unexported (revive)
|
pkg/tar/untar.go#L11
exported: exported function UntarFile should have comment or be unexported (revive)
|
pkg/tar/gzip.go#L25
exported: exported function UnGzipTarFile should have comment or be unexported (revive)
|
The logs for this run have expired and are no longer available.
Loading