concourse / concourse

Audit the random number generation source (rand) GSC-G404
Security
Minor
1 occurrence in this check
Use of weak random number generator (math/rand instead of crypto/rand)
123
124func setReleaseNameAndNamespace(description string) {
125	rand.Seed(time.Now().UTC().UnixNano())
126	releaseName = fmt.Sprintf("topgun-"+description+"-%d", rand.Int63n(100000000))127	namespace = releaseName
128}
129