github / github/codeql

LGTM.com - false positive from go/hardcoded-credentials

Open
#9,312 3 comments 0 reactions 1 assignee Claimed by @max-schaefer View on GitHub
acknowledged backlog false-positive Go
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

go/hardcoded-credentials triggers on non-secret names of Google Cloud secrets, if the name contains the term 'Secret'. These are basically well-known keys; it's the values owned by the Secrets system's KV store that are actually secret.

Reproduce this by going to
https://lgtm.com/query/2938151591646296588/
and running it on
https://github.com/knative/pkg

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.