We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00188dd commit fe79afdCopy full SHA for fe79afd
1 file changed
dev-tools/security/detect_secrets.py
@@ -55,9 +55,9 @@ def detect_secrets(source_dir: str = "src") -> bool:
55
56
if found_secrets:
57
logger.error("Potential hardcoded secrets found:")
58
- for secret in found_secrets:
+ for secret_finding in found_secrets:
59
# Security: Don't log the actual secret content, only the location
60
- location = secret.split(":")[0] if ":" in secret else "unknown location"
+ location = secret_finding.split(":")[0] if ":" in secret_finding else "unknown location"
61
logger.error(f" Secret detected at: {location}")
62
return False
63
else:
0 commit comments