=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== cadvisor-0.37.0+ds1/build/check_errorf.sh-19-for FILE in ${GO_FILES}; do cadvisor-0.37.0+ds1/build/check_errorf.sh:20: ERRS=`grep 'fmt.Errorf("[A-Z]' ${FILE}` cadvisor-0.37.0+ds1/build/check_errorf.sh-21- if [ $? -eq 0 ] ############################################## cadvisor-0.37.0+ds1/docs/development/releasing.md-83-- Body should start with release notes (from CHANGELOG.md) cadvisor-0.37.0+ds1/docs/development/releasing.md:84:- Next is the Docker image: `google/cadvisor:$VERSION` cadvisor-0.37.0+ds1/docs/development/releasing.md-85-- Next are the binary hashes (from step 3) ############################################## cadvisor-0.37.0+ds1/manager/container.go-51-// Memory has been chosen, as it is one of the default cgroups that is enabled for most containers. cadvisor-0.37.0+ds1/manager/container.go:52:var cgroupPathRegExp = regexp.MustCompile(`memory[^:]*:(.*?)[,;$]`) cadvisor-0.37.0+ds1/manager/container.go-53- ############################################## cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/README.md-29- cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/README.md:30:To make an edit, first look for the endpoint you want to edit under `paths`, then make the required edits. Endpoints may reference reusable objects with `$ref`, which can be found in the `definitions` section. cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/README.md-31- ############################################## cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml-4033- cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml:4034: If the path is omitted, the daemon searches the host's `$PATH` for the cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml-4035- binary and uses the first result. ############################################## cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml-4304- cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml:4305: If the path is omitted, the daemon searches the host's `$PATH` for the cadvisor-0.37.0+ds1/debian/vendor/github.com/docker/docker/api/swagger.yaml-4306- binary and uses the first result. ############################################## cadvisor-0.37.0+ds1/debian/vendor/k8s.io/klog/v2/RELEASE.md-6-1. All [OWNERS](OWNERS) must LGTM this release cadvisor-0.37.0+ds1/debian/vendor/k8s.io/klog/v2/RELEASE.md:7:1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` cadvisor-0.37.0+ds1/debian/vendor/k8s.io/klog/v2/RELEASE.md-8-1. The release issue is closed cadvisor-0.37.0+ds1/debian/vendor/k8s.io/klog/v2/RELEASE.md:9:1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` ############################################## cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-134- // https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-5.1 cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go:135: cmdLine := `$PWord = ConvertTo-SecureString -String $Env:smbpassword -AsPlainText -Force` + cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go:136: `;$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Env:smbuser, $PWord` + cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go:137: `;New-SmbGlobalMapping -RemotePath $Env:smbremotepath -Credential $Credential` cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-138- cmd := exec.Command("powershell", "/c", cmdLine) ############################################## cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-149-func isSMBMappingExist(remotepath string) bool { cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go:150: cmd := exec.Command("powershell", "/c", `Get-SmbGlobalMapping -RemotePath $Env:smbremotepath`) cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-151- cmd.Env = append(os.Environ(), fmt.Sprintf("smbremotepath=%s", remotepath)) ############################################## cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-157-func removeSMBMapping(remotepath string) (string, error) { cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go:158: cmd := exec.Command("powershell", "/c", `Remove-SmbGlobalMapping -RemotePath $Env:smbremotepath -Force`) cadvisor-0.37.0+ds1/debian/vendor/k8s.io/utils/mount/mount_windows.go-159- cmd.Env = append(os.Environ(), fmt.Sprintf("smbremotepath=%s", remotepath))